HepMC Reference Documentation

HepMC

IsW_Boson 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 W


Detailed Description

example class

this predicate returns true if the input particle is a W+/W-

Examples:

example_UsingIterators.cc.

Definition at line 34 of file example_UsingIterators.cc.


Member Function Documentation

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

returns true if the GenParticle is a W

Examples:
example_UsingIterators.cc.

Definition at line 37 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