Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
PhotosHEPEVTEvent Class Reference
Inheritance diagram for PhotosHEPEVTEvent:
Inheritance graph
Collaboration diagram for PhotosHEPEVTEvent:
Collaboration graph

Public Member Functions

 ~PhotosHEPEVTEvent ()
 
 PhotosHEPEVTEvent ()
 
void addParticle (PhotosHEPEVTParticle *p)
 
PhotosHEPEVTParticlegetParticle (int i)
 
void setParticle (int i, PhotosHEPEVTParticle *p)
 
int getParticleCount ()
 
std::vector< PhotosParticle * > getParticleList ()
 
void print ()
 
void clear ()
 
void process ()
 

Static Public Member Functions

static void read_event_from_HEPEVT (PhotosHEPEVTEvent *evt)
 
static void write_event_to_HEPEVT (PhotosHEPEVTEvent *evt)
 

Private Member Functions

vector< PhotosParticle * > filterParticles (vector< PhotosParticle * > particles)
 

Private Attributes

std::vector< PhotosHEPEVTParticle * > particle_list
 
vector< PhotosBranch * > m_branch_points
 

Detailed Description

Definition at line 28 of file PhotosHEPEVTEvent.h.

Constructor & Destructor Documentation

◆ ~PhotosHEPEVTEvent()

Default destructor

Definition at line 33 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ PhotosHEPEVTEvent()

Default constructor

Definition at line 38 of file PhotosHEPEVTEvent.cxx.

References Photos::setMomentumUnit().

Member Function Documentation

◆ addParticle()

void addParticle ( PhotosHEPEVTParticle p)

Add particle at the end of event record

Definition at line 46 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list, PhotosHEPEVTParticle::setBarcode(), and PhotosHEPEVTParticle::setEvent().

◆ clear()

void clear ( )

Remove all particles from the event

Definition at line 86 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ filterParticles()

vector< PhotosParticle * > filterParticles ( vector< PhotosParticle * >  particles)
privateinherited

Filter suppressed and invalid particles.

Definition at line 32 of file PhotosEvent.cxx.

References Log::Debug(), PhotosParticle::getDaughters(), PhotosParticle::getPdgID(), PhotosParticle::getStatus(), and PhotosParticle::STABLE.

◆ getParticle()

PhotosHEPEVTParticle * getParticle ( int  i)

Get particle at index 'i'

Definition at line 54 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ getParticleCount()

int getParticleCount ( )

Get higher-most index of the particles in event (nhep)

Definition at line 66 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ getParticleList()

std::vector< PhotosParticle * > getParticleList ( )
virtual

Get an unfiltered list of particles from the event record

Implements PhotosEvent.

Definition at line 71 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ print()

void print ( )
virtual

Print out list of particles in the event

Implements PhotosEvent.

Definition at line 80 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ process()

void process ( )
inherited

◆ read_event_from_HEPEVT()

void read_event_from_HEPEVT ( PhotosHEPEVTEvent evt)
static

Fill PhotosHEPEVTEvent from HEPEVT common block

Definition at line 92 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::addParticle().

◆ setParticle()

void setParticle ( int  i,
PhotosHEPEVTParticle p 
)

Set particle at index 'i'

Definition at line 60 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

◆ write_event_to_HEPEVT()

void write_event_to_HEPEVT ( PhotosHEPEVTEvent evt)
static

Field Documentation

◆ m_branch_points

vector<PhotosBranch *> m_branch_points
privateinherited

branch points which should be given to PHOTOS

Definition at line 44 of file PhotosEvent.h.

◆ particle_list

std::vector<PhotosHEPEVTParticle*> particle_list
private

List of all particles

Definition at line 68 of file PhotosHEPEVTEvent.h.


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