StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuTofHit.h
1 #ifndef StMuTofHit_hh
2 #define StMuTofHit_hh
3 
4 #include <sstream>
5 #include "StObject.h"
6 #include "StThreeVectorF.hh"
7 //#include "StarClassLibrary/StParticleDefinition.hh"
8 
9 //class StTrack;
10 
11 class StMuTofHit : public StObject {
12 public:
13  StMuTofHit();
14 
15  //StMuTofHit(const StMuTofHit&);
16  //StMuTofHit& operator=(const StMuTofHit&);
17  ~StMuTofHit();
18 
19  int Iconf() const;
20  int trayIndex() const;
21  int moduleIndex() const;
22  int cellIndex() const;
23  int daqIndex() const;
24  int adc() const;
25  float timeOfFlight() const;
26  float pathLength() const;
27  float beta() const;
28 
29  int associatedTrackId() const;
30  StThreeVectorF projectedPoint() const;
31  // StTrack* associatedTrack();
32  // const StTrack* associatedTrack() const;
33  float tofExpectedAsElectron() const;
34  float tofExpectedAsPion() const;
35  float tofExpectedAsKaon() const;
36  float tofExpectedAsProton() const;
37 
38  float sigmaElectron() const;
39  float sigmaPion() const;
40  float sigmaKaon() const;
41  float sigmaProton() const;
42 
43  int particleHypothesis() const;
44  // StParticleDefinition* particleHypothesis();
45  // const StParticleDefinition* particleHypothesis() const;
46 
47 
48  void setIconf(int);
49  void setTrayIndex(int);
50  void setModuleIndex(int);
51  void setCellIndex(int);
52  void setDaqIndex(int);
53  void setADC(int);
54  void setTimeOfFlight(float);
55  void setPathLength(float);
56  void setBeta(float);
57  // void setAssociatedTrack(StTrack*);
58  void setAssociatedTrackId(int);
59  void setProjectedPoint(const StThreeVectorF&);
60  void settofExpectedAsElectron(float);
61  void settofExpectedAsPion(float);
62  void settofExpectedAsKaon(float);
63  void settofExpectedAsProton(float);
64  void setsigmaElectron(float);
65  void setsigmaPion(float);
66  void setsigmaKaon(float);
67  void setsigmaProton(float);
68 
69  void setparticleHypothesis(int);
70  // void setparticleHypothesis(StParticleDefinition*);
71 
72  protected:
73  Int_t mIconf;
74  Int_t mTrayIndex;
75  Int_t mModuleIndex;
76  Int_t mCellIndex;
77  Int_t mDaqIndex;
78  Int_t mADC;
79  Float_t mTimeOfFlight;
80  Float_t mPathLength;
81  Float_t mBeta;
82  // StTrack* mAssociatedTrack;
83  Int_t mAssociatedTrackId;
84  StThreeVectorF mProjectedPoint;
85  Float_t mTOFExpectedAsElectron;
86  Float_t mTOFExpectedAsPion;
87  Float_t mTOFExpectedAsKaon;
88  Float_t mTOFExpectedAsProton;
89  Float_t mSigmaElectron;
90  Float_t mSigmaPion;
91  Float_t mSigmaKaon;
92  Float_t mSigmaProton;
93  // StParticleDefinition* mParticleHypothesis;
94  Int_t mParticleHypothesis;
95 
96  ClassDef(StMuTofHit,1)
97 };
98 
99 #endif