#include <IsGenNonInteracting.h>
Inheritance diagram for IsGenNonInteracting:
Public Member Functions | |
IsGenNonInteracting () | |
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 19 of file IsGenNonInteracting.h.
IsGenNonInteracting::IsGenNonInteracting | ( | ) |
GenIMCselector * IsGenNonInteracting::create | ( | ) | const [virtual] |
Implements GenIMCselector.
Definition at line 23 of file IsGenNonInteracting.cxx.
References IsGenNonInteracting().
00023 {return new IsGenNonInteracting(*this);}
Definition at line 26 of file GenIMCselector.h.
References GenIMCselector::operator()().
00026 {return this->operator()(&p);}
Definition at line 20 of file IsGenNonInteracting.cxx.
References operator()().
00020 { 00021 return this->operator()(&p); 00022 }
Implements GenIMCselector.
Definition at line 13 of file IsGenNonInteracting.cxx.
References abs.
Referenced by operator()().
00013 { 00014 return (abs(p->pdg_id())==12 || abs(p->pdg_id())==14 00015 || abs(p->pdg_id())==16 || 00016 (abs(p->pdg_id())==1000039 && p->status()%1000==1 ) || 00017 (abs(p->pdg_id())==1000022 && p->status()%1000==1 ) ) ? true:false; 00018 }