HepMC Reference Documentation

HepMC

IsGoodEventMyPythia Class Reference

example class More...

List of all members.

Public Member Functions

bool operator() (const HepMC::GenEvent *evt)
 returns true if event is "good"


Detailed Description

example class

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

Examples:

example_MyPythiaWithEventSelection.cc.

Definition at line 28 of file example_MyPythiaWithEventSelection.cc.


Member Function Documentation

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

returns true if event is "good"

Examples:
example_MyPythiaWithEventSelection.cc.

Definition at line 31 of file example_MyPythiaWithEventSelection.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 Wed Mar 12 13:08:10 2008 for HepMC by  doxygen 1.5.1-3