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

HepMC_helper::MCselectorWrapper Class Reference

#include <MCselectorWrapper.h>

Collaboration diagram for HepMC_helper::MCselectorWrapper:

Collaboration graph
[legend]
List of all members.

Public Methods

 MCselectorWrapper (const IMCselector *selector)
bool operator() (const Particle *const p)
const HepMC_helper::IMCselectorasIMCselector () const

Private Attributes

const IMCselectorm_selector

Constructor & Destructor Documentation

HepMC_helper::MCselectorWrapper::MCselectorWrapper const IMCselector   selector [inline]
 

Definition at line 19 of file MCselectorWrapper.h.

References m_selector.

00019 : m_selector(selector){}

Member Function Documentation

bool HepMC_helper::MCselectorWrapper::operator() const Particle *const    p [inline]
 

Definition at line 20 of file MCselectorWrapper.h.

References HepMC_helper::Particle.

00020                                             { 
00021       return (*m_selector)(p) ;
00022     }

const HepMC_helper::IMCselector* HepMC_helper::MCselectorWrapper::asIMCselector   const [inline]
 

Definition at line 23 of file MCselectorWrapper.h.

References m_selector.

00023 {return m_selector;}

Member Data Documentation

const IMCselector* HepMC_helper::MCselectorWrapper::m_selector [private]
 

Definition at line 25 of file MCselectorWrapper.h.

Referenced by asIMCselector(), and MCselectorWrapper().


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