#include <Unseen.h>
Inheritance diagram for HepMC_helper::Unseen:
Public Member Functions | |
Unseen (std::vector< int > requiredTypes, double muonPtMax=6.0 *GeV, double muonEtaMax=2.5) | |
Unseen (const Unseen &src) | |
~Unseen () | |
IMCselector * | create () 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 |
Definition at line 25 of file Unseen.h.
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 }
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 |
bool HepMC_helper::IMCselector::operator() | ( | const Particle & | p | ) | [inline, inherited] |
SelectType HepMC_helper::Unseen::m_seltype [private] |
double HepMC_helper::Unseen::m_muonPtMax [private] |
double HepMC_helper::Unseen::m_muonEtaMax [private] |
IsFinalState HepMC_helper::Unseen::m_ifs [private] |