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

#include <eic-smear/blob/master/include/eicsmear/erhic/EventRapgap.h>

+ Inheritance diagram for erhic::EventRapgap:
+ Collaboration diagram for erhic::EventRapgap:

Public Member Functions

virtual bool Parse (const std::string &)
 
const ParticleMCScatteredLepton () const
 
virtual const ParticleMCExchangeBoson () const
 
Double32_t Get_cs () const
 
Double32_t Get_sigma_cs () const
 
Double32_t Get_s () const
 
Double32_t Get_q2 () const
 
Double32_t Get_xgam () const
 
Double32_t Get_xpr () const
 
Double32_t Get_Pt_h () const
 
Double32_t Get_t () const
 
Double32_t Get_x_pom () const
 
Double32_t Get_sHat2 () const
 
Double32_t Get_z () const
 
Double32_t Get_x1 () const
 
Double32_t Get_phi1 () const
 
Double32_t Get_pt2_hat () const
 
Double32_t Get_sHat () const
 
- 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 const ParticleMCBeamLepton () const
 
virtual const ParticleMCBeamHadron () const
 
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 ()
 

Protected Attributes

Int_t idir
 
Int_t idisdif
 
Int_t genevent
 
Double32_t cs
 
Double32_t sigma_cs
 
Double32_t s
 
Double32_t q2
 
Double32_t xgam
 
Double32_t xpr
 
Double32_t Pt_h
 
Double32_t t
 
Double32_t x_pom
 
Double32_t sHat2
 
Double32_t z
 
Double32_t x1
 
Double32_t phi1
 
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

Describes an event from the generator RAPGAP.

Definition at line 24 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 24 of file EventRapgap.h

Member Function Documentation

const ParticleMC * erhic::EventRapgap::ExchangeBoson ( ) const
virtual

Returns a pointer to the exchanged boson. It would probably be the third track, but we'll go with the first status=21 boson that has particle 1 or 2 as parent

Reimplemented from erhic::EventMC.

Definition at line 68 of file EventRapgap.cxx.

View newest version in sPHENIX GitHub at line 68 of file EventRapgap.cxx

References kdfinder::abs(), erhic::EventMC::GetTracks(), and particle.

+ Here is the call graph for this function:

Double32_t erhic::EventRapgap::Get_cs ( ) const
inline

Definition at line 44 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 44 of file EventRapgap.h

References cs.

Double32_t erhic::EventRapgap::Get_phi1 ( ) const
inline

Definition at line 56 of file EventRapgap.h.

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

References phi1.

Double32_t erhic::EventRapgap::Get_pt2_hat ( ) const
inline

Definition at line 57 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 57 of file EventRapgap.h

References pt2_hat.

Double32_t erhic::EventRapgap::Get_Pt_h ( ) const
inline

Definition at line 50 of file EventRapgap.h.

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

References Pt_h.

Double32_t erhic::EventRapgap::Get_q2 ( ) const
inline

Definition at line 47 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 47 of file EventRapgap.h

References q2.

Double32_t erhic::EventRapgap::Get_s ( ) const
inline

Definition at line 46 of file EventRapgap.h.

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

References s.

Double32_t erhic::EventRapgap::Get_sHat ( ) const
inline

Definition at line 58 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 58 of file EventRapgap.h

References sHat.

Double32_t erhic::EventRapgap::Get_sHat2 ( ) const
inline

Definition at line 53 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 53 of file EventRapgap.h

References sHat2.

Double32_t erhic::EventRapgap::Get_sigma_cs ( ) const
inline

Definition at line 45 of file EventRapgap.h.

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

References sigma_cs.

Double32_t erhic::EventRapgap::Get_t ( ) const
inline

Definition at line 51 of file EventRapgap.h.

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

References t.

Double32_t erhic::EventRapgap::Get_x1 ( ) const
inline

Definition at line 55 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 55 of file EventRapgap.h

References x1.

Double32_t erhic::EventRapgap::Get_x_pom ( ) const
inline

Definition at line 52 of file EventRapgap.h.

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

References x_pom.

Double32_t erhic::EventRapgap::Get_xgam ( ) const
inline

Definition at line 48 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 48 of file EventRapgap.h

References xgam.

Double32_t erhic::EventRapgap::Get_xpr ( ) const
inline

Definition at line 49 of file EventRapgap.h.

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

References xpr.

Double32_t erhic::EventRapgap::Get_z ( ) const
inline

Definition at line 54 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 54 of file EventRapgap.h

References z.

bool erhic::EventRapgap::Parse ( const std::string &  )
virtual

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 17 of file EventRapgap.cxx.

View newest version in sPHENIX GitHub at line 17 of file EventRapgap.cxx

References cs, genevent, idir, idisdif, erhic::EventMC::nTracks, erhic::EventMC::number, phi1, erhic::EventMC::process, pt2_hat, Pt_h, q2, s, sHat, sHat2, sigma_cs, t, x1, x_pom, xgam, xpr, erhic::EventDis::y, and z.

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

Returns a pointer to the scattered lepton in the event record. This is the first (only?) particle that matches the following: 1) pdg code equals that of incident lepton beam. 2) status code is 1 i.e. it's a stable/final-state particle. 3) the parent is track 1 or 2

Reimplemented from erhic::EventMC.

Definition at line 36 of file EventRapgap.cxx.

View newest version in sPHENIX GitHub at line 36 of file EventRapgap.cxx

References erhic::EventMC::BeamLepton(), erhic::Pid::Code(), erhic::EventMC::FinalState(), and erhic::VirtualParticle::Id().

+ Here is the call graph for this function:

Member Data Documentation

Double32_t erhic::EventRapgap::cs
protected

Definition at line 66 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 66 of file EventRapgap.h

Referenced by Get_cs(), and Parse().

Int_t erhic::EventRapgap::genevent
protected

Definition at line 64 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 64 of file EventRapgap.h

Referenced by Parse().

Int_t erhic::EventRapgap::idir
protected

Definition at line 62 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 62 of file EventRapgap.h

Referenced by Parse().

Int_t erhic::EventRapgap::idisdif
protected

Definition at line 63 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 63 of file EventRapgap.h

Referenced by Parse().

Double32_t erhic::EventRapgap::phi1
protected

Definition at line 78 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 78 of file EventRapgap.h

Referenced by Get_phi1(), and Parse().

Double32_t erhic::EventRapgap::pt2_hat
protected

Definition at line 79 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 79 of file EventRapgap.h

Referenced by Get_pt2_hat(), and Parse().

Double32_t erhic::EventRapgap::Pt_h
protected

Definition at line 72 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 72 of file EventRapgap.h

Referenced by Get_Pt_h(), and Parse().

Double32_t erhic::EventRapgap::q2
protected

Definition at line 69 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 69 of file EventRapgap.h

Referenced by Get_q2(), and Parse().

Double32_t erhic::EventRapgap::s
protected

Definition at line 68 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 68 of file EventRapgap.h

Referenced by Get_s(), and Parse().

Double32_t erhic::EventRapgap::sHat
protected

Definition at line 80 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 80 of file EventRapgap.h

Referenced by Get_sHat(), and Parse().

Double32_t erhic::EventRapgap::sHat2
protected

Definition at line 75 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 75 of file EventRapgap.h

Referenced by Get_sHat2(), and Parse().

Double32_t erhic::EventRapgap::sigma_cs
protected

Definition at line 67 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 67 of file EventRapgap.h

Referenced by Get_sigma_cs(), and Parse().

Double32_t erhic::EventRapgap::t
protected

Definition at line 73 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 73 of file EventRapgap.h

Referenced by Get_t(), and Parse().

Double32_t erhic::EventRapgap::x1
protected

Definition at line 77 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 77 of file EventRapgap.h

Referenced by Get_x1(), and Parse().

Double32_t erhic::EventRapgap::x_pom
protected

Definition at line 74 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 74 of file EventRapgap.h

Referenced by Get_x_pom(), and Parse().

Double32_t erhic::EventRapgap::xgam
protected

Definition at line 70 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 70 of file EventRapgap.h

Referenced by Get_xgam(), and Parse().

Double32_t erhic::EventRapgap::xpr
protected

Definition at line 71 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 71 of file EventRapgap.h

Referenced by Get_xpr(), and Parse().

Double32_t erhic::EventRapgap::z
protected

Definition at line 76 of file EventRapgap.h.

View newest version in sPHENIX GitHub at line 76 of file EventRapgap.h

Referenced by eicpy.qaplots.LogAxis::apply(), Get_z(), Parse(), and eicpy.qaplots.LogAxis::rebin().


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