HepMC Reference Documentation

HepMC

IsEventGood Class Reference

example class More...

List of all members.

Public Member Functions

bool operator() (const HepMC::GenEvent *evt)
 check this event for goodness


Detailed Description

example class

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

Examples:

example_EventSelection.cc.

Definition at line 20 of file example_EventSelection.cc.


Member Function Documentation

bool IsEventGood::operator() ( const HepMC::GenEvent evt  )  [inline]

check this event for goodness

Examples:
example_EventSelection.cc.

Definition at line 23 of file example_EventSelection.cc.

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