![]() |
HepMC Reference DocumentationHepMC |
#include <IsGoodEvent.h>
Public Member Functions | |
bool | operator() (const HepMC::GenEvent *evt) |
event selection predicate. returns true if the event contains a photon with pT > 50 GeV
testHepMC.cc.in, testHepMCIteration.cc.in, testMass.cc.in, testMultipleCopies.cc.in, and testStreamIO.cc.in.
Definition at line 14 of file IsGoodEvent.h.
bool IsGoodEvent::operator() | ( | const HepMC::GenEvent * | evt | ) | [inline] |
Definition at line 16 of file IsGoodEvent.h.
References p, HepMC::GenEvent::particles_begin(), and HepMC::GenEvent::particles_end().