00001 #ifndef RootEventData_TMucMc_H 00002 #define RootEventData_TMucMc_H 1 00003 00004 #include "TObject.h" 00005 //#include <vector> 00006 //using namespace std; 00007 00008 class TMucMc : public TObject { 00009 00010 public: 00011 00012 TMucMc(); 00013 ~TMucMc(); 00014 //Get 00015 // Get associated id 00016 UInt_t getId() const {return m_id;} 00017 00018 // Get the associated track id 00019 UInt_t getTrackIndex() const {return m_trackIndex; } 00020 00021 // Get the position x 00022 Double_t getPositionX() const {return m_xPosition;} 00023 00024 // Get the position y 00025 Double_t getPositionY() const {return m_yPosition;} 00026 00027 // Get the position z 00028 Double_t getPositionZ() const {return m_zPosition;} 00029 00030 // Get momentum Px 00031 Double_t getPx() const {return m_px ;} 00032 00033 // Get momentum Py 00034 Double_t getPy() const {return m_py ;} 00035 00036 // Get momentum Pz 00037 Double_t getPz() const {return m_pz ;} 00038 00039 //Set 00040 void setId(UInt_t id) {m_id = id ;} 00041 void setTrackIndex(UInt_t trackIndex){ m_trackIndex = trackIndex;} 00042 void setPositionX(Double_t positionX) {m_xPosition = positionX;} 00043 void setPositionY(Double_t positionY) {m_yPosition = positionY;} 00044 void setPositionZ(Double_t positionZ) {m_zPosition = positionZ;} 00045 void setPx(Double_t px) {m_px = px;} 00046 void setPy(Double_t py) {m_py = py;} 00047 void setPz(Double_t pz) {m_pz = pz;} 00048 00049 private: 00050 UInt_t m_id; 00051 00052 UInt_t m_trackIndex; 00053 00054 Double_t m_xPosition; 00055 00056 Double_t m_yPosition; 00057 00058 Double_t m_zPosition; 00059 00060 Double_t m_px; 00061 00062 Double_t m_py; 00063 00064 Double_t m_pz; 00065 00066 Double_t m_depositEnergy; 00067 00068 ClassDef(TMucMc,1) 00069 }; 00070 00071 00072 #endif //TrackRootData_TMucMc_H 00073