Public Member Functions | Static Public 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 Attributes

std::vector
< PhotosHEPEVTParticle * > 
particle_list
 

Detailed Description

Definition at line 28 of file PhotosHEPEVTEvent.h.

Constructor & Destructor Documentation

Default destructor

Definition at line 33 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

Default constructor

Definition at line 38 of file PhotosHEPEVTEvent.cxx.

References Photos::setMomentumUnit().

Member Function Documentation

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().

void clear ( )

Remove all particles from the event

Definition at line 86 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

PhotosHEPEVTParticle * getParticle ( int  i)

Get particle at index 'i'

Definition at line 54 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

int getParticleCount ( )

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

Definition at line 66 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

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.

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.

void process ( )
inherited
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().

void setParticle ( int  i,
PhotosHEPEVTParticle p 
)

Set particle at index 'i'

Definition at line 60 of file PhotosHEPEVTEvent.cxx.

References PhotosHEPEVTEvent::particle_list.

void write_event_to_HEPEVT ( PhotosHEPEVTEvent evt)
static

Field Documentation

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: