HepMC Reference Documentation

HepMC

IsPhoton Class Reference

example class More...

List of all members.

Public Member Functions

bool operator() (const HepMC::GenParticle *p)
 returns true if the GenParticle is a photon with more than 10 GeV transverse momentum


Detailed Description

example class

this predicate returns true if the input particle is a photon in the central region (eta < 2.5) with pT > 10 GeV

Examples:

example_UsingIterators.cc.

Definition at line 20 of file example_UsingIterators.cc.


Member Function Documentation

bool IsPhoton::operator() ( const HepMC::GenParticle p  )  [inline]

returns true if the GenParticle is a photon with more than 10 GeV transverse momentum

Examples:
example_UsingIterators.cc.

Definition at line 23 of file example_UsingIterators.cc.

References p.


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