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

#include <eic-smear/blob/master/include/eicsmear/hadronic/EventSmear.h>

+ Inheritance diagram for erhic::hadronic::EventSmear:
+ Collaboration diagram for erhic::hadronic::EventSmear:

Public Member Functions

virtual ~EventSmear ()
 
 EventSmear ()
 
virtual const Smear::ParticleMCSGetTrack (UInt_t) const
 
virtual Smear::ParticleMCSGetTrack (UInt_t)
 
virtual UInt_t GetNTracks () const
 
virtual void AddLast (Smear::ParticleMCS *)
 
- Public Member Functions inherited from erhic::VirtualEvent
virtual ~VirtualEvent ()
 
virtual void HadronicFinalState (ParticlePtrList &) const
 

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 28 of file EventSmear.h.

View newest version in sPHENIX GitHub at line 28 of file EventSmear.h

Constructor & Destructor Documentation

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

Destructor.

Definition at line 14 of file EventSmear.cxx.

View newest version in sPHENIX GitHub at line 14 of file EventSmear.cxx

References GetNTracks(), and particles.

+ Here is the call graph for this function:

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

Constructor.

Definition at line 21 of file EventSmear.cxx.

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

Member Function Documentation

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

Add a particle to the end of the list.

Definition at line 36 of file EventSmear.cxx.

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

References particles.

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 EventSmear.cxx.

View newest version in sPHENIX GitHub at line 32 of file EventSmear.cxx

References particles.

Referenced by ~EventSmear().

+ Here is the caller graph for this function:

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 EventSmear.cxx.

View newest version in sPHENIX GitHub at line 24 of file EventSmear.cxx

References particles.

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 EventSmear.cxx.

View newest version in sPHENIX GitHub at line 28 of file EventSmear.cxx

References particles.

Member Data Documentation

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

Definition at line 61 of file EventSmear.h.

View newest version in sPHENIX GitHub at line 61 of file EventSmear.h

Referenced by AddLast(), GetNTracks(), GetTrack(), and ~EventSmear().


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