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

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 Methods

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

Private Attributes

SelectType m_seltype
double m_muonPtMax
double m_muonEtaMax
IsFinalState m_ifs

Constructor & Destructor Documentation

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

Definition at line 130 of file HepMC_helper.cxx.

Referenced by create().

00132                                     : 
00133     m_seltype( SelectType(requiredTypes) ),
00134     m_muonPtMax( muonPtMax ),
00135     m_muonEtaMax( muonEtaMax ){
00136   }

HepMC_helper::Unseen::Unseen const Unseen &    src
 

Definition at line 138 of file HepMC_helper.cxx.

00138                                   : 
00139     IMCselector(),
00140     m_seltype( src.m_seltype ),
00141     m_muonPtMax( src.m_muonPtMax ),
00142     m_muonEtaMax( src.m_muonEtaMax ){ 
00143   }

HepMC_helper::Unseen::~Unseen   [inline]
 

Definition at line 28 of file Unseen.h.

00028 {}

Member Function Documentation

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

Implements HepMC_helper::IMCselector.

Definition at line 153 of file HepMC_helper.cxx.

References Unseen().

00153 {return new Unseen(*this);}

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

Implements HepMC_helper::IMCselector.

Definition at line 144 of file HepMC_helper.cxx.

References HepMC_helper::Particle.

Referenced by operator()().

00144                                                         {
00145     if(m_seltype(p)) return true;
00146     if( abs(p->pdg_id()) == 13){
00147       if(!m_ifs(p)) return false;
00148       if(abs(p->momentum().pseudoRapidity()) > m_muonEtaMax) return true;
00149       if(    p->momentum().perp()            < m_muonPtMax ) return true;
00150     }
00151     return false ;       
00152   }

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

Definition at line 155 of file HepMC_helper.cxx.

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

00155                                                     {
00156     return this->operator()(&p);
00157   } 

Member Data Documentation

SelectType HepMC_helper::Unseen::m_seltype [private]
 

Definition at line 34 of file Unseen.h.

double HepMC_helper::Unseen::m_muonPtMax [private]
 

Definition at line 35 of file Unseen.h.

double HepMC_helper::Unseen::m_muonEtaMax [private]
 

Definition at line 36 of file Unseen.h.

IsFinalState HepMC_helper::Unseen::m_ifs [private]
 

Definition at line 37 of file Unseen.h.


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