![]() |
HepMC Reference DocumentationHepMC |
Public Member Functions | |
bool | operator() (const HepMC::GenEvent *evt) |
check this event for goodness |
event selection predicate. returns true if the event contains a photon with pT > 50 GeV
Definition at line 20 of file example_EventSelection.cc.
bool IsEventGood::operator() | ( | const HepMC::GenEvent * | evt | ) | [inline] |
check this event for goodness
Definition at line 23 of file example_EventSelection.cc.
References p, HepMC::GenEvent::particles_begin(), and HepMC::GenEvent::particles_end().