#include <IsStatusxx.h>
Inheritance diagram for HepMC_helper::IsStatusxx:
Public Methods | |
IsStatusxx (int stat) | |
IMCselector * | create () const |
bool | operator() (const Particle *const p) const |
bool | operator() (const Particle &p) const |
Private Attributes | |
int | m_stat |
|
Definition at line 20 of file IsStatusxx.h. References m_stat. Referenced by create().
00020 :m_stat(stat) { } |
|
Implements HepMC_helper::IMCselector. Definition at line 42 of file HepMC_helper.cxx. References IsStatusxx().
00042 {return new IsStatusxx(*this);} |
|
Implements HepMC_helper::IMCselector. Definition at line 37 of file HepMC_helper.cxx. References m_stat, and HepMC_helper::Particle. Referenced by operator()().
00037 { 00038 return ( p->status()%100 == m_stat)? true:false;} |
|
Definition at line 39 of file HepMC_helper.cxx. References operator()(), and HepMC_helper::Particle.
00039 { 00040 return this->operator()(&p); 00041 } |
|
Definition at line 25 of file IsStatusxx.h. Referenced by IsStatusxx(), and operator()(). |