HepMC Reference Documentation

HepMC

testHepMCIteration.h File Reference

Go to the source code of this file.

Classes

class  IsFinalState
 test class More...

Functions

bool IsPhoton (const HepMC::GenParticle *p)
 returns true if the GenParticle particle is a photon with pT > 10 GeV
bool IsWBoson (const HepMC::GenParticle *p)
 returns true if the GenParticle is a W+/W-


Function Documentation

bool IsPhoton ( const HepMC::GenParticle p  ) 

returns true if the GenParticle particle is a photon with pT > 10 GeV

Examples:
testHepMCIteration.cc.in.

Definition at line 10 of file testHepMCIteration.h.

References p.

bool IsWBoson ( const HepMC::GenParticle p  ) 

returns true if the GenParticle is a W+/W-

Examples:
testHepMCIteration.cc.in.

Definition at line 17 of file testHepMCIteration.h.

References p.


Generated on Thu Jan 7 13:10:17 2010 for HepMC by  doxygen 1.4.7