|
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
|
Abstract base class for a physics event. More...
#include <VirtualEvent.h>
Public Types | |
| typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
| typedef for a track pointer collection. More... | |
Public Member Functions | |
| virtual | ~VirtualEvent () |
| Destructor. More... | |
| virtual const VirtualParticle * | GetTrack (UInt_t) const =0 |
| Returns the nth track from the event. More... | |
| virtual VirtualParticle * | GetTrack (UInt_t)=0 |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| virtual UInt_t | GetNTracks () const =0 |
| Returns the number of tracks in the event. More... | |
| virtual void | HadronicFinalState (ParticlePtrList &) const |
| Populate a track list with the hadronic final-state. More... | |
Abstract base class for a physics event.
Defines an "event" simply as a collection of tracks.
Definition at line 25 of file VirtualEvent.h.
| typedef std::vector<const erhic::VirtualParticle*> erhic::VirtualEvent::ParticlePtrList |
typedef for a track pointer collection.
Definition at line 52 of file VirtualEvent.h.
|
inlinevirtual |
Destructor.
Definition at line 30 of file VirtualEvent.h.
|
pure virtual |
Returns the number of tracks in the event.
Implemented in erhic::EventMC, erhic::hadronic::EventMC, Smear::Event, and erhic::hadronic::EventSmear.
|
pure virtual |
Returns the nth track from the event.
Indices run from 0 to (n-1).
Implemented in erhic::EventMC, Smear::Event, erhic::hadronic::EventMC, and erhic::hadronic::EventSmear.
|
pure virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implemented in erhic::EventMC, Smear::Event, erhic::hadronic::EventMC, and erhic::hadronic::EventSmear.
|
inlinevirtual |
Populate a track list with the hadronic final-state.
Reimplemented in erhic::EventMC, and Smear::Event.
Definition at line 57 of file VirtualEvent.h.