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::hadronic::EventMC Class Reference

#include <EventMC.h>

Inheritance diagram for erhic::hadronic::EventMC:
erhic::VirtualEvent erhic::hadronic::EventPythiaPP

Public Member Functions

virtual ~EventMC ()
 
 EventMC ()
 
virtual const ParticleMCGetTrack (UInt_t) const
 
virtual ParticleMCGetTrack (UInt_t)
 
virtual UInt_t GetNTracks () const
 
virtual UInt_t Add (ParticleMC *particle)
 
virtual Double_t GetCentreOfMassEnergy () const
 
virtual void Clear (Option_t *="")
 
- Public Member Functions inherited from erhic::VirtualEvent
virtual ~VirtualEvent ()
 
virtual void HadronicFinalState (ParticlePtrList &) const
 

Protected Attributes

TClonesArray mTracks
 

Additional Inherited Members

- Public Types inherited from erhic::VirtualEvent
typedef std::vector< const
erhic::VirtualParticle * > 
ParticlePtrList
 

Detailed Description

A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event.

Definition at line 29 of file EventMC.h.

Constructor & Destructor Documentation

erhic::hadronic::EventMC::~EventMC ( )
virtual

Destructor.

Definition at line 17 of file EventMC.cxx.

erhic::hadronic::EventMC::EventMC ( )

Constructor.

Definition at line 21 of file EventMC.cxx.

Member Function Documentation

UInt_t erhic::hadronic::EventMC::Add ( ParticleMC particle)
virtual

Add a track to the list. The track must be dynamically allocated and is owned by the event. Returns the new list size.

Definition at line 41 of file EventMC.cxx.

void erhic::hadronic::EventMC::Clear ( Option_t *  = "")
virtual

Clear the track list.

Definition at line 25 of file EventMC.cxx.

Double_t erhic::hadronic::EventMC::GetCentreOfMassEnergy ( ) const
virtual

Returns the centre-of-mass energy of the event (GeV)

Definition at line 46 of file EventMC.cxx.

UInt_t erhic::hadronic::EventMC::GetNTracks ( ) const
virtual

Returns the number of tracks in the event.

Implements erhic::VirtualEvent.

Definition at line 37 of file EventMC.cxx.

const ParticleMC * erhic::hadronic::EventMC::GetTrack ( UInt_t  i) const
virtual

Returns the nth track from the event. Indices run from 0 to (n-1).

Implements erhic::VirtualEvent.

Definition at line 29 of file EventMC.cxx.

ParticleMC * erhic::hadronic::EventMC::GetTrack ( UInt_t  i)
virtual

Returns the nth track from the event. Indices run from 0 to (n-1).

Implements erhic::VirtualEvent.

Definition at line 33 of file EventMC.cxx.


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