PhotosHepMC3Event Class Reference
Inheritance diagram for PhotosHepMC3Event:
Inheritance graph
Collaboration diagram for PhotosHepMC3Event:
Collaboration graph

Public Member Functions

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

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

Detailed Description

Constructor & Destructor Documentation

◆ ~PhotosHepMC3Event()

Definition at line 20 of file PhotosHepMC3Event.cxx.

◆ PhotosHepMC3Event() [1/2]

PhotosHepMC3Event ( GenEvent * event)

Constructor which keeps a pointer to the GenEvent

Definition at line 10 of file PhotosHepMC3Event.cxx.

References m_event, and particles.

◆ PhotosHepMC3Event() [2/2]

PhotosHepMC3Event ( GenEvent * event)

Constructor which keeps a pointer to the 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]

GenEvent * getEvent ( )

Returns the GenEvent

Definition at line 30 of file PhotosHepMC3Event.cxx.

References m_event.

◆ getEvent() [2/2]

GenEvent * getEvent ( )

Returns the GenEvent

◆ getParticleList() [1/2]

vector< PhotosParticle * > getParticleList ( )
virtual

Returns the list of particles

Implements PhotosEvent.

Definition at line 41 of file PhotosHepMC3Event.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 35 of file PhotosHepMC3Event.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

GenEvent * m_event
private

The event

Definition at line 46 of file include/Photos/PhotosHepMC3Event.h.

◆ particles

std::vector< PhotosParticle * > particles
private

Particle list

Definition at line 48 of file include/Photos/PhotosHepMC3Event.h.


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