#include <IsFinalState.h>
Inheritance diagram for HepMC_helper::IsFinalState:
Public Member Functions | |
IsFinalState () | |
IMCselector * | create () const |
virtual bool | operator() (const Particle *const p) const |
virtual bool | operator() (const Particle &p) const |
bool | operator() (const Particle &p) |
Private Attributes | |
IsGenStable | m_igs |
Atlfast::ChargeService | m_chargeService |
Definition at line 24 of file IsFinalState.h.
HepMC_helper::IsFinalState::IsFinalState | ( | ) |
IMCselector * HepMC_helper::IsFinalState::create | ( | ) | const [virtual] |
Implements HepMC_helper::IMCselector.
Definition at line 41 of file HepMC_helper.cxx.
00041 {return new IsFinalState(*this);}
bool HepMC_helper::IsFinalState::operator() | ( | const Particle *const | p | ) | const [virtual] |
Implements HepMC_helper::IMCselector.
Definition at line 28 of file HepMC_helper.cxx.
00028 { 00029 if ( !m_igs(p) ) return false; 00030 if ( m_chargeService.operator()(p) == -999. ){ 00031 std::cout << "HepMC_helper::IsFinalState ignoring this one, particle will NOT be fast-simulated" << std::endl; 00032 return false; 00033 } 00034 return true; 00035 }
bool HepMC_helper::IsFinalState::operator() | ( | const Particle & | p | ) | const [virtual] |
bool HepMC_helper::IMCselector::operator() | ( | const Particle & | p | ) | [inline, inherited] |
IsGenStable HepMC_helper::IsFinalState::m_igs [private] |
Definition at line 32 of file IsFinalState.h.
Definition at line 33 of file IsFinalState.h.