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

HepMC_helper::IsFinalState Class Reference

#include <IsFinalState.h>

Inheritance diagram for HepMC_helper::IsFinalState:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 IsFinalState ()
IMCselectorcreate () const
virtual bool operator() (const Particle *const p) const
virtual bool operator() (const Particle &p) const

Constructor & Destructor Documentation

HepMC_helper::IsFinalState::IsFinalState  
 

Definition at line 20 of file HepMC_helper.cxx.

Referenced by create().

00020 {}

Member Function Documentation

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

Implements HepMC_helper::IMCselector.

Definition at line 33 of file HepMC_helper.cxx.

References IsFinalState().

00033 {return new IsFinalState(*this);}

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

Implements HepMC_helper::IMCselector.

Definition at line 23 of file HepMC_helper.cxx.

References HepMC_helper::Particle.

Referenced by operator()().

00023                                                                {
00024     //p->status()%100 see ChangeLog 22/10/02
00025     // return ( p->end_vertex() || (p->status()%100) != 1)? false:true;}
00026     // return ( p->end_vertex() || !m_status)? false:true;}
00027     return ( p->barcode() < 100000 && ( p->status()==1 || p->status()>100) ) ? true:false;
00028   }

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

Definition at line 30 of file HepMC_helper.cxx.

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

00030                                                           {
00031     return this->operator()(&p);
00032   } 

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