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::EventBeagle Class Reference

#include <EventPythia.h>

Inheritance diagram for erhic::EventBeagle:
erhic::EventPythia erhic::EventMC erhic::EventDis erhic::VirtualEvent

Public Member Functions

 EventBeagle (const std::string &str="")
 
 ~EventBeagle ()
 
bool RequiresEaParticleFields ()
 
bool Parse (const std::string &)
 Parses the event information from a text string. More...
 
- Public Member Functions inherited from erhic::EventPythia
 EventPythia (const std::string &str="")
 Constructor. More...
 
virtual ~EventPythia ()
 Destructor. More...
 
virtual void SetNucleon (int n)
 Sets the nucleon species. More...
 
virtual void SetTargetParton (int n)
 Sets the target parton species. More...
 
virtual void SetBeamParton (int n)
 Sets the beam parton species. More...
 
virtual void SetGenEvent (int n)
 Sets the number of trials required to generate this event. More...
 
virtual void SetTargetPartonX (double xB)
 Sets the x of the target parton. More...
 
virtual void SetBeamPartonX (double xB)
 Sets the x of the beam parton. More...
 
virtual void SetBeamPartonTheta (double radians)
 Sets the polar angle of the beam parton in the cm frame. More...
 
virtual void SetLeptonPhi (double radians)
 Azimuthal angle of the scattered lepton in the cm frame. More...
 
virtual void SetF1 (double f1)
 Used for radiative corrections. More...
 
virtual void SetF2 (double f2)
 Used for radiative corrections. More...
 
virtual void SetSigmaRad (double sr)
 Used for radiative corrections. More...
 
virtual void SetHardS (double s)
 Sets the Mandelstamm s of the hard interaction. More...
 
virtual void SetHardT (double t)
 Sets the Mandelstamm t of the hard interaction. More...
 
virtual void SetHardU (double u)
 Sets the Mandelstamm u of the hard interaction. More...
 
virtual void SetHardQ2 (double Q2)
 Sets the Q2 of the hard interaction. More...
 
virtual void SetHardPt2 (double pt2)
 Sets the squared pT of the hard interaction. More...
 
virtual void SetSigRadCor (double s)
 Used for radiative corrections. More...
 
virtual void SetEBrems (double e)
 Sets the energy per radiative photon in the nuclear rest frame. More...
 
virtual void SetPhotonFlux (double f)
 Flux factor, see VINT(319) in PYTHIA 6. More...
 
virtual void SetTrueY (double inelasticity)
 Sets the true (not reconstructed) value for inelasticity. More...
 
virtual void SetTrueQ2 (double Q2)
 Sets the true (not reconstructed) value for Q2. More...
 
virtual void SetTrueX (double x)
 Sets the true (not reconstructed) value for x. More...
 
virtual void SetTrueW2 (double W2)
 Sets the true (not reconstructed) value for W2. More...
 
virtual void SetTrueNu (double Nu)
 Sets the true (not reconstructed) value for nu. More...
 
virtual void SetR (double r)
 Used for radiative corrections. More...
 
virtual int GetGenEvent () const
 Returns the number of trials required to generate this event. More...
 
virtual double GetTargetPartonX () const
 Returns the x of the target parton. More...
 
virtual double GetBeamPartonX () const
 Returns the x of the beam parton. More...
 
virtual double GetBeamPartonTheta () const
 Returns the polar angle of the beam parton in the cm frame, in radians in the range [0, pi]. More...
 
virtual double GetLeptonPhi () const
 Returns the azimuthal angle of the scattered lepton. More...
 
virtual double GetF1 () const
 Used for radiative corrections. More...
 
virtual double GetF2 () const
 Used for radiative corrections. More...
 
virtual double GetSigmaRad () const
 Used for radiative corrections. More...
 
virtual double GetHardS () const
 Returns the Mandelstamm s of the hard interaction. More...
 
virtual double GetHardT () const
 Returns the Mandelstamm t of the hard interaction. More...
 
virtual double GetHardU () const
 Returns the Mandelstamm u of the hard interaction. More...
 
virtual double GetHardQ2 () const
 Returns the Q2 of the hard interaction. More...
 
virtual double GetHardPt2 () const
 Returns the squared pT of the hard interaction. More...
 
virtual double GetSigRadCor () const
 Used for radiative corrections. More...
 
virtual double GetEBrems () const
 Returnss the energy per radiative photon in the nuclear rest frame. More...
 
virtual double GetPhotonFlux () const
 Returns the flux factor, see VINT(319) in PYTHIA 6. More...
 
virtual double GetTrueY () const
 Sets the true (not reconstructed) value for inelasticity. More...
 
virtual double GetTrueQ2 () const
 Sets the true (not reconstructed) value for Q2. More...
 
virtual double GetTrueX () const
 Sets the true (not reconstructed) value for x. More...
 
virtual double GetTrueW2 () const
 Sets the true (not reconstructed) value for W2. More...
 
virtual double GetTrueNu () const
 Sets the true (not reconstructed) value for ν. More...
 
virtual double GetR () const
 Used for radiative corrections. More...
 
virtual const ParticleMCScatteredLepton () const
 Returns the scattered lepton. More...
 
- Public Member Functions inherited from erhic::EventMC
 EventMC ()
 Constructor. More...
 
virtual ~EventMC ()
 Destructor. More...
 
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 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 lepton
 =================additional variables for BeAGLE================== More...
 
Int_t Atarg
 mass number of target beam More...
 
Int_t Ztarg
 charge number of target beam More...
 
Double32_t pzlep
 lepton beam momentum More...
 
Double32_t pztarg
 target beam momentum More...
 
Double32_t pznucl
 target nucleon momentum More...
 
Double32_t crang
 crossing angle (mr). crang=1000*atan(px/pz), one beam px=py=0, the other py=0 More...
 
Double32_t crori
 crossing angle orientation, +-1 lepton beam along +-z, +-2 hadron beam along +-z, 0 meas no crossing angle More...
 
Double32_t b
 impact parameter value More...
 
Double32_t Phib
 phi of impact parameter vector More...
 
Double32_t Thickness
 T(b) in nucleons/fm^2. More...
 
Double32_t ThickScl
 T(b)/rho0 in fm. More...
 
Int_t Ncollt
 Number of collisions in target. More...
 
Int_t Ncolli
 Number of inelastic collisions in target. More...
 
Int_t Nwound
 Number of wounded nucleon including those in INC. More...
 
Int_t Nwdch
 Number of wounded proton including those in INC. More...
 
Int_t Nnevap
 Number of neutrons from evaporation. More...
 
Int_t Npevap
 Number of protons from evaporation. More...
 
Int_t Aremn
 A of the nuclear remnant after evaporation and breakup. More...
 
Int_t NINC
 Number of stable hadrons from intranuclear cascade. More...
 
Int_t NINCch
 Number of charged stable hadrons from intranuclear cascade. More...
 
Double32_t d1st
 density-weighted distance from first collision to the edge of the nucleus (amount of material traversed / rho0) More...
 
Double32_t davg
 Average density-weighted distance from all inelastic collisions to the edge of the nucleus. More...
 
Double32_t pxf
 Sum fermi momentum of all inelastic participant in target rest frame z along gamma*. More...
 
Double32_t pyf
 Sum fermi momentum of all inelastic participant in target rest frame z along gamma*. More...
 
Double32_t pzf
 Sum fermi momentum of all inelastic participant in target rest frame z along gamma*. More...
 
Double32_t Eexc
 Excitation energy in the nuclear remnant before evaporation and breakup. More...
 
Double32_t RAevt
 Nuclear PDF ratio for the up sea for the given event kinematics. More...
 
Double32_t User1
 User variables to prevent/delay future format changes. More...
 
Double32_t User2
 User variables to prevent/delay future format changes. More...
 
Double32_t User3
 User variables to prevent/delay future format changes. More...
 
- Public Attributes inherited from erhic::EventPythia
Int_t nucleon
 PDG code of the hadron beam, see MSTI(12) More...
 
Int_t tgtparton
 PDG code of the struck parton in the hadron beam, see MSTI(16) More...
 
Int_t beamparton
 Parton interacting with the hadron beam in the case of resolved photon processes and soft VMD, see MSTI(15) More...
 
Int_t genevent
 Trials required for this event. More...
 
Double32_t xtgtparton
 Momentum fraction taken by the target parton, see PARI(34) More...
 
Double32_t xbeamparton
 Momentum fraction taken by the beam parton, see PARI(33) More...
 
Double32_t thetabeamparton
 Polar angle of the beam parton in the cm frame, between 0 and pi radians, see PARI(53) More...
 
Double32_t leptonphi
 Azimuthal angle of the scattered lepton in the cm frame. More...
 
Double32_t F1
 Value used for radiative corrections. More...
 
Double32_t sigma_rad
 Value used for radiative corrections. More...
 
Double32_t t_hat
 Mandelstam t of the hard subprocess, see PARI(15) More...
 
Double32_t u_hat
 Mandelstam u of the hard subprocess, see PARI(16) More...
 
Double32_t Q2_hat
 Q2 of the hard subprocess, see PARI(22) More...
 
Double32_t SigRadCor
 Value used for radiative corrections. More...
 
Double32_t EBrems
 Energy per radiative photon in the nuclear rest frame. More...
 
Double32_t photonflux
 Flux factor, see VINT(319) More...
 
Double32_t trueY
 Generated y of the event, see VINT(309) More...
 
Double32_t trueQ2
 Generated Q2 of the event, see VINT(307) More...
 
Double32_t trueX
 Generated x of the event. More...
 
Double32_t trueW2
 Generated W2 of the event. More...
 
Double32_t trueNu
 Generated nu of the event. More...
 
Double32_t F2
 Value used for radiative corrections. More...
 
Double32_t R
 Value used for radiative corrections. More...
 
Double32_t pt2_hat
 Squared pT of the hard subprocess, see PARI(18) More...
 
Double32_t sHat
 Mandelstam s of the hard subprocess, see PARI(14) More...
 
- 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

Definition at line 546 of file erhic/EventPythia.h.

Constructor & Destructor Documentation

◆ EventBeagle()

erhic::EventBeagle::EventBeagle ( const std::string &  str = "")
explicit

Definition at line 98 of file erhic/EventPythia.cxx.

◆ ~EventBeagle()

erhic::EventBeagle::~EventBeagle ( )

Definition at line 135 of file erhic/EventPythia.cxx.

Member Function Documentation

◆ Parse()

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

Parses the event information from a text string.

See the constructor for the string format. Returns true in the event of a successful read operation, false in case of an error.

Reimplemented from erhic::EventPythia.

Definition at line 137 of file erhic/EventPythia.cxx.

◆ RequiresEaParticleFields()

bool erhic::EventBeagle::RequiresEaParticleFields ( )
inlinevirtual

Reimplemented from erhic::EventMC.

Definition at line 552 of file erhic/EventPythia.h.

Member Data Documentation

◆ Aremn

Int_t erhic::EventBeagle::Aremn

A of the nuclear remnant after evaporation and breakup.

Definition at line 576 of file erhic/EventPythia.h.

◆ Atarg

Int_t erhic::EventBeagle::Atarg

mass number of target beam

Definition at line 559 of file erhic/EventPythia.h.

◆ b

Double32_t erhic::EventBeagle::b

impact parameter value

Definition at line 566 of file erhic/EventPythia.h.

◆ crang

Double32_t erhic::EventBeagle::crang

crossing angle (mr). crang=1000*atan(px/pz), one beam px=py=0, the other py=0

Definition at line 564 of file erhic/EventPythia.h.

◆ crori

Double32_t erhic::EventBeagle::crori

crossing angle orientation, +-1 lepton beam along +-z, +-2 hadron beam along +-z, 0 meas no crossing angle

Definition at line 565 of file erhic/EventPythia.h.

◆ d1st

Double32_t erhic::EventBeagle::d1st

density-weighted distance from first collision to the edge of the nucleus (amount of material traversed / rho0)

Definition at line 579 of file erhic/EventPythia.h.

◆ davg

Double32_t erhic::EventBeagle::davg

Average density-weighted distance from all inelastic collisions to the edge of the nucleus.

Definition at line 580 of file erhic/EventPythia.h.

◆ Eexc

Double32_t erhic::EventBeagle::Eexc

Excitation energy in the nuclear remnant before evaporation and breakup.

Definition at line 584 of file erhic/EventPythia.h.

◆ lepton

Int_t erhic::EventBeagle::lepton

=================additional variables for BeAGLE==================

lepton beam ID

Definition at line 558 of file erhic/EventPythia.h.

◆ Ncolli

Int_t erhic::EventBeagle::Ncolli

Number of inelastic collisions in target.

Definition at line 571 of file erhic/EventPythia.h.

◆ Ncollt

Int_t erhic::EventBeagle::Ncollt

Number of collisions in target.

Definition at line 570 of file erhic/EventPythia.h.

◆ NINC

Int_t erhic::EventBeagle::NINC

Number of stable hadrons from intranuclear cascade.

Definition at line 577 of file erhic/EventPythia.h.

◆ NINCch

Int_t erhic::EventBeagle::NINCch

Number of charged stable hadrons from intranuclear cascade.

Definition at line 578 of file erhic/EventPythia.h.

◆ Nnevap

Int_t erhic::EventBeagle::Nnevap

Number of neutrons from evaporation.

Definition at line 574 of file erhic/EventPythia.h.

◆ Npevap

Int_t erhic::EventBeagle::Npevap

Number of protons from evaporation.

Definition at line 575 of file erhic/EventPythia.h.

◆ Nwdch

Int_t erhic::EventBeagle::Nwdch

Number of wounded proton including those in INC.

Definition at line 573 of file erhic/EventPythia.h.

◆ Nwound

Int_t erhic::EventBeagle::Nwound

Number of wounded nucleon including those in INC.

Definition at line 572 of file erhic/EventPythia.h.

◆ Phib

Double32_t erhic::EventBeagle::Phib

phi of impact parameter vector

Definition at line 567 of file erhic/EventPythia.h.

◆ pxf

Double32_t erhic::EventBeagle::pxf

Sum fermi momentum of all inelastic participant in target rest frame z along gamma*.

Definition at line 581 of file erhic/EventPythia.h.

◆ pyf

Double32_t erhic::EventBeagle::pyf

Sum fermi momentum of all inelastic participant in target rest frame z along gamma*.

Definition at line 582 of file erhic/EventPythia.h.

◆ pzf

Double32_t erhic::EventBeagle::pzf

Sum fermi momentum of all inelastic participant in target rest frame z along gamma*.

Definition at line 583 of file erhic/EventPythia.h.

◆ pzlep

Double32_t erhic::EventBeagle::pzlep

lepton beam momentum

Definition at line 561 of file erhic/EventPythia.h.

◆ pznucl

Double32_t erhic::EventBeagle::pznucl

target nucleon momentum

Definition at line 563 of file erhic/EventPythia.h.

◆ pztarg

Double32_t erhic::EventBeagle::pztarg

target beam momentum

Definition at line 562 of file erhic/EventPythia.h.

◆ RAevt

Double32_t erhic::EventBeagle::RAevt

Nuclear PDF ratio for the up sea for the given event kinematics.

Definition at line 585 of file erhic/EventPythia.h.

◆ Thickness

Double32_t erhic::EventBeagle::Thickness

T(b) in nucleons/fm^2.

Definition at line 568 of file erhic/EventPythia.h.

◆ ThickScl

Double32_t erhic::EventBeagle::ThickScl

T(b)/rho0 in fm.

Definition at line 569 of file erhic/EventPythia.h.

◆ User1

Double32_t erhic::EventBeagle::User1

User variables to prevent/delay future format changes.

Definition at line 586 of file erhic/EventPythia.h.

◆ User2

Double32_t erhic::EventBeagle::User2

User variables to prevent/delay future format changes.

Definition at line 587 of file erhic/EventPythia.h.

◆ User3

Double32_t erhic::EventBeagle::User3

User variables to prevent/delay future format changes.

Definition at line 588 of file erhic/EventPythia.h.

◆ Ztarg

Int_t erhic::EventBeagle::Ztarg

charge number of target beam

Definition at line 560 of file erhic/EventPythia.h.


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