![]() |
HepMC Reference DocumentationHepMC |
Public Member Functions | |
bool | operator() (const HepMC::GenParticle *p) |
returns true if the GenParticle is a photon with more than 10 GeV transverse momentum |
this predicate returns true if the input particle is a photon in the central region (eta < 2.5) with pT > 10 GeV
Definition at line 20 of file example_UsingIterators.cc.
bool IsPhoton::operator() | ( | const HepMC::GenParticle * | p | ) | [inline] |
returns true if the GenParticle is a photon with more than 10 GeV transverse momentum
Definition at line 23 of file example_UsingIterators.cc.
References p.