EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventMC.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventMC.h
1 
10 #ifndef INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
11 #define INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
12 
13 #include <vector>
14 
15 #include <TClonesArray.h>
16 
19 
20 namespace erhic {
21 namespace hadronic {
22 
23 class ParticleMC;
24 
29 class EventMC : public erhic::VirtualEvent {
30  public:
34  virtual ~EventMC();
35 
39  EventMC();
40 
45  virtual const ParticleMC* GetTrack(UInt_t) const;
46 
51  virtual ParticleMC* GetTrack(UInt_t);
52 
56  virtual UInt_t GetNTracks() const;
57 
63  virtual UInt_t Add(ParticleMC* particle);
64 
68  virtual Double_t GetCentreOfMassEnergy() const;
69 
73  virtual void Clear(Option_t* = "");
74 
75  protected:
76  TClonesArray mTracks;
77 
78  ClassDef(erhic::hadronic::EventMC, 1)
79 };
80 
81 } // namespace hadronic
82 } // namespace erhic
83 
84 #endif // INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_