#include <IsGenStable.h>
Inheritance diagram for IsGenStable:
Public Member Functions | |
IsGenStable () | |
GenIMCselector * | create () const |
virtual bool | operator() (const Particle *const p) const |
virtual bool | operator() (const Particle &p) const |
bool | operator() (const Particle &p) |
Definition at line 18 of file IsGenStable.h.
IsGenStable::IsGenStable | ( | ) |
GenIMCselector * IsGenStable::create | ( | ) | const [virtual] |
Implements GenIMCselector.
Definition at line 20 of file IsGenStable.cxx.
References IsGenStable().
00020 {return new IsGenStable(*this);}
Definition at line 26 of file GenIMCselector.h.
References GenIMCselector::operator()().
00026 {return this->operator()(&p);}
Definition at line 17 of file IsGenStable.cxx.
References operator()().
00017 { 00018 return this->operator()(&p); 00019 }
Implements GenIMCselector.
Definition at line 13 of file IsGenStable.cxx.
Referenced by operator()().
00013 { 00014 return ( ((p->status()%1000 == 1) || (p->status()%1000 == 2 && p->status() > 1000)) && 00015 (p->barcode()<100000) ) ? true:false; 00016 }