Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

HepMC_helper::IsStatusxx Class Reference

#include <IsStatusxx.h>

Inheritance diagram for HepMC_helper::IsStatusxx:

Inheritance graph
[legend]
Collaboration diagram for HepMC_helper::IsStatusxx:

Collaboration graph
[legend]
List of all members.

Public Methods

 IsStatusxx (int stat)
IMCselectorcreate () const
bool operator() (const Particle *const p) const
bool operator() (const Particle &p) const

Private Attributes

int m_stat

Constructor & Destructor Documentation

HepMC_helper::IsStatusxx::IsStatusxx int    stat [inline]
 

Definition at line 20 of file IsStatusxx.h.

References m_stat.

Referenced by create().

00020 :m_stat(stat) { } 

Member Function Documentation

IMCselector * HepMC_helper::IsStatusxx::create   const [virtual]
 

Implements HepMC_helper::IMCselector.

Definition at line 42 of file HepMC_helper.cxx.

References IsStatusxx().

00042 {return new IsStatusxx(*this);}

bool HepMC_helper::IsStatusxx::operator() const Particle *const    p const [virtual]
 

Implements HepMC_helper::IMCselector.

Definition at line 37 of file HepMC_helper.cxx.

References m_stat, and HepMC_helper::Particle.

Referenced by operator()().

00037                                                              {
00038     return ( p->status()%100 == m_stat)? true:false;}

bool HepMC_helper::IsStatusxx::operator() const Particle   p const
 

Definition at line 39 of file HepMC_helper.cxx.

References operator()(), and HepMC_helper::Particle.

00039                                                         {
00040     return this->operator()(&p);
00041   } 

Member Data Documentation

int HepMC_helper::IsStatusxx::m_stat [private]
 

Definition at line 25 of file IsStatusxx.h.

Referenced by IsStatusxx(), and operator()().


The documentation for this class was generated from the following files:
Generated on Wed Jan 15 11:00:35 2003 for AtlfastUtils by doxygen1.3-rc1