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 ()
 
 PhotosHepMCEvent (HepMC::GenEvent *event)
 
HepMC::GenEvent * getEvent ()
 
std::vector< PhotosParticle * > getParticleList ()
 
void print ()
 
void process ()
 
void process ()
 

Private Member Functions

vector< PhotosParticle * > filterParticles (vector< PhotosParticle * > particles)
 
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 src/eventRecordInterfaces/PhotosHepMCEvent.h.

Constructor & Destructor Documentation

◆ ~PhotosHepMCEvent()

Definition at line 34 of file PhotosHepMCEvent.cxx.

◆ PhotosHepMCEvent() [1/2]

PhotosHepMCEvent ( HepMC::GenEvent * event)

Constructor which keeps a pointer to the HepMC::GenEvent

Definition at line 10 of file PhotosHepMCEvent.cxx.

References m_event, particles, and Photos::setMomentumUnit().

◆ PhotosHepMCEvent() [2/2]

PhotosHepMCEvent ( HepMC::GenEvent * event)

Constructor which keeps a pointer to the HepMC::GenEvent

Member Function Documentation

◆ filterParticles() [1/2]

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.

◆ filterParticles() [2/2]

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

Filter suppressed and invalid particles.

References m_branch_points.

◆ getEvent() [1/2]

HepMC::GenEvent * getEvent ( )

Returns the HepMC::GenEvent

Definition at line 44 of file PhotosHepMCEvent.cxx.

References m_event.

◆ getEvent() [2/2]

HepMC::GenEvent * getEvent ( )

Returns the HepMC::GenEvent

◆ getParticleList() [1/2]

vector< PhotosParticle * > getParticleList ( )
virtual

Returns the list of particles

Implements PhotosEvent.

Definition at line 55 of file PhotosHepMCEvent.cxx.

References particles.

◆ getParticleList() [2/2]

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

Returns the list of particles

Implements PhotosEvent.

◆ print() [1/2]

void print ( )
virtual

Prints event summary

Implements PhotosEvent.

Definition at line 49 of file PhotosHepMCEvent.cxx.

References m_event.

◆ print() [2/2]

void print ( )
virtual

Prints event summary

Implements PhotosEvent.

References m_event, and particles.

◆ process() [1/2]

void process ( )
inherited

Process event

Definition at line 21 of file PhotosEvent.cxx.

References PhotosBranch::createBranches(), filterParticles(), getParticleList(), and m_branch_points.

◆ process() [2/2]

void process ( )
inherited

Process event

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 include/Photos/PhotosEvent.h.

◆ m_event

HepMC::GenEvent * m_event
private

The event

Definition at line 47 of file include/Photos/PhotosHepMCEvent.h.

◆ particles

std::vector< PhotosParticle * > particles
private

Particle list

Definition at line 49 of file include/Photos/PhotosHepMCEvent.h.


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