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