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

#include <EventDjangoh.h>

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

Public Member Functions

 EventDjangoh ()
 
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
 
Int_t IChannel
 
Int_t dprocess
 
Int_t dstruckparton
 
Int_t dpartontrck
 
Double32_t dY
 
Double32_t dQ2
 
Double32_t dX
 
Double32_t dW2
 
Double32_t dNu
 
Double32_t dtrueY
 
Double32_t dtrueQ2
 
Double32_t dtrueX
 
Double32_t dtrueW2
 
Double32_t dtrueNu
 
Double32_t sigTot
 
Double32_t sigTotErr
 
Double32_t D
 
Double32_t F1NC
 
Double32_t F3NC
 
Double32_t G1NC
 
Double32_t G3NC
 
Double32_t A1NC
 
Double32_t F1CC
 
Double32_t F3CC
 
Double32_t G1CC
 
Double32_t G5CC
 
- 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 DJANGOH.

Definition at line 26 of file EventDjangoh.h.

Constructor & Destructor Documentation

erhic::EventDjangoh::EventDjangoh ( )
inline

Constructor.

Definition at line 31 of file EventDjangoh.h.

Member Function Documentation

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

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

Reimplemented from erhic::EventMC.

Definition at line 90 of file EventDjangoh.h.

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

Parses the event information from a text string with the following format (no newlines): "0 eventNum channel process subprocess nucleon parton partonTrack y Q2 x W2 nu trueY tueQ2 trueX trueW2 trueNu crossSection crossSectionError depolarisation F1NC F3NC G1NC G3NC A1NC F1CC F3CC G1CC G5CC 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 EventDjangoh.cxx.

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

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

Reimplemented from erhic::EventMC.

Definition at line 94 of file EventDjangoh.h.


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