HepMC Reference Documentation

HepMC

IsGoodEvent Class Reference

used in the tests More...

#include <IsGoodEvent.h>

List of all members.

Public Member Functions

bool operator() (const HepMC::GenEvent *evt)


Detailed Description

used in the tests

event selection predicate. returns true if the event contains a photon with pT > 50 GeV

Examples:

testHepMC.cc.in, testHepMCIteration.cc.in, testMass.cc.in, testMultipleCopies.cc.in, and testStreamIO.cc.in.

Definition at line 14 of file IsGoodEvent.h.


Member Function Documentation

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().


The documentation for this class was generated from the following file:
Generated on Thu Jan 7 13:10:17 2010 for HepMC by  doxygen 1.4.7