StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StRichPhotonInfo.h
1 
5 /***************************************************************************
6  *
7  * $Id: StRichPhotonInfo.h,v 2.6 2004/07/15 16:36:25 ullrich Exp $
8  *
9  * Author: Brian Lasiuk, Nov 2000
10  ***************************************************************************
11  *
12  * Description: Definition of the persistent Photon Info object
13  *
14  ***************************************************************************
15  *
16  * $Log: StRichPhotonInfo.h,v $
17  * Revision 2.6 2004/07/15 16:36:25 ullrich
18  * Removed all clone() declerations and definitions. Use StObject::clone() only.
19  *
20  * Revision 2.5 2003/09/02 17:58:05 perev
21  * gcc 3.2 updates + WarnOff
22  *
23  * Revision 2.4 2002/02/22 22:56:49 jeromel
24  * Doxygen basic documentation in all header files. None of this is required
25  * for QM production.
26  *
27  * Revision 2.3 2001/04/05 04:00:40 ullrich
28  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
29  *
30  * Revision 2.2 2001/03/24 03:34:56 perev
31  * clone() -> clone() const
32  *
33  * Revision 2.1 2000/11/25 11:51:01 lasiuk
34  * Initial Revision
35  *
36  **************************************************************************/
37 #ifndef StRichPhotonInfo_hh
38 #define StRichPhotonInfo_hh
39 
40 #include <Stiostream.h>
41 
42 #include "StObject.h"
43 
44 #include "StEnumerations.h"
45 
46 class StRichPhotonInfo : public StObject {
47 public:
49  StRichPhotonInfo(double, double, double);
50 
51  virtual ~StRichPhotonInfo();
52  //StRichPhotonInfo(const StRichPhotonInfo&){ /* nopt */ }
53  //StRichPhotonInfo& operator=(const StRichPhotonInfo&){/* nopt */}
54 
55  void setD(float);
56  void setSigma(float);
57  void setAzimuth(float);
58 
59  float d() const;
60  float sigma() const;
61  float azimuth() const;
62 
63 protected:
64  Float_t mD;
65  Float_t mSigma;
66  Float_t mAzimuth;
67 
68  ClassDef(StRichPhotonInfo,1)
69 };
70 
71 inline void StRichPhotonInfo::setD(float d) {mD = d;}
72 inline void StRichPhotonInfo::setSigma(float s) {mSigma = s;}
73 inline void StRichPhotonInfo::setAzimuth(float psi) {mAzimuth = psi;}
74 
75 inline float StRichPhotonInfo::d() const {return mD;}
76 inline float StRichPhotonInfo::sigma() const {return mSigma;}
77 inline float StRichPhotonInfo::azimuth() const {return mAzimuth;}
78 
79 //non-members
80 ostream& operator<<(ostream& os, const StRichPhotonInfo& hit);
81 
82 #endif