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
|
Go to the documentation of this file.
19 , mScatteredIndex(-1) {
27 for (
unsigned i(0); i <
particles.size(); ++i) {
68 std::vector<const erhic::VirtualParticle*> tracks;
82 "x: " <<
GetX() << std::endl <<
83 "Q2: " <<
GetQ2() << std::endl <<
84 "y: " <<
GetY() << std::endl;
virtual UInt_t GetNTracks() const
Returns the number of tracks in the event.
virtual void AddLast(ParticleMCS *particle)
Add a new track to the end of the track list.
std::vector< const erhic::VirtualParticle * > ParticlePtrList
typedef for a track pointer collection.
Event()
Default constructor.
virtual void SetScattered(int index)
Set which particle is the scattered lepton.
virtual const ParticleMCS * GetTrack(UInt_t) const
Returns the nth track.
virtual ~Event()
Destructor.
std::vector< ParticleMCS * > particles
The smeared particle list.
virtual void Print(Option_t *="") const
Prints the attributes of this event to standard output.
std::vector< const erhic::VirtualParticle * > GetTracks() const
Returns a vector of pointers to all tracks in the event.
A smeared Monte Carlo particle.
virtual Double_t GetX() const
Returns Bjorken-x of the event.
void HadronicFinalState(ParticlePtrList &) const
Yields all particles that belong to the hadronic final state.
virtual void Print(Option_t *="") const
Prints the attributes of this particle to standard output.
virtual void Reset()
Clear the particle list, sets event properties to default values.
virtual const ParticleMCS * ScatteredLepton() const
Returns a pointer to the lepton beam particle after scattering.
virtual void ClearParticles()
Clears particle array, leaves event variables unchanged.
virtual Double_t GetQ2() const
Returns the four-momentum transfer (exchange boson mass) Q2.
virtual Double_t GetY() const
Returns the event inelasticity.