HepMC_helper::SelectPid Class Reference

#include <SelectPid.h>

Inheritance diagram for HepMC_helper::SelectPid:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SelectPid (double pt, double eta, int pid)
 ~SelectPid ()
IMCselectorcreate () const
bool operator() (const Particle *const p) const
bool operator() (const Particle &p) const
bool operator() (const Particle &p)

Private Attributes

MCCuts m_kineCuts
SelectType m_selType
int m_id
double m_ptMin
double m_etaMax

Detailed Description

Definition at line 28 of file SelectPid.h.


Constructor & Destructor Documentation

HepMC_helper::SelectPid::SelectPid ( double  pt,
double  eta,
int  pid 
) [inline]

Definition at line 31 of file SelectPid.h.

00031 :m_kineCuts(pt, eta),m_selType(pid){}

HepMC_helper::SelectPid::~SelectPid (  )  [inline]

Definition at line 33 of file SelectPid.h.

00033 {};


Member Function Documentation

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

Implements HepMC_helper::IMCselector.

Definition at line 392 of file HepMC_helper.cxx.

00392 {return new SelectPid(*this);}

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

Implements HepMC_helper::IMCselector.

Definition at line 387 of file HepMC_helper.cxx.

00387                                                             {
00388     if(!m_selType(p))  return false;
00389     if(!m_kineCuts(p)) return false;
00390     return true;
00391   } 

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

Definition at line 393 of file HepMC_helper.cxx.

00393                                                        {
00394     return this->operator()(&p);
00395   } 

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

MCCuts HepMC_helper::SelectPid::m_kineCuts [private]

Definition at line 39 of file SelectPid.h.

SelectType HepMC_helper::SelectPid::m_selType [private]

Definition at line 40 of file SelectPid.h.

int HepMC_helper::SelectPid::m_id [private]

Definition at line 41 of file SelectPid.h.

double HepMC_helper::SelectPid::m_ptMin [private]

Definition at line 42 of file SelectPid.h.

double HepMC_helper::SelectPid::m_etaMax [private]

Definition at line 43 of file SelectPid.h.


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