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

Go to the documentation of this file.
00001 #ifndef TMcHitEvent_H
00002 #define TMcHitEvent_H
00003 
00004 #include "TObject.h"
00005 #include "TClonesArray.h"
00006 #include "TObjArray.h"
00007 
00008 #include "TMcHitTof.h"
00009 #include "TMcHitMdc.h"
00010 #include "TMcDigiEmc.h"
00011 
00012 class TMcHitEvent: public TObject {
00013 public:
00014 
00015     TMcHitEvent();
00016     virtual ~TMcHitEvent();
00017 
00018     void Clear(Option_t *option="");
00019  
00020     void Print(Option_t *option="") const;
00021 
00023    const TObjArray* getMcHitTofCol() const { return m_tTofMcHitCol; };
00024 
00026    void addMcHitTof( TMcHitTof * hit);
00027 
00029    const  TMcHitTof*  getMcHitTof(Int_t i) const;
00030 
00032    const TObjArray* getMcHitMdcCol() const { return m_tMdcMcHitCol; };
00033 
00035    void addMcHitMdc( TMcHitMdc * hit);
00036 
00038    const  TMcHitMdc*  getMcHitMdc(Int_t i) const;
00039 
00041    const TObjArray* getMcDigiEmcCol() const { return m_tEmcMcDigiCol; };
00042 
00044    void addMcDigiEmc( TMcDigiEmc * digi);
00045 
00047    const  TMcDigiEmc*  getMcDigiEmc(Int_t i) const;
00048 
00049    void setBeamTime(Double_t time){m_beamTime = time;}
00050    Double_t getBeamTime() const {return m_beamTime;}
00051 
00052 private:
00053 
00055     TObjArray* m_tTofMcHitCol; //->
00057     TObjArray* m_tMdcMcHitCol; //->
00059     TObjArray* m_tEmcMcDigiCol; //->
00060      
00061     Double_t m_beamTime;
00062 
00063 
00064     ClassDef(TMcHitEvent,4) // Storage for Raw(Digi) event and subsystem data
00065 }; 
00066  
00067 #endif
00068 
00069 
00070 
00071 
00072 

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