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

#include <EventPepsi.h>

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

Public Member Functions

virtual bool Parse (const std::string &)
 
virtual const ParticleMCExchangeBoson () const
 
virtual const ParticleMCScatteredLepton () const
 
- Public Member Functions inherited from erhic::EventMC
 EventMC ()
 
virtual ~EventMC ()
 
virtual ULong64_t GetN () const
 
virtual Int_t GetProcess () const
 
virtual UInt_t GetNTracks () const
 
virtual const ParticleMCGetTrack (UInt_t) const
 
virtual ParticleMCGetTrack (UInt_t)
 
virtual const ParticleMCBeamLepton () const
 
virtual const ParticleMCBeamHadron () const
 
virtual void AddLast (ParticleMC *track)
 
virtual void Reset ()
 
virtual void Clear (Option_t *="")
 
virtual void SetProcess (int code)
 
virtual void SetN (int n)
 
virtual void SetNTracks (int n)
 
virtual void SetELeptonInNuclearFrame (double energy)
 
virtual void SetEScatteredInNuclearFrame (double energy)
 
void FinalState (ParticlePtrList &particles) const
 
void HadronicFinalState (ParticlePtrList &) const
 
TLorentzVector FinalStateMomentum () const
 
TLorentzVector HadronicFinalStateMomentum () const
 
Double_t FinalStateCharge () const
 
std::vector< const
VirtualParticle * > 
GetTracks () const
 
- Public Member Functions inherited from erhic::EventDis
virtual ~EventDis ()
 
 EventDis ()
 
 EventDis (const EventDis &)
 
EventDisoperator= (const EventDis &)
 
virtual Double_t GetX () const
 
virtual Double_t GetQ2 () const
 
virtual Double_t GetY () const
 
virtual Double_t GetYPlus () const
 
virtual Double_t GetW2 () const
 
virtual Double_t GetNu () const
 
virtual double GetXDoubleAngle () const
 
virtual double GetQ2DoubleAngle () const
 
virtual double GetYDoubleAngle () const
 
virtual double GetW2DoubleAngle () const
 
virtual double GetXJacquetBlondel () const
 
virtual double GetQ2JacquetBlondel () const
 
virtual double GetYJacquetBlondel () const
 
virtual double GetW2JacquetBlondel () const
 
virtual void SetLeptonKinematics (const DisKinematics &)
 
virtual void SetJacquetBlondelKinematics (const DisKinematics &)
 
virtual void SetDoubleAngleKinematics (const DisKinematics &)
 
virtual void CopyKinematics (const EventDis &)
 
- Public Member Functions inherited from erhic::VirtualEvent
virtual ~VirtualEvent ()
 

Public Attributes

Int_t nucleon
 PDG code of the hadron beam.
 
Int_t struckparton
 Parton hit in the target LST(25)
 
Int_t partontrck
 Number of parton track LST(26)
 
Int_t genevent
 Trials required for this event.
 
Int_t subprocess
 PEPSI subprocess LST(23)
 
Double32_t trueY
 Generated y of the event.
 
Double32_t trueQ2
 Generated Q2 of the event.
 
Double32_t trueX
 Generated x of the event.
 
Double32_t trueW2
 Generated W2 of the event.
 
Double32_t trueNu
 Generated nu of the event.
 
Double32_t FixedWeight
 Weight calculated from generation limits.
 
Double32_t Weight
 Total weight including everything.
 
Double32_t dxsec
 Cross section included in the weight.
 
Double32_t ExtraWeight
 
Double32_t Dilute
 True variables needed to calculate g1
 
Double32_t F1
 True variables needed to calculate g1
 
Double32_t F2
 True variables needed to calculate g1
 
Double32_t A1
 True variables needed to calculate g1
 
Double32_t A2
 True variables needed to calculate g1
 
Double32_t R
 True variables needed to calculate g1
 
Double32_t DePol
 True variables needed to calculate g1
 
Double32_t D
 True variables needed to calculate g1
 
Double32_t Eta
 True variables needed to calculate g1
 
Double32_t Eps
 True variables needed to calculate g1
 
Double32_t Chi
 True variables needed to calculate g1
 
Double32_t gendilut
 Needed to calculate g1.
 
Double32_t genF1
 Needed to calculate g1.
 
Double32_t genF2
 Needed to calculate g1.
 
Double32_t genA1
 Needed to calculate g1.
 
Double32_t genA2
 Needed to calculate g1.
 
Double32_t genR
 Needed to calculate g1.
 
Double32_t genDepol
 Needed to calculate g1.
 
Double32_t gend
 Needed to calculate g1.
 
Double32_t geneta
 Needed to calculate g1.
 
Double32_t geneps
 Needed to calculate g1.
 
Double32_t genchi
 Needed to calculate g1.
 
Double32_t SigCorr
 Needed in the radiative correction code.
 
Double32_t radgamEnucl
 
- Public Attributes inherited from erhic::EventDis
Double32_t x
 Bjorken scaling variable.
 
Double32_t QSquared
 Q2 calculated from scattered electron.
 
Double32_t y
 Inelasticity.
 
Double32_t WSquared
 Invariant mass of the hadronic system.
 
Double32_t nu
 Energy transfer from the electron.
 
Double32_t yJB
 y calculated via the Jacquet-Blondel method
 
Double32_t QSquaredJB
 Q2 calculated via the Jacquet-Blondel method.
 
Double32_t xJB
 x calculated via the Jacquet-Blondel method
 
Double32_t WSquaredJB
 W2 calculated via the Jacquet-Blondel method.
 
Double32_t yDA
 y calculated via the double-angle method
 
Double32_t QSquaredDA
 Q2 calculated via the double-angle method.
 
Double32_t xDA
 x calculated via the double-angle method
 
Double32_t WSquaredDA
 W2 calculated via the double-angle method.
 

Additional Inherited Members

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

Detailed Description

Describes an event from the generator PEPSI.

Todo:
Add accessor and setter methods

Definition at line 26 of file EventPepsi.h.

Member Function Documentation

const ParticleMC * erhic::EventPepsi::ExchangeBoson ( ) const
inlinevirtual

Returns a pointer to the exchange boson, or NULL if it cannot be found.

Reimplemented from erhic::EventMC.

Definition at line 100 of file EventPepsi.h.

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

Parses the event information from a text string with the following format (no newlines): "I ievent genevent process subprocess nucleon struckparton, partontrck trueY trueQ2 trueX trueW2 trueNu FixedWeight, weight dxsec Extraweight dilut F1 F2 A1 A2 R Depol d, eta eps chi gendilut genF1 genF2 genA1 genA2 genR genDepol, gend geneta geneps genchi Sigcor radgamEnucl nrTracks" 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 EventPepsi.cxx.

const ParticleMC * erhic::EventPepsi::ScatteredLepton ( ) const
inlinevirtual

Returns a pointer to the scattered lepton, or NULL if it cannot be found.

Reimplemented from erhic::EventMC.

Definition at line 104 of file EventPepsi.h.

Member Data Documentation

Double32_t erhic::EventPepsi::ExtraWeight

PEPSI total cross section in pb from numerical integration PARL(23)

Definition at line 66 of file EventPepsi.h.


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