EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VirtualEvent.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file VirtualEvent.h
1 
10 #ifndef INCLUDE_EICSMEAR_ERHIC_VIRTUALEVENT_H_
11 #define INCLUDE_EICSMEAR_ERHIC_VIRTUALEVENT_H_
12 
13 #include <TObject.h>
14 
15 #include <vector>
16 
17 namespace erhic {
18 
19 class VirtualParticle;
20 
25 class VirtualEvent : public TObject {
26  public:
30  virtual ~VirtualEvent() { }
31 
37  virtual const VirtualParticle* GetTrack(UInt_t /* number */) const = 0;
38 
42  virtual VirtualParticle* GetTrack(UInt_t /*number*/) = 0;
43 
47  virtual UInt_t GetNTracks() const = 0;
48 
52  typedef std::vector<const erhic::VirtualParticle*> ParticlePtrList;
53 
60  virtual void HadronicFinalState(ParticlePtrList&) const { }
61 
62  ClassDef(erhic::VirtualEvent, 1)
63 };
64 
65 } // namespace erhic
66 
67 #endif // INCLUDE_EICSMEAR_ERHIC_VIRTUALEVENT_H_