#include <IsGenerator.h>
Inheritance diagram for IsGenerator:
Public Member Functions | |
IsGenerator () | |
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 16 of file IsGenerator.h.
IsGenerator::IsGenerator | ( | ) |
GenIMCselector * IsGenerator::create | ( | ) | const [virtual] |
Implements GenIMCselector.
Definition at line 23 of file IsGenerator.cxx.
References IsGenerator().
00023 {return new IsGenerator(*this);}
Definition at line 26 of file GenIMCselector.h.
References GenIMCselector::operator()().
00026 {return this->operator()(&p);}
Definition at line 20 of file IsGenerator.cxx.
References operator()().
00020 { 00021 return this->operator()(&p); 00022 }
Implements GenIMCselector.
Definition at line 13 of file IsGenerator.cxx.
Referenced by operator()().
00013 { 00014 return ( p->barcode() < 100000 && ( p->status()<200 || 00015 p->status()%1000 == 1 || 00016 p->status()%1000 == 2 ) ) ? true:false; 00017 // conforms to PDG standard and accomodates the generated partilces that are copied to kine 00018 }