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
erhic::EventDpmjet Class Reference

Describles the event from DPMJET. More...

#include <EventDpmjet.h>

Inheritance diagram for erhic::EventDpmjet:
erhic::EventMC erhic::EventDis erhic::VirtualEvent

Public Member Functions

virtual bool Parse (const std::string &)
 Parses the event information from a text string. More...
 
- Public Member Functions inherited from erhic::EventMC
 EventMC ()
 Constructor. More...
 
virtual ~EventMC ()
 Destructor. More...
 
virtual bool RequiresEaParticleFields ()
 
virtual ULong64_t GetN () const
 Returns a unique identifier for this event. More...
 
virtual Int_t GetProcess () const
 Returns a code describing the production process of this event. More...
 
virtual UInt_t GetNTracks () const
 Returns the number of tracks in the event. More...
 
virtual const ParticleMCGetTrack (UInt_t) const
 Returns the nth track. More...
 
virtual ParticleMCGetTrack (UInt_t)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual const ParticleMCBeamLepton () const
 Returns a pointer to the incident lepton beam particle. More...
 
virtual const ParticleMCBeamHadron () const
 Returns a pointer to the incident hadron beam particle. More...
 
virtual const ParticleMCExchangeBoson () const
 Returns a pointer to the exchanged boson. More...
 
virtual const ParticleMCScatteredLepton () const
 Returns a pointer to the lepton beam particle after scattering. More...
 
virtual void AddLast (ParticleMC *track)
 Add a copy of a track argument to the end of the track list. More...
 
virtual void Reset ()
 Resets event properties to defaults. More...
 
virtual void Clear (Option_t *="")
 Clears event contents. More...
 
virtual void SetProcess (int code)
 Sets the code describing the production process of this event. More...
 
virtual void SetN (int n)
 Sets the unique identifier for this event. More...
 
virtual void SetNTracks (int n)
 Sets the track count for this event. More...
 
virtual void SetELeptonInNuclearFrame (double energy)
 Set incident lepton energy in the nuclear rest frame. More...
 
virtual void SetEScatteredInNuclearFrame (double energy)
 Set scattered lepton energy in the nuclear rest frame. More...
 
void FinalState (ParticlePtrList &particles) const
 Stores pointers to all final state particles in the list. More...
 
void HadronicFinalState (ParticlePtrList &) const
 Yields all particles that belong to the hadronic final state. More...
 
TLorentzVector FinalStateMomentum () const
 Returns the total momentum of the final state in GeV/c. More...
 
TLorentzVector HadronicFinalStateMomentum () const
 Returns the total momentum of the hadronic final state in GeV/c. More...
 
Double_t FinalStateCharge () const
 Returns the total charge of the final state in units of e. More...
 
std::vector< const VirtualParticle * > GetTracks () const
 Returns pointers to all tracks in the event. More...
 
- Public Member Functions inherited from erhic::EventDis
virtual ~EventDis ()
 Destructor. More...
 
 EventDis ()
 Default constructor. More...
 
 EventDis (const EventDis &)
 Constructor copying another event's kinematics. More...
 
EventDisoperator= (const EventDis &)
 Assign another event's kinematics to this EventDis. More...
 
virtual Double_t GetX () const
 Returns Bjorken-x of the event. More...
 
virtual Double_t GetQ2 () const
 Returns the four-momentum transfer (exchange boson mass) Q2. More...
 
virtual Double_t GetY () const
 Returns the event inelasticity. More...
 
virtual Double_t GetYPlus () const
 Returns Y+ = y2 / (1 + (1-y)2) More...
 
virtual Double_t GetW2 () const
 Returns the invariant mass of the hadronic final state. More...
 
virtual Double_t GetNu () const
 Returns the exchange boson energy in the beam hadron rest frame. More...
 
virtual double GetXDoubleAngle () const
 Returns Bjorken x computed via the double-angle method. More...
 
virtual double GetQ2DoubleAngle () const
 Returns Q-squared computed via the double-angle method. More...
 
virtual double GetYDoubleAngle () const
 Returns inelasticity computed via the double-angle method. More...
 
virtual double GetW2DoubleAngle () const
 Returns W-squared computed via the double-angle method. More...
 
virtual double GetXJacquetBlondel () const
 Returns Bjorken x computed via the Jacquet-Blondel method. More...
 
virtual double GetQ2JacquetBlondel () const
 Returns Q-squared computed via the Jacquet-Blondel method. More...
 
virtual double GetYJacquetBlondel () const
 Returns inelasticity computed via the Jacquet-Blondel method. More...
 
virtual double GetW2JacquetBlondel () const
 Returns W-squared computed via the Jacquet-Blondel method. More...
 
virtual void SetLeptonKinematics (const DisKinematics &)
 Set the kinematics computed from the scattered lepton. More...
 
virtual void SetJacquetBlondelKinematics (const DisKinematics &)
 Set the kinematics computed from the Jacquet-Blondel method. More...
 
virtual void SetDoubleAngleKinematics (const DisKinematics &)
 Set the kinematics computed from the double-angle method. More...
 
virtual void CopyKinematics (const EventDis &)
 Copy the kinematics from another event to this event. More...
 
- Public Member Functions inherited from erhic::VirtualEvent
virtual ~VirtualEvent ()
 Destructor. More...
 

Public Attributes

Int_t ievent
 
Int_t I
 
Int_t process1
 
Int_t process2
 
Int_t IP
 
Int_t tgtparton
 
Int_t prjparton
 
Int_t nucleon
 
Double32_t xtgtparton
 
Double32_t xprjparton
 
Double32_t dtrueW2
 
Double32_t dtrueNu
 
Double32_t dtrueQ2
 
Double32_t dtrueY
 
Double32_t dtrueX
 
Double32_t theta_Evt
 
Double32_t photonFlux
 
- Public Attributes inherited from erhic::EventDis
Double32_t x
 Bjorken scaling variable. More...
 
Double32_t QSquared
 Q2 calculated from scattered electron. More...
 
Double32_t y
 Inelasticity. More...
 
Double32_t WSquared
 Invariant mass of the hadronic system. More...
 
Double32_t nu
 Energy transfer from the electron. More...
 
Double32_t yJB
 y calculated via the Jacquet-Blondel method More...
 
Double32_t QSquaredJB
 Q2 calculated via the Jacquet-Blondel method. More...
 
Double32_t xJB
 x calculated via the Jacquet-Blondel method More...
 
Double32_t WSquaredJB
 W2 calculated via the Jacquet-Blondel method. More...
 
Double32_t yDA
 y calculated via the double-angle method More...
 
Double32_t QSquaredDA
 Q2 calculated via the double-angle method. More...
 
Double32_t xDA
 x calculated via the double-angle method More...
 
Double32_t WSquaredDA
 W2 calculated via the double-angle method. More...
 

Additional Inherited Members

- Public Types inherited from erhic::VirtualEvent
typedef std::vector< const erhic::VirtualParticle * > ParticlePtrList
 typedef for a track pointer collection. More...
 
- Protected Attributes inherited from erhic::EventMC
Int_t number
 Event number. More...
 
Int_t process
 PYTHIA code for the physics process producing the event. More...
 
Int_t nTracks
 Number of Particles in the event (intermediate + final) More...
 
Double32_t ELeptonInNucl
 Incident lepton energy in the nuclear rest frame. More...
 
Double32_t ELeptonOutNucl
 Scattered lepton energy in the nuclear rest frame. More...
 
TClonesArray particles
 Particle list. More...
 

Detailed Description

Describles the event from DPMJET.

Definition at line 24 of file EventDpmjet.h.

Member Function Documentation

◆ Parse()

bool erhic::EventDpmjet::Parse ( const std::string &  line)
virtual

Parses the event information from a text string.

The string must have the following format (no newlines):

"0 eventnumber subprocessId hardProcessId particleCombination y Q2 x W2 nu
theta photonFlux targetParton projectileParton xTargetParton
xProjectileParton nucleon numTracks"

Returns true in the event of a successful read operation, false in case of an error.

Implements erhic::EventMC.

Definition at line 17 of file EventDpmjet.cxx.

Member Data Documentation

◆ dtrueNu

Double32_t erhic::EventDpmjet::dtrueNu

Definition at line 51 of file EventDpmjet.h.

◆ dtrueQ2

Double32_t erhic::EventDpmjet::dtrueQ2

Definition at line 52 of file EventDpmjet.h.

◆ dtrueW2

Double32_t erhic::EventDpmjet::dtrueW2

Definition at line 50 of file EventDpmjet.h.

◆ dtrueX

Double32_t erhic::EventDpmjet::dtrueX

Definition at line 54 of file EventDpmjet.h.

◆ dtrueY

Double32_t erhic::EventDpmjet::dtrueY

Definition at line 53 of file EventDpmjet.h.

◆ I

Int_t erhic::EventDpmjet::I

Definition at line 41 of file EventDpmjet.h.

◆ ievent

Int_t erhic::EventDpmjet::ievent

Definition at line 40 of file EventDpmjet.h.

◆ IP

Int_t erhic::EventDpmjet::IP

Definition at line 44 of file EventDpmjet.h.

◆ nucleon

Int_t erhic::EventDpmjet::nucleon

Definition at line 47 of file EventDpmjet.h.

◆ photonFlux

Double32_t erhic::EventDpmjet::photonFlux

Definition at line 56 of file EventDpmjet.h.

◆ prjparton

Int_t erhic::EventDpmjet::prjparton

Definition at line 46 of file EventDpmjet.h.

◆ process1

Int_t erhic::EventDpmjet::process1

Definition at line 42 of file EventDpmjet.h.

◆ process2

Int_t erhic::EventDpmjet::process2

Definition at line 43 of file EventDpmjet.h.

◆ tgtparton

Int_t erhic::EventDpmjet::tgtparton

Definition at line 45 of file EventDpmjet.h.

◆ theta_Evt

Double32_t erhic::EventDpmjet::theta_Evt

Definition at line 55 of file EventDpmjet.h.

◆ xprjparton

Double32_t erhic::EventDpmjet::xprjparton

Definition at line 49 of file EventDpmjet.h.

◆ xtgtparton

Double32_t erhic::EventDpmjet::xtgtparton

Definition at line 48 of file EventDpmjet.h.


The documentation for this class was generated from the following files: