00001 #ifndef StMuTofHit_hh
00002 #define StMuTofHit_hh
00003
00004 #include <sstream>
00005 #include "StObject.h"
00006 #include "StThreeVectorF.hh"
00007
00008
00009
00010
00011 class StMuTofHit : public StObject {
00012 public:
00013 StMuTofHit();
00014
00015
00016
00017 ~StMuTofHit();
00018
00019 int Iconf() const;
00020 int trayIndex() const;
00021 int moduleIndex() const;
00022 int cellIndex() const;
00023 int daqIndex() const;
00024 int adc() const;
00025 float timeOfFlight() const;
00026 float pathLength() const;
00027 float beta() const;
00028
00029 int associatedTrackId() const;
00030 StThreeVectorF projectedPoint() const;
00031
00032
00033 float tofExpectedAsElectron() const;
00034 float tofExpectedAsPion() const;
00035 float tofExpectedAsKaon() const;
00036 float tofExpectedAsProton() const;
00037
00038 float sigmaElectron() const;
00039 float sigmaPion() const;
00040 float sigmaKaon() const;
00041 float sigmaProton() const;
00042
00043 int particleHypothesis() const;
00044
00045
00046
00047
00048 void setIconf(int);
00049 void setTrayIndex(int);
00050 void setModuleIndex(int);
00051 void setCellIndex(int);
00052 void setDaqIndex(int);
00053 void setADC(int);
00054 void setTimeOfFlight(float);
00055 void setPathLength(float);
00056 void setBeta(float);
00057
00058 void setAssociatedTrackId(int);
00059 void setProjectedPoint(const StThreeVectorF&);
00060 void settofExpectedAsElectron(float);
00061 void settofExpectedAsPion(float);
00062 void settofExpectedAsKaon(float);
00063 void settofExpectedAsProton(float);
00064 void setsigmaElectron(float);
00065 void setsigmaPion(float);
00066 void setsigmaKaon(float);
00067 void setsigmaProton(float);
00068
00069 void setparticleHypothesis(int);
00070
00071
00072 protected:
00073 Int_t mIconf;
00074 Int_t mTrayIndex;
00075 Int_t mModuleIndex;
00076 Int_t mCellIndex;
00077 Int_t mDaqIndex;
00078 Int_t mADC;
00079 Float_t mTimeOfFlight;
00080 Float_t mPathLength;
00081 Float_t mBeta;
00082
00083 Int_t mAssociatedTrackId;
00084 StThreeVectorF mProjectedPoint;
00085 Float_t mTOFExpectedAsElectron;
00086 Float_t mTOFExpectedAsPion;
00087 Float_t mTOFExpectedAsKaon;
00088 Float_t mTOFExpectedAsProton;
00089 Float_t mSigmaElectron;
00090 Float_t mSigmaPion;
00091 Float_t mSigmaKaon;
00092 Float_t mSigmaProton;
00093
00094 Int_t mParticleHypothesis;
00095
00096 ClassDef(StMuTofHit,1)
00097 };
00098
00099 #endif