File indexing completed on 2024-11-16 09:02:06
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
0011 #define INCLUDE_EICSMEAR_HADRONIC_EVENTMC_H_
0012
0013 #include <vector>
0014
0015 #include <TClonesArray.h>
0016
0017 #include <eicsmear/hadronic/ParticleMC.h>
0018 #include "eicsmear/erhic/VirtualEvent.h"
0019
0020 namespace erhic {
0021 namespace hadronic {
0022
0023 class ParticleMC;
0024
0025
0026
0027
0028
0029 class EventMC : public erhic::VirtualEvent {
0030 public:
0031
0032
0033
0034 virtual ~EventMC();
0035
0036
0037
0038
0039 EventMC();
0040
0041
0042
0043
0044
0045 virtual const ParticleMC* GetTrack(UInt_t) const;
0046
0047
0048
0049
0050
0051 virtual ParticleMC* GetTrack(UInt_t);
0052
0053
0054
0055
0056 virtual UInt_t GetNTracks() const;
0057
0058
0059
0060
0061
0062
0063 virtual UInt_t Add(ParticleMC* particle);
0064
0065
0066
0067
0068 virtual Double_t GetCentreOfMassEnergy() const;
0069
0070
0071
0072
0073 virtual void Clear(Option_t* = "");
0074
0075 protected:
0076 TClonesArray mTracks;
0077
0078 ClassDef(erhic::hadronic::EventMC, 1)
0079 };
0080
0081 }
0082 }
0083
0084 #endif