C++InterfacetoTauola
Public Member Functions | Private Attributes
TauolaHepMC3Event Class Reference
Inheritance diagram for TauolaHepMC3Event:
Inheritance graph
Collaboration diagram for TauolaHepMC3Event:
Collaboration graph

Public Member Functions

 TauolaHepMC3Event (GenEvent *event)
 
GenEvent * getEvent ()
 
std::vector< TauolaParticle * > findParticles (int pdgID)
 
std::vector< TauolaParticle * > findStableParticles (int pdgID)
 
void eventEndgame ()
 
 TauolaHepMC3Event (GenEvent *event)
 
GenEvent * getEvent ()
 
std::vector< TauolaParticle * > findParticles (int pdgID)
 
std::vector< TauolaParticle * > findStableParticles (int pdgID)
 
void eventEndgame ()
 
std::vector< TauolaParticle * > findPairs ()
 
std::vector< TauolaParticle * > findPairs ()
 
void decayTaus ()
 
void decayTaus ()
 
void undecayTaus ()
 
void undecayTaus ()
 

Private Attributes

GenEvent * m_event
 
std::vector< TauolaParticle * > m_tau_list
 
string m_momentum_unit
 
string m_length_unit
 

Detailed Description

Definition at line 28 of file include/Tauola/TauolaHepMC3Event.h.

Constructor & Destructor Documentation

TauolaHepMC3Event ( GenEvent *  event)

Constructor which keeps a pointer to the GenEvent

Definition at line 9 of file TauolaHepMC3Event.cxx.

TauolaHepMC3Event ( GenEvent *  event)

Constructor which keeps a pointer to the GenEvent

Member Function Documentation

void decayTaus ( )
inherited

Decay taus in this event.

Definition at line 19 of file TauolaEvent.cxx.

References TauolaParticlePair::checkMomentumConservation(), and TauolaParticlePair::decayTauPair().

void decayTaus ( )
inherited

Decay taus in this event.

void eventEndgame ( )
virtual

Overriding of TauolaEvent decayEndgame method. Converts the momentum and length units

Reimplemented from TauolaEvent.

Definition at line 92 of file TauolaHepMC3Event.cxx.

void eventEndgame ( )
virtual

Overriding of TauolaEvent decayEndgame method. Converts the momentum and length units

Reimplemented from TauolaEvent.

std::vector<TauolaParticle*> findPairs ( )
inherited

create TauolaParticlePairs

std::vector<TauolaParticle*> findPairs ( )
inherited

create TauolaParticlePairs

std::vector< TauolaParticle * > findParticles ( int  pdgID)
virtual

Implementation of TauolaEvent virtual method. This returns a list of particles in the event with pdg id = "pdgID".

Implements TauolaEvent.

Definition at line 42 of file TauolaHepMC3Event.cxx.

std::vector<TauolaParticle*> findParticles ( int  pdgID)
virtual

Implementation of TauolaEvent virtual method. This returns a list of particles in the event with pdg id = "pdgID".

Implements TauolaEvent.

std::vector<TauolaParticle*> findStableParticles ( int  pdgID)
virtual

Implementation of TauolaEven virtual method. This returns a list of particles in the event with pdg id = "pdgID" and stable status code.

Implements TauolaEvent.

std::vector< TauolaParticle * > findStableParticles ( int  pdgID)
virtual

Implementation of TauolaEven virtual method. This returns a list of particles in the event with pdg id = "pdgID" and stable status code.

GenEvent::particle_const_iterator part_itr = m_event->particles_begin(); loop over all particle in the event looking for taus (or other) for( ; part_itr!=m_event->particles_end(); part_itr++){ if(fabs((*part_itr)->pdg_id())==pdg_id){ if((*part_itr)->end_vertex()){ cout << "WARNING: Particle with pdg code " << (*part_itr)->pdg_id() << " has end vertex" <<endl; } else list.push_back(new TauolaHepMC3Particle(*part_itr)); } }

Implements TauolaEvent.

Definition at line 55 of file TauolaHepMC3Event.cxx.

GenEvent* getEvent ( )

Returns the GenEvent

GenEvent * getEvent ( )

Returns the GenEvent

Definition at line 38 of file TauolaHepMC3Event.cxx.

void undecayTaus ( )
inherited

Undecay taus in this event but removing their daughters and returning the status cods to 1.

Definition at line 9 of file TauolaEvent.cxx.

void undecayTaus ( )
inherited

Undecay taus in this event but removing their daughters and returning the status cods to 1.

Field Documentation

GenEvent * m_event
private

The event

Definition at line 57 of file include/Tauola/TauolaHepMC3Event.h.

string m_length_unit
private

Length unit name

Definition at line 63 of file include/Tauola/TauolaHepMC3Event.h.

string m_momentum_unit
private

Momentum unit name

Definition at line 61 of file include/Tauola/TauolaHepMC3Event.h.

std::vector< TauolaParticle * > m_tau_list
private

List of particles to be decayed

Definition at line 59 of file include/Tauola/TauolaHepMC3Event.h.


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