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.
10 #ifndef INCLUDE_EICSMEAR_SMEAR_EVENTSMEAR_H_
11 #define INCLUDE_EICSMEAR_SMEAR_EVENTSMEAR_H_
72 virtual void SetX(
double xB) {
x = xB; }
74 virtual void SetY(
double inelasticity) {
y = inelasticity; }
78 virtual void SetNu(
double Nu) {
nu = Nu; }
140 std::vector<const erhic::VirtualParticle*>
GetTracks()
const;
151 virtual void Print(Option_t* =
"")
const;
189 #endif // INCLUDE_EICSMEAR_SMEAR_EVENTSMEAR_H_
Double32_t WSquared
Invariant mass of the hadronic system.
virtual UInt_t GetNTracks() const
Returns the number of tracks in the event.
Double32_t QSquared
Q2 calculated from scattered electron.
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.
virtual void SetNu(double Nu)
Event()
Default constructor.
virtual void SetY(double inelasticity)
virtual const ParticleMCS * BeamHadron() const
Returns a pointer to the incident hadron beam particle.
virtual void SetScattered(int index)
Set which particle is the scattered lepton.
virtual const ParticleMCS * ExchangeBoson() const
Returns a pointer to the exchanged boson.
virtual void SetW2(double W2)
virtual const ParticleMCS * BeamLepton() const
Returns a pointer to the incident lepton beam particle.
virtual const ParticleMCS * GetTrack(UInt_t) const
Returns the nth track.
virtual ~Event()
Destructor.
Int_t nTracks
Number of particles (intermediate + final)
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.
virtual void SetX(double xB)
Double32_t nu
Energy transfer from the electron.
A deeply inelastic scattering event.
A smeared Monte Carlo particle.
Double32_t x
Bjorken scaling variable.
void HadronicFinalState(ParticlePtrList &) const
Yields all particles that belong to the hadronic final state.
virtual void Reset()
Clear the particle list, sets event properties to default values.
Double32_t y
Inelasticity.
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 void SetQ2(double Q2)