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 Member Functions

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

Private Attributes

IsGenStable m_igs
Atlfast::ChargeService m_chargeService

Detailed Description

Definition at line 24 of file IsFinalState.h.


Constructor & Destructor Documentation

HepMC_helper::IsFinalState::IsFinalState (  ) 

Definition at line 25 of file HepMC_helper.cxx.

00026     : m_igs() {}


Member Function Documentation

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

Implements HepMC_helper::IMCselector.

Definition at line 41 of file HepMC_helper.cxx.

00041 {return new IsFinalState(*this);}

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

Implements HepMC_helper::IMCselector.

Definition at line 28 of file HepMC_helper.cxx.

00028                                                                {
00029     if ( !m_igs(p) ) return false;
00030     if ( m_chargeService.operator()(p) == -999. ){
00031       std::cout << "HepMC_helper::IsFinalState ignoring this one, particle will NOT be fast-simulated" << std::endl;
00032       return false;
00033     }    
00034     return true;
00035   }

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

Definition at line 37 of file HepMC_helper.cxx.

00037                                                           {
00038     return this->operator()(&p);
00039   } 

bool HepMC_helper::IMCselector::operator() ( const Particle p  )  [inline, inherited]

Definition at line 27 of file IMCselector.h.

00027 {return this->operator()(&p);} 


Member Data Documentation

IsGenStable HepMC_helper::IsFinalState::m_igs [private]

Definition at line 32 of file IsFinalState.h.

Atlfast::ChargeService HepMC_helper::IsFinalState::m_chargeService [private]

Definition at line 33 of file IsFinalState.h.


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 13:20:58 2007 for AtlfastUtils by  doxygen 1.5.1