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

Pythia 6 DIS event. More...

#include <EventPythia.h>

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

Public Member Functions

 EventPythia (const std::string &str="")
 
virtual ~EventPythia ()
 
virtual bool Parse (const std::string &)
 
virtual void SetNucleon (int n)
 
virtual void SetTargetParton (int n)
 
virtual void SetBeamParton (int n)
 
virtual void SetGenEvent (int n)
 
virtual void SetTargetPartonX (double xB)
 
virtual void SetBeamPartonX (double xB)
 
virtual void SetBeamPartonTheta (double radians)
 
virtual void SetLeptonPhi (double radians)
 
virtual void SetF1 (double f1)
 
virtual void SetF2 (double f2)
 
virtual void SetSigmaRad (double sr)
 
virtual void SetHardS (double s)
 
virtual void SetHardT (double t)
 
virtual void SetHardU (double u)
 
virtual void SetHardQ2 (double Q2)
 
virtual void SetHardPt2 (double pt2)
 
virtual void SetSigRadCor (double s)
 
virtual void SetEBrems (double e)
 
virtual void SetPhotonFlux (double f)
 
virtual void SetTrueY (double inelasticity)
 
virtual void SetTrueQ2 (double Q2)
 
virtual void SetTrueX (double x)
 
virtual void SetTrueW2 (double W2)
 
virtual void SetTrueNu (double Nu)
 
virtual void SetR (double r)
 
virtual int GetGenEvent () const
 
virtual double GetTargetPartonX () const
 
virtual double GetBeamPartonX () const
 
virtual double GetBeamPartonTheta () const
 
virtual double GetLeptonPhi () const
 
virtual double GetF1 () const
 
virtual double GetF2 () const
 
virtual double GetSigmaRad () const
 
virtual double GetHardS () const
 
virtual double GetHardT () const
 
virtual double GetHardU () const
 
virtual double GetHardQ2 () const
 
virtual double GetHardPt2 () const
 
virtual double GetSigRadCor () const
 
virtual double GetEBrems () const
 
virtual double GetPhotonFlux () const
 
virtual double GetTrueY () const
 
virtual double GetTrueQ2 () const
 
virtual double GetTrueX () const
 
virtual double GetTrueW2 () const
 
virtual double GetTrueNu () const
 
virtual double GetR () 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 const ParticleMCExchangeBoson () 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 ()
 

Protected Attributes

Int_t nucleon
 
Int_t tgtparton
 
Int_t beamparton
 
Int_t genevent
 Trials required for this event.
 
Double32_t xtgtparton
 
Double32_t xbeamparton
 
Double32_t thetabeamparton
 
Double32_t leptonphi
 
Double32_t F1
 Value used for radiative corrections.
 
Double32_t sigma_rad
 Value used for radiative corrections.
 
Double32_t t_hat
 
Double32_t u_hat
 
Double32_t Q2_hat
 
Double32_t SigRadCor
 Value used for radiative corrections.
 
Double32_t EBrems
 
Double32_t photonflux
 Flux factor, see VINT(319)
 
Double32_t trueY
 
Double32_t trueQ2
 
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 F2
 Value used for radiative corrections.
 
Double32_t R
 Value used for radiative corrections.
 
Double32_t pt2_hat
 
Double32_t sHat
 
- 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.
 

Additional Inherited Members

- Public Types inherited from erhic::VirtualEvent
typedef std::vector< const
erhic::VirtualParticle * > 
ParticlePtrList
 
- 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.
 

Detailed Description

Pythia 6 DIS event.

Describes an event from the EIC PYTHIA6 implementation.

Todo:
Change sHat/t_hat/u_hat naming to be consistent

Definition at line 28 of file EventPythia.h.

Constructor & Destructor Documentation

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

Constructor.

Parameters
[in]strA text string setting event-wise quantities. The string format should be (no newlines): "I ievent genevent subprocess nucleon targetparton xtargparton beamparton xbeamparton thetabeamprtn truey trueQ2 truex trueW2 trueNu leptonphi s_hat t_hat u_hat pt2_hat Q2_hat F2 F1 R sigma_rad SigRadCor EBrems photonflux nrTracks"

Definition at line 20 of file EventPythia.cxx.

erhic::EventPythia::~EventPythia ( )
virtual

Destructor

Definition at line 48 of file EventPythia.cxx.

Member Function Documentation

double erhic::EventPythia::GetBeamPartonTheta ( ) const
inlinevirtual

Returns the polar angle of the beam parton in the cm frame, in radians in the range [0, pi]

Definition at line 468 of file EventPythia.h.

double erhic::EventPythia::GetBeamPartonX ( ) const
inlinevirtual

Returns the x of the beam parton.

Definition at line 464 of file EventPythia.h.

double erhic::EventPythia::GetEBrems ( ) const
inlinevirtual

Returnss the energy per radiative photon in the nuclear rest frame.

Definition at line 512 of file EventPythia.h.

double erhic::EventPythia::GetF1 ( ) const
inlinevirtual

Used for radiative corrections.

Definition at line 476 of file EventPythia.h.

double erhic::EventPythia::GetF2 ( ) const
inlinevirtual

Used for radiative corrections.

Definition at line 480 of file EventPythia.h.

int erhic::EventPythia::GetGenEvent ( ) const
inlinevirtual

Returns the number of trials required to generate this event.

Definition at line 456 of file EventPythia.h.

double erhic::EventPythia::GetHardPt2 ( ) const
inlinevirtual

Returns the squared pT of the hard interaction.

Definition at line 504 of file EventPythia.h.

double erhic::EventPythia::GetHardQ2 ( ) const
inlinevirtual

Returns the Q2 of the hard interaction.

Definition at line 500 of file EventPythia.h.

double erhic::EventPythia::GetHardS ( ) const
inlinevirtual

Returns the Mandelstamm s of the hard interaction.

Definition at line 488 of file EventPythia.h.

double erhic::EventPythia::GetHardT ( ) const
inlinevirtual

Returns the Mandelstamm t of the hard interaction.

Definition at line 492 of file EventPythia.h.

double erhic::EventPythia::GetHardU ( ) const
inlinevirtual

Returns the Mandelstamm u of the hard interaction.

Definition at line 496 of file EventPythia.h.

double erhic::EventPythia::GetLeptonPhi ( ) const
inlinevirtual

Returns the azimuthal angle of the scattered lepton.

Angle is given in the centre-of-mass frame, in radians in the range [0, 2pi).

Definition at line 472 of file EventPythia.h.

double erhic::EventPythia::GetPhotonFlux ( ) const
inlinevirtual

Returns the flux factor, see VINT(319) in PYTHIA 6.

Definition at line 516 of file EventPythia.h.

double erhic::EventPythia::GetR ( ) const
inlinevirtual

Used for radiative corrections.

Definition at line 540 of file EventPythia.h.

double erhic::EventPythia::GetSigmaRad ( ) const
inlinevirtual

Used for radiative corrections.

Definition at line 484 of file EventPythia.h.

double erhic::EventPythia::GetSigRadCor ( ) const
inlinevirtual

Used for radiative corrections.

Definition at line 508 of file EventPythia.h.

double erhic::EventPythia::GetTargetPartonX ( ) const
inlinevirtual

Returns the x of the target parton.

Definition at line 460 of file EventPythia.h.

double erhic::EventPythia::GetTrueNu ( ) const
inlinevirtual

Sets the true (not reconstructed) value for ν.

Definition at line 536 of file EventPythia.h.

double erhic::EventPythia::GetTrueQ2 ( ) const
inlinevirtual

Sets the true (not reconstructed) value for Q2.

Definition at line 524 of file EventPythia.h.

double erhic::EventPythia::GetTrueW2 ( ) const
inlinevirtual

Sets the true (not reconstructed) value for W2.

Definition at line 532 of file EventPythia.h.

double erhic::EventPythia::GetTrueX ( ) const
inlinevirtual

Sets the true (not reconstructed) value for x.

Definition at line 528 of file EventPythia.h.

double erhic::EventPythia::GetTrueY ( ) const
inlinevirtual

Sets the true (not reconstructed) value for inelasticity.

Definition at line 520 of file EventPythia.h.

bool erhic::EventPythia::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.

Implements erhic::EventMC.

Definition at line 50 of file EventPythia.cxx.

const ParticleMC * erhic::EventPythia::ScatteredLepton ( ) const
virtual

Returns the scattered lepton. This is the first final state particle with the same species as the beam lepton and parent index equal to three (counting index from 1).

Reimplemented from erhic::EventMC.

Definition at line 71 of file EventPythia.cxx.

void erhic::EventPythia::SetBeamParton ( int  n)
inlinevirtual

Sets the beam parton species.

Parameters
n[in] PDG code of the parton interacting with the hadron beam in the case of resolved photon processes and soft VMD, see MSTI(15)

Definition at line 364 of file EventPythia.h.

void erhic::EventPythia::SetBeamPartonTheta ( double  radians)
inlinevirtual

Sets the polar angle of the beam parton in the cm frame

Todo:
enforce range [0, pi] when setting

Definition at line 380 of file EventPythia.h.

void erhic::EventPythia::SetBeamPartonX ( double  xB)
inlinevirtual

Sets the x of the beam parton.

Definition at line 376 of file EventPythia.h.

void erhic::EventPythia::SetEBrems ( double  e)
inlinevirtual

Sets the energy per radiative photon in the nuclear rest frame.

Definition at line 424 of file EventPythia.h.

void erhic::EventPythia::SetF1 ( double  f1)
inlinevirtual

Used for radiative corrections.

Definition at line 388 of file EventPythia.h.

void erhic::EventPythia::SetF2 ( double  f2)
inlinevirtual

Used for radiative corrections.

Definition at line 392 of file EventPythia.h.

void erhic::EventPythia::SetGenEvent ( int  n)
inlinevirtual

Sets the number of trials required to generate this event

Parameters
n[in] The number of trials

Definition at line 368 of file EventPythia.h.

void erhic::EventPythia::SetHardPt2 ( double  pt2)
inlinevirtual

Sets the squared pT of the hard interaction.

Definition at line 416 of file EventPythia.h.

void erhic::EventPythia::SetHardQ2 ( double  Q2)
inlinevirtual

Sets the Q2 of the hard interaction.

Definition at line 412 of file EventPythia.h.

void erhic::EventPythia::SetHardS ( double  s)
inlinevirtual

Sets the Mandelstamm s of the hard interaction.

Definition at line 400 of file EventPythia.h.

void erhic::EventPythia::SetHardT ( double  t)
inlinevirtual

Sets the Mandelstamm t of the hard interaction.

Definition at line 404 of file EventPythia.h.

void erhic::EventPythia::SetHardU ( double  u)
inlinevirtual

Sets the Mandelstamm u of the hard interaction.

Definition at line 408 of file EventPythia.h.

void erhic::EventPythia::SetLeptonPhi ( double  radians)
inlinevirtual

Azimuthal angle of the scattered lepton in the cm frame

Todo:
enforce range [0, 2pi) when setting

Definition at line 384 of file EventPythia.h.

void erhic::EventPythia::SetNucleon ( int  n)
inlinevirtual

Sets the nucleon species.

Parameters
n[in] PDG code of the hadron beam, see MSTI(12)

Definition at line 356 of file EventPythia.h.

void erhic::EventPythia::SetPhotonFlux ( double  f)
inlinevirtual

Flux factor, see VINT(319) in PYTHIA 6.

Definition at line 428 of file EventPythia.h.

void erhic::EventPythia::SetR ( double  r)
inlinevirtual

Used for radiative corrections.

Definition at line 452 of file EventPythia.h.

void erhic::EventPythia::SetSigmaRad ( double  sr)
inlinevirtual

Used for radiative corrections.

Definition at line 396 of file EventPythia.h.

void erhic::EventPythia::SetSigRadCor ( double  s)
inlinevirtual

Used for radiative corrections.

Definition at line 420 of file EventPythia.h.

void erhic::EventPythia::SetTargetParton ( int  n)
inlinevirtual

Sets the target parton species.

Parameters
n[in] PDG code of the struck parton in the hadron beam, see MSTI(16)

Definition at line 360 of file EventPythia.h.

void erhic::EventPythia::SetTargetPartonX ( double  xB)
inlinevirtual

Sets the x of the target parton.

Definition at line 372 of file EventPythia.h.

void erhic::EventPythia::SetTrueNu ( double  Nu)
inlinevirtual

Sets the true (not reconstructed) value for nu.

Definition at line 448 of file EventPythia.h.

void erhic::EventPythia::SetTrueQ2 ( double  Q2)
inlinevirtual

Sets the true (not reconstructed) value for Q2.

Definition at line 436 of file EventPythia.h.

void erhic::EventPythia::SetTrueW2 ( double  W2)
inlinevirtual

Sets the true (not reconstructed) value for W2.

Definition at line 444 of file EventPythia.h.

void erhic::EventPythia::SetTrueX ( double  x)
inlinevirtual

Sets the true (not reconstructed) value for x.

Definition at line 440 of file EventPythia.h.

void erhic::EventPythia::SetTrueY ( double  inelasticity)
inlinevirtual

Sets the true (not reconstructed) value for inelasticity.

Definition at line 432 of file EventPythia.h.

Member Data Documentation

Int_t erhic::EventPythia::beamparton
protected

Parton interacting with the hadron beam in the case of resolved photon processes and soft VMD, see MSTI(15)

Definition at line 315 of file EventPythia.h.

Double32_t erhic::EventPythia::EBrems
protected

Energy per radiative photon in the nuclear rest frame.

Definition at line 337 of file EventPythia.h.

Double32_t erhic::EventPythia::leptonphi
protected

Azimuthal angle of the scattered lepton in the cm frame

Definition at line 326 of file EventPythia.h.

Int_t erhic::EventPythia::nucleon
protected

PDG code of the hadron beam, see MSTI(12)

Definition at line 311 of file EventPythia.h.

Double32_t erhic::EventPythia::pt2_hat
protected

Squared pT of the hard subprocess, see PARI(18)

Definition at line 349 of file EventPythia.h.

Double32_t erhic::EventPythia::Q2_hat
protected

Q2 of the hard subprocess, see PARI(22)

Definition at line 334 of file EventPythia.h.

Double32_t erhic::EventPythia::sHat
protected

Mandelstam s of the hard subprocess, see PARI(14)

Definition at line 351 of file EventPythia.h.

Double32_t erhic::EventPythia::t_hat
protected

Mandelstam t of the hard subprocess, see PARI(15)

Definition at line 330 of file EventPythia.h.

Int_t erhic::EventPythia::tgtparton
protected

PDG code of the struck parton in the hadron beam, see MSTI(16)

Definition at line 313 of file EventPythia.h.

Double32_t erhic::EventPythia::thetabeamparton
protected

Polar angle of the beam parton in the cm frame, between 0 and pi radians, see PARI(53)

Definition at line 323 of file EventPythia.h.

Double32_t erhic::EventPythia::trueQ2
protected

Generated Q2 of the event, see VINT(307)

Definition at line 342 of file EventPythia.h.

Double32_t erhic::EventPythia::trueY
protected

Generated y of the event, see VINT(309)

Definition at line 340 of file EventPythia.h.

Double32_t erhic::EventPythia::u_hat
protected

Mandelstam u of the hard subprocess, see PARI(16)

Definition at line 332 of file EventPythia.h.

Double32_t erhic::EventPythia::xbeamparton
protected

Momentum fraction taken by the beam parton, see PARI(33)

Definition at line 321 of file EventPythia.h.

Double32_t erhic::EventPythia::xtgtparton
protected

Momentum fraction taken by the target parton, see PARI(34)

Definition at line 319 of file EventPythia.h.


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