HepMC Reference Documentation

HepMC

PrintPhoton Class Reference

#include <testHepMCIteration.h>

List of all members.

Public Member Functions

 PrintPhoton (std::ostream &os)
void operator() (const HepMC::GenParticle *p)


Detailed Description

prints the particle if it is a photon
Examples:

testHepMCIteration.cc.in.

Definition at line 35 of file testHepMCIteration.h.


Constructor & Destructor Documentation

PrintPhoton::PrintPhoton ( std::ostream &  os  )  [inline]

Definition at line 37 of file testHepMCIteration.h.


Member Function Documentation

void PrintPhoton::operator() ( const HepMC::GenParticle p  )  [inline]

Definition at line 38 of file testHepMCIteration.h.

References IsPhoton(), and p.


The documentation for this class was generated from the following file:
Generated on Fri Feb 17 00:31:26 2012 for HepMC by  doxygen 1.4.7