HepMC_helper::Unseen Class Reference

#include <Unseen.h>

Inheritance diagram for HepMC_helper::Unseen:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Unseen (std::vector< int > requiredTypes, double muonPtMax=6.0 *GeV, double muonEtaMax=2.5)
 Unseen (const Unseen &src)
 ~Unseen ()
IMCselectorcreate () const
bool operator() (const Particle *const p) const
bool operator() (const Particle &p) const
bool operator() (const Particle &p)

Private Attributes

SelectType m_seltype
double m_muonPtMax
double m_muonEtaMax
IsFinalState m_ifs

Detailed Description

Definition at line 25 of file Unseen.h.


Constructor & Destructor Documentation

HepMC_helper::Unseen::Unseen ( std::vector< int >  requiredTypes,
double  muonPtMax = 6.0 *GeV,
double  muonEtaMax = 2.5 
)

HepMC_helper::Unseen::Unseen ( const Unseen src  ) 

Definition at line 203 of file HepMC_helper.cxx.

00203                                   : 
00204     IMCselector(),
00205     m_seltype( src.m_seltype ),
00206     m_muonPtMax( src.m_muonPtMax ),
00207     m_muonEtaMax( src.m_muonEtaMax ){ 
00208   }

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

Definition at line 34 of file Unseen.h.

00034 {}


Member Function Documentation

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

Implements HepMC_helper::IMCselector.

Definition at line 218 of file HepMC_helper.cxx.

00218 {return new Unseen(*this);}

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

Implements HepMC_helper::IMCselector.

Definition at line 209 of file HepMC_helper.cxx.

00209                                                         {
00210     if(m_seltype(p)) return true;
00211     if( abs(p->pdg_id()) == 13){
00212       if(!m_ifs(p)) return false;
00213       if(abs(p->momentum().pseudoRapidity()) > m_muonEtaMax) return true;
00214       if(    p->momentum().perp()            < m_muonPtMax ) return true;
00215     }
00216     return false ;       
00217   }

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

Definition at line 220 of file HepMC_helper.cxx.

00220                                                     {
00221     return this->operator()(&p);
00222   } 

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

SelectType HepMC_helper::Unseen::m_seltype [private]

Definition at line 40 of file Unseen.h.

double HepMC_helper::Unseen::m_muonPtMax [private]

Definition at line 41 of file Unseen.h.

double HepMC_helper::Unseen::m_muonEtaMax [private]

Definition at line 42 of file Unseen.h.

IsFinalState HepMC_helper::Unseen::m_ifs [private]

Definition at line 43 of file Unseen.h.


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