EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventProMC Class Reference

#include <EicRoot/blob/master/eic/event/EicEventGenerator.h>

+ Inheritance diagram for EventProMC:
+ Collaboration diagram for EventProMC:

Public Member Functions

 EventProMC ()
 
 ~EventProMC ()
 
const erhic::ParticleMCBeamLepton () const
 
const erhic::ParticleMCBeamHadron () const
 
const erhic::ParticleMCExchangeBoson () const
 
const erhic::ParticleMCScatteredLepton () const
 
bool Parse (const std::string &)
 
 ClassDef (EventProMC, 1)
 
- Public Member Functions inherited from erhic::EventMC
 EventMC ()
 
virtual ~EventMC ()
 
virtual bool RequiresEaParticleFields ()
 
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 void AddLast (ParticleMC *track)
 
virtual void Reset ()
 
void Print (const Option_t *option="") const
 
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 ()
 

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.
 
- 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

Definition at line 42 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 42 of file EicEventGenerator.h

Constructor & Destructor Documentation

EventProMC::EventProMC ( )
inline

Definition at line 45 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 45 of file EicEventGenerator.h

EventProMC::~EventProMC ( )
inline

Definition at line 46 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 46 of file EicEventGenerator.h

Member Function Documentation

const erhic::ParticleMC* EventProMC::BeamHadron ( ) const
inlinevirtual

Returns a pointer to the incident hadron beam particle. See also notes in BeamLepton().

In the standard eRHIC Monte Carlo format, the incident hadron beam is assumed to be the second particle in the particle list.

Reimplemented from erhic::EventMC.

Definition at line 50 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 50 of file EicEventGenerator.h

const erhic::ParticleMC* EventProMC::BeamLepton ( ) const
inlinevirtual

Returns a pointer to the incident lepton beam particle. Returns a NULL pointer if the particle cannot be located in the event. IMPORTANT - DO NOT DELETE THE POINTER OR BAD THINGS WILL HAPPEN!

In the standard eRHIC Monte Carlo format, the incident lepton beam is assumed to be the first particle in the particle list. This is the behaviour implemented here. Derived classes can implement other selection mechanisms depending on their data format.

Reimplemented from erhic::EventMC.

Definition at line 49 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 49 of file EicEventGenerator.h

EventProMC::ClassDef ( EventProMC  ,
 
)
const erhic::ParticleMC* EventProMC::ExchangeBoson ( ) const
inlinevirtual

Returns a pointer to the exchanged boson. See also notes in BeamLepton().

In the standard eRHIC Monte Carlo format, the exchanged boson is assumed to be the fourth particle in the particle list.

Reimplemented from erhic::EventMC.

Definition at line 51 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 51 of file EicEventGenerator.h

bool EventProMC::Parse ( const std::string &  )
inlinevirtual

Populates the event-wise variables from a string. Does not populate the particle list or compute derived quantities. See also Compute().

Implements erhic::EventMC.

Definition at line 56 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 56 of file EicEventGenerator.h

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

Returns a pointer to the lepton beam particle after scattering. See also notes in BeamLepton().

In the standard eRHIC Monte Carlo format, the scattered lepton beam is assumed to be the first final-state particle in the particle list with the same PDG code as the incident lepton beam.

Please overwrite this method accordingly! By default, it will simply use the fourth particle in the particle list. See e.g. EventPythia, EventSimple.

Reimplemented from erhic::EventMC.

Definition at line 52 of file EicEventGenerator.h.

View newest version in sPHENIX GitHub at line 52 of file EicEventGenerator.h


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