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

Public Member Functions

 PhotosHepMCEvent (HepMC::GenEvent *event)
 
HepMC::GenEvent * getEvent ()
 
std::vector< PhotosParticle * > getParticleList ()
 
void print ()
 
void process ()
 

Private Member Functions

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

Private Attributes

HepMC::GenEvent * m_event
 
std::vector< PhotosParticle * > particles
 
vector< PhotosBranch * > m_branch_points
 

Detailed Description

Definition at line 29 of file PhotosHepMCEvent.h.

Constructor & Destructor Documentation

◆ PhotosHepMCEvent()

PhotosHepMCEvent ( HepMC::GenEvent *  event)

Constructor which keeps a pointer to the HepMC::GenEvent

Definition at line 10 of file PhotosHepMCEvent.cxx.

Member Function Documentation

◆ 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.

◆ getEvent()

HepMC::GenEvent * getEvent ( )

Returns the HepMC::GenEvent

Definition at line 44 of file PhotosHepMCEvent.cxx.

◆ getParticleList()

vector< PhotosParticle * > getParticleList ( )
virtual

Returns the list of particles

Implements PhotosEvent.

Definition at line 55 of file PhotosHepMCEvent.cxx.

◆ print()

void print ( )
virtual

Prints event summary

Implements PhotosEvent.

Definition at line 49 of file PhotosHepMCEvent.cxx.

References PhotosParticle::print().

◆ process()

void process ( )
inherited

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.

◆ m_event

HepMC::GenEvent* m_event
private

The event

Definition at line 47 of file PhotosHepMCEvent.h.

◆ particles

std::vector<PhotosParticle *> particles
private

Particle list

Definition at line 49 of file PhotosHepMCEvent.h.


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