00001 #ifndef DigiRootData_TMcDigiEmc_H 00002 #define DigiRootData_TMcDigiEmc_H 1 00003 00004 #include "TObject.h" 00005 #include "TString.h" 00006 #include "TVector3.h" 00007 00008 class TMcDigiEmc: public TObject { 00009 00010 public: 00011 00012 TMcDigiEmc(); 00013 00014 ~TMcDigiEmc (); 00015 00016 void SetPartId(Int_t id) { m_partId = id; } ; 00017 void SetThetaNb(Int_t nTheta) { m_nTheta = nTheta; }; 00018 void SetPhiNb(Int_t nPhi) { m_nPhi = nPhi; }; 00019 void SetEnergy(Double_t energy) { m_energy = energy; }; 00020 void SetTime(Double_t time) { m_time = time;}; 00021 void SetTrackIndex(Int_t index) { m_trackIndex = index; }; 00022 //void SetWaveform(BesEmcWaveform* wave) { digiWaveform = wave; }; 00023 00024 Int_t GetPartId() const {return m_partId;}; 00025 Int_t GetThetaNb() const { return m_nTheta;}; 00026 Int_t GetPhiNb() const { return m_nPhi; }; 00027 Double_t GetEnergy() const { return m_energy; }; 00028 Double_t GetTime() const { return m_time; }; 00029 Int_t GetTrackIndex() const { return m_trackIndex; }; 00030 //BesEmcWaveform* GetWaveform(){ return digiWaveform; }; 00031 00032 00033 private: 00034 //BesEmcWaveform* digiWaveform; 00035 Int_t m_partId; 00036 Int_t m_nTheta; 00037 Int_t m_nPhi; 00038 Double_t m_energy; 00039 Double_t m_time; 00040 Int_t m_trackIndex; 00041 00042 ClassDef(TMcDigiEmc,1) 00043 }; 00044 00045 #endif