StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
Photospp::PhotosHEPEVTEvent Class Reference
Inheritance diagram for Photospp::PhotosHEPEVTEvent:
Photospp::PhotosEvent Photospp::PhotosEvent

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 ()
 
 ~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 ()
 
- Public Member Functions inherited from Photospp::PhotosEvent
void process ()
 
void process ()
 

Static Public Member Functions

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

Detailed Description

Definition at line 28 of file PhotosHEPEVTEvent.h.

Constructor & Destructor Documentation

Photospp::PhotosHEPEVTEvent::~PhotosHEPEVTEvent ( )

Default destructor

Definition at line 33 of file PhotosHEPEVTEvent.cxx.

Photospp::PhotosHEPEVTEvent::PhotosHEPEVTEvent ( )

Default constructor

Definition at line 38 of file PhotosHEPEVTEvent.cxx.

References Photospp::Photos::setMomentumUnit().

Photospp::PhotosHEPEVTEvent::~PhotosHEPEVTEvent ( )

Default destructor

Photospp::PhotosHEPEVTEvent::PhotosHEPEVTEvent ( )

Default constructor

Member Function Documentation

void Photospp::PhotosHEPEVTEvent::addParticle ( PhotosHEPEVTParticle p)
void Photospp::PhotosHEPEVTEvent::addParticle ( PhotosHEPEVTParticle p)

Add particle at the end of event record

void Photospp::PhotosHEPEVTEvent::clear ( )

Remove all particles from the event

void Photospp::PhotosHEPEVTEvent::clear ( void  )

Remove all particles from the event

Definition at line 86 of file PhotosHEPEVTEvent.cxx.

PhotosHEPEVTParticle * Photospp::PhotosHEPEVTEvent::getParticle ( int  i)
PhotosHEPEVTParticle* Photospp::PhotosHEPEVTEvent::getParticle ( int  i)

Get particle at index 'i'

int Photospp::PhotosHEPEVTEvent::getParticleCount ( )

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

Definition at line 66 of file PhotosHEPEVTEvent.cxx.

Referenced by Photospp::PhotosHEPEVTParticle::getDaughters(), and write_event_to_HEPEVT().

int Photospp::PhotosHEPEVTEvent::getParticleCount ( )

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

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

Get an unfiltered list of particles from the event record

Implements Photospp::PhotosEvent.

Definition at line 71 of file PhotosHEPEVTEvent.cxx.

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

Get an unfiltered list of particles from the event record

Implements Photospp::PhotosEvent.

void Photospp::PhotosHEPEVTEvent::print ( )
virtual

Print out list of particles in the event

Implements Photospp::PhotosEvent.

Definition at line 80 of file PhotosHEPEVTEvent.cxx.

void Photospp::PhotosHEPEVTEvent::print ( )
virtual

Print out list of particles in the event

Implements Photospp::PhotosEvent.

void Photospp::PhotosHEPEVTEvent::read_event_from_HEPEVT ( PhotosHEPEVTEvent evt)
static

Fill PhotosHEPEVTEvent from HEPEVT common block

Definition at line 92 of file PhotosHEPEVTEvent.cxx.

References addParticle().

static void Photospp::PhotosHEPEVTEvent::read_event_from_HEPEVT ( PhotosHEPEVTEvent evt)
static

Fill PhotosHEPEVTEvent from HEPEVT common block

void Photospp::PhotosHEPEVTEvent::setParticle ( int  i,
PhotosHEPEVTParticle p 
)

Set particle at index 'i'

void Photospp::PhotosHEPEVTEvent::setParticle ( int  i,
PhotosHEPEVTParticle p 
)

Set particle at index 'i'

Definition at line 60 of file PhotosHEPEVTEvent.cxx.

Referenced by Photospp::PhotosHEPEVTParticle::addDaughter().

static void Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT ( PhotosHEPEVTEvent evt)
static

Write to HEPEVT common block content of PhotosHEPEVTEvent

void Photospp::PhotosHEPEVTEvent::write_event_to_HEPEVT ( PhotosHEPEVTEvent evt)
static

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