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

Realisation of hadronic::EventMC as an event with detector smearing. More...

#include <EventSmear.h>

Inheritance diagram for erhic::hadronic::EventSmear:
erhic::VirtualEvent

Public Member Functions

virtual ~EventSmear ()
 Destructor. More...
 
 EventSmear ()
 Constructor. More...
 
virtual const Smear::ParticleMCSGetTrack (UInt_t) const
 Returns the numbered track for the event. More...
 
virtual Smear::ParticleMCSGetTrack (UInt_t)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual UInt_t GetNTracks () const
 Returns the number of tracks in the event. More...
 
virtual void AddLast (Smear::ParticleMCS *)
 Add a particle to the end of the list. More...
 
- Public Member Functions inherited from erhic::VirtualEvent
virtual ~VirtualEvent ()
 Destructor. More...
 
virtual void HadronicFinalState (ParticlePtrList &) const
 Populate a track list with the hadronic final-state. More...
 

Protected Attributes

std::vector< Smear::ParticleMCS * > particles
 

Additional Inherited Members

- Public Types inherited from erhic::VirtualEvent
typedef std::vector< const erhic::VirtualParticle * > ParticlePtrList
 typedef for a track pointer collection. More...
 

Detailed Description

Realisation of hadronic::EventMC as an event with detector smearing.

Definition at line 28 of file hadronic/EventSmear.h.

Constructor & Destructor Documentation

◆ ~EventSmear()

erhic::hadronic::EventSmear::~EventSmear ( )
virtual

Destructor.

Definition at line 14 of file hadronic/EventSmear.cxx.

◆ EventSmear()

erhic::hadronic::EventSmear::EventSmear ( )

Constructor.

Definition at line 21 of file hadronic/EventSmear.cxx.

Member Function Documentation

◆ AddLast()

void erhic::hadronic::EventSmear::AddLast ( Smear::ParticleMCS p)
virtual

Add a particle to the end of the list.

Definition at line 36 of file hadronic/EventSmear.cxx.

◆ GetNTracks()

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

Returns the number of tracks in the event.

Implements erhic::VirtualEvent.

Definition at line 32 of file hadronic/EventSmear.cxx.

◆ GetTrack() [1/2]

Smear::ParticleMCS * erhic::hadronic::EventSmear::GetTrack ( UInt_t  i)
virtual

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 28 of file hadronic/EventSmear.cxx.

◆ GetTrack() [2/2]

const Smear::ParticleMCS * erhic::hadronic::EventSmear::GetTrack ( UInt_t  i) const
virtual

Returns the numbered track for the event.

Implements erhic::VirtualEvent.

Definition at line 24 of file hadronic/EventSmear.cxx.

Member Data Documentation

◆ particles

std::vector<Smear::ParticleMCS*> erhic::hadronic::EventSmear::particles
protected

Definition at line 61 of file hadronic/EventSmear.h.


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