00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef StTofMCHit_hh
00035 #define StTofMCHit_hh
00036
00037 #include <Stiostream.h>
00038 #include "StTofHit.h"
00039
00040 class StTofMCHit : public StTofHit {
00041 public:
00042 StTofMCHit();
00043 ~StTofMCHit();
00044
00045 int trkId() const;
00046 int gId() const;
00047
00048 void setTrkId(Int_t);
00049 void setGId(Int_t);
00050
00051 protected:
00052 Int_t mTrkId;
00053 Int_t mGId;
00054
00055 ClassDef(StTofMCHit,2)
00056 };
00057
00058 inline void
00059 StTofMCHit::setTrkId(int trkId)
00060 {
00061 mTrkId = trkId;
00062 }
00063
00064 inline void
00065 StTofMCHit::setGId(int gId)
00066 {
00067 mGId = gId;
00068 }
00069
00070 inline int
00071 StTofMCHit::trkId() const
00072 {
00073 return mTrkId;
00074 }
00075
00076 inline int
00077 StTofMCHit::gId() const
00078 {
00079 return mGId;
00080 }
00081
00082
00083 ostream& operator<<(ostream&, const StTofMCHit&);
00084
00085 #endif