#include <IsGenStable.h>
Definition at line 17 of file IsGenStable.h.
◆ IsGenStable()
| IsGenStable::IsGenStable |
( |
| ) |
|
◆ create()
◆ operator()() [1/2]
| bool IsGenStable::operator() |
( |
const Particle & | p | ) |
const |
|
virtual |
Definition at line 20 of file IsGenStable.cxx.
virtual bool operator()(const Particle *const p) const
◆ operator()() [2/2]
| bool IsGenStable::operator() |
( |
const Particle *const | p | ) |
const |
|
virtual |
Implements GenIMCselector.
Definition at line 13 of file IsGenStable.cxx.
13 {
14 return ( ( ( p->status() % 1000 == 1 ) ||
15 ( p->status() % 1000 == 2 && p->status() > 1000 ) ) &&
16 ( p->barcode() < 100000 ) )
17 ? true
18 : false;
19}
Referenced by operator()().
The documentation for this class was generated from the following files: