#include <Unseen.h>
Inheritance diagram for HepMC_helper::Unseen:
Public Methods | |
Unseen (std::vector< int > requiredTypes, double muonPtMax=6.0, 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 |
Private Attributes | |
SelectType | m_seltype |
double | m_muonPtMax |
double | m_muonEtaMax |
IsFinalState | m_ifs |
|
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 } |
|
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 } |
|
Definition at line 28 of file Unseen.h.
00028 {} |
|
Implements HepMC_helper::IMCselector. Definition at line 153 of file HepMC_helper.cxx. References Unseen().
00153 {return new Unseen(*this);} |
|
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 } |
|
Definition at line 155 of file HepMC_helper.cxx. References operator()(), and HepMC_helper::Particle.
00155 { 00156 return this->operator()(&p); 00157 } |
|
|
|
|
|
|
|
|