eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
hadronic/EventMC.h
Go to the documentation of this file.
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
17
#include <
eicsmear/hadronic/ParticleMC.h
>
18
#include "
eicsmear/erhic/VirtualEvent.h
"
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_
erhic::hadronic::EventMC::~EventMC
virtual ~EventMC()
Destructor.
Definition:
hadronic/EventMC.cxx:17
VirtualEvent.h
erhic
Definition:
EventDis.cxx:14
erhic::hadronic::EventMC::EventMC
EventMC()
Constructor.
Definition:
hadronic/EventMC.cxx:21
erhic::VirtualEvent
Abstract base class for a physics event.
Definition:
VirtualEvent.h:25
erhic::hadronic::EventMC::GetTrack
virtual const ParticleMC * GetTrack(UInt_t) const
Returns the nth track from the event.
Definition:
hadronic/EventMC.cxx:29
ParticleMC.h
erhic::hadronic::ParticleMC
A realisation of erhic::VirtualParticle for tracks from a hadron-hadron Monte Carlo event.
Definition:
hadronic/ParticleMC.h:30
erhic::hadronic::EventMC::mTracks
TClonesArray mTracks
Definition:
hadronic/EventMC.h:76
erhic::hadronic::EventMC::Add
virtual UInt_t Add(ParticleMC *particle)
Add a track to the list.
Definition:
hadronic/EventMC.cxx:41
erhic::hadronic::EventMC
A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event.
Definition:
hadronic/EventMC.h:29
erhic::hadronic::EventMC::GetCentreOfMassEnergy
virtual Double_t GetCentreOfMassEnergy() const
Returns the centre-of-mass energy of the event (GeV)
Definition:
hadronic/EventMC.cxx:46
erhic::hadronic::EventMC::GetNTracks
virtual UInt_t GetNTracks() const
Returns the number of tracks in the event.
Definition:
hadronic/EventMC.cxx:37
erhic::hadronic::EventMC::Clear
virtual void Clear(Option_t *="")
Clear the track list.
Definition:
hadronic/EventMC.cxx:25
include
eicsmear
hadronic
EventMC.h
Generated on Fri Jan 31 2020 15:11:33 for eic-smear by
1.8.17