![]() |
HepMC Reference DocumentationHepMC |
Public Member Functions | |
bool | operator() (const HepMC::GenEvent *evt) |
returns true if event is "good" |
event selection predicate. returns true if the event contains a photon with pT > 25 GeV
Definition at line 61 of file example_MyPythia.cc.
bool IsGoodEventMyPythia::operator() | ( | const HepMC::GenEvent * | evt | ) | [inline] |
returns true if event is "good"
Definition at line 64 of file example_MyPythia.cc.
References p, HepMC::GenEvent::particles_begin(), and HepMC::GenEvent::particles_end().