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

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

+ Inheritance diagram for EicRcEvent:
+ Collaboration diagram for EicRcEvent:

Public Member Functions

 EicRcEvent ()
 
virtual ~EicRcEvent ()
 
virtual void ClearParticles ()
 
virtual UInt_t GetNTracks () const
 
virtual const EicRcParticleGetTrack (UInt_t u) const
 
virtual EicRcParticleGetTrack (UInt_t u)
 
const erhic::EventMCGetGenMcEvent () const
 
const erhic::ParticleMCGetGenMcTrack (int genMcIndex) const
 
EicRcParticleGetRcParticleMatchingGenMcTrack (unsigned genMcIndex) const
 
const erhic::ParticleMCBeamLepton () const
 
const erhic::ParticleMCBeamHadron () const
 
const erhic::ParticleMCExchangeBoson () const
 
virtual const EicRcParticleScatteredLepton () const
 
void HadronicFinalState (ParticlePtrList &) const
 
 ClassDef (EicRcEvent, 7)
 
- 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 ()
 

Private Attributes

Int_t mScatteredLeptonID
 
std::vector< EicRcParticle * > mParticles
 the reconstructed particle list
 

Friends

class EicEventAssembler
 

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

Definition at line 16 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 16 of file EicRcEvent.h

Constructor & Destructor Documentation

EicRcEvent::EicRcEvent ( )
inline

Default constructor

Definition at line 22 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 22 of file EicRcEvent.h

virtual EicRcEvent::~EicRcEvent ( )
inlinevirtual

Destructor

Definition at line 25 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 25 of file EicRcEvent.h

References ClearParticles().

+ Here is the call graph for this function:

Member Function Documentation

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

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

Implements erhic::EventDis.

Definition at line 75 of file EicRcEvent.h.

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

References erhic::EventMC::BeamHadron(), and GetGenMcEvent().

+ Here is the call graph for this function:

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

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

Implements erhic::EventDis.

Definition at line 73 of file EicRcEvent.h.

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

References erhic::EventMC::BeamLepton(), and GetGenMcEvent().

Referenced by EicEventAssembler::AssignScatteredLepton().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EicRcEvent::ClassDef ( EicRcEvent  ,
 
)
void EicRcEvent::ClearParticles ( )
virtual

Clears particle array, leaves event variables unchanged

Definition at line 30 of file EicRcEvent.cxx.

View newest version in sPHENIX GitHub at line 30 of file EicRcEvent.cxx

References GetTrack(), mParticles, and particle.

Referenced by ~EicRcEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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

Implements erhic::EventDis.

Definition at line 76 of file EicRcEvent.h.

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

const erhic::EventMC * EicRcEvent::GetGenMcEvent ( ) const

Definition at line 12 of file EicRcEvent.cxx.

View newest version in sPHENIX GitHub at line 12 of file EicRcEvent.cxx

References EicRootManager::GetGenMcEvent(), and EicRootManager::Instance().

Referenced by analysis(), BeamHadron(), and BeamLepton().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const erhic::ParticleMC * EicRcEvent::GetGenMcTrack ( int  genMcIndex) const

Definition at line 21 of file EicRcEvent.cxx.

View newest version in sPHENIX GitHub at line 21 of file EicRcEvent.cxx

References EicRootManager::GetGenMcTrack(), and EicRootManager::Instance().

+ Here is the call graph for this function:

virtual UInt_t EicRcEvent::GetNTracks ( ) const
inlinevirtual

Returns the number of tracks in the event.

Implements erhic::VirtualEvent.

Definition at line 36 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 36 of file EicRcEvent.h

References mParticles.

Referenced by analysis(), and HadronicFinalState().

+ Here is the caller graph for this function:

EicRcParticle * EicRcEvent::GetRcParticleMatchingGenMcTrack ( unsigned  genMcIndex) const

Definition at line 41 of file EicRcEvent.cxx.

View newest version in sPHENIX GitHub at line 41 of file EicRcEvent.cxx

References EicRcParticle::GetGeneratorIndex(), EicRcParticle::GetPndMCTrackIndex(), mParticles, and particle.

+ Here is the call graph for this function:

virtual const EicRcParticle* EicRcEvent::GetTrack ( UInt_t  u) const
inlinevirtual

Return the nth track. Return NULL if the track number is out of the range [0, GetNTracks()-1].

Parameters
[in]Thetrack index, in the range [0, GetNTracks()-1].

Implements erhic::VirtualEvent.

Definition at line 43 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 43 of file EicRcEvent.h

References mParticles.

Referenced by ClearParticles(), and HadronicFinalState().

+ Here is the caller graph for this function:

virtual EicRcParticle* EicRcEvent::GetTrack ( UInt_t  )
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Implements erhic::VirtualEvent.

Definition at line 46 of file EicRcEvent.h.

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

References mParticles.

void EicRcEvent::HadronicFinalState ( ParticlePtrList final) const
virtual

Yields all particles that belong to the hadronic final state. This is the same as the result of FinalState(), minus the scattered beam lepton.

Reimplemented from erhic::VirtualEvent.

Definition at line 62 of file EicRcEvent.cxx.

View newest version in sPHENIX GitHub at line 62 of file EicRcEvent.cxx

References ClassImp(), GetNTracks(), GetTrack(), mScatteredLeptonID, and particle.

+ Here is the call graph for this function:

virtual const EicRcParticle* EicRcEvent::ScatteredLepton ( ) const
inlinevirtual

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

Implements erhic::EventDis.

Definition at line 78 of file EicRcEvent.h.

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

References mParticles, and mScatteredLeptonID.

Friends And Related Function Documentation

friend class EicEventAssembler
friend

Definition at line 17 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 17 of file EicRcEvent.h

Member Data Documentation

Int_t EicRcEvent::mScatteredLeptonID
private

Definition at line 120 of file EicRcEvent.h.

View newest version in sPHENIX GitHub at line 120 of file EicRcEvent.h

Referenced by EicEventAssembler::AssignScatteredLepton(), HadronicFinalState(), and ScatteredLepton().


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