/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootEventData/RootEventData-00-03-80/RootEventData/TMdcMc.h

Go to the documentation of this file.
00001 #ifndef RootEventData_TMdcMc_H
00002 #define RootEventData_TMdcMc_H 1
00003 
00004 #include "TObject.h"
00005 //#include <vector>
00006 //using namespace std;
00007 
00008 class TMdcMc : public TObject {
00009 
00010 public:
00011     
00012    TMdcMc();
00013    ~TMdcMc();
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 Drift Distance 
00031   Double_t getDriftDistance() const {return m_driftDistance;}
00032   
00033   // Get the total deposited energy 
00034   Double_t getDepositEnergy() const {return m_depositEnergy;}
00035 
00036     // Get the position flag
00037   Int_t getPositionFlag() const {return m_posFlag; }
00038 
00039 
00040 
00041 
00042 //Set
00043   void setId(UInt_t id) {m_id = id ;}
00044   void setTrackIndex(UInt_t trackIndex){ m_trackIndex = trackIndex;}
00045   void setPositionX(Double_t positionX) {m_xPosition = positionX;}
00046   void setPositionY(Double_t positionY) {m_yPosition = positionY;}
00047   void setPositionZ(Double_t positionZ) {m_zPosition = positionZ;}
00048   void setDriftDistance(Double_t driftDistance){m_driftDistance = driftDistance;}
00049   void setDepositEnergy(Double_t depositEnergy) {m_depositEnergy = depositEnergy;}
00050   void setPositionFlag(Int_t posFlag) { m_posFlag = posFlag; }
00051 
00052 private:
00053 
00054   UInt_t m_id; 
00055 
00056   UInt_t m_trackIndex;
00057 
00058   Double_t m_xPosition;
00059 
00060   Double_t m_yPosition;
00061 
00062   Double_t m_zPosition;
00063 
00064   Double_t m_driftDistance ;
00065 
00066   Double_t m_depositEnergy;
00067 
00068   Int_t m_posFlag;
00069 
00070     ClassDef(TMdcMc,1)
00071 };
00072 
00073 
00074 #endif //TrackRootData_TMdcMc_H
00075 

Generated on Tue Nov 29 23:11:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7