#include <LocalEptoRhoGamSelector.h>
Inheritance diagram for LocalEptoRhoGamSelector:
Public Member Functions | |
LocalEptoRhoGamSelector () | |
bool | operator() (CDDecay &aEp) |
bool | operator() (CDDecay &iArg) const |
Private Member Functions | |
LocalEptoRhoGamSelector (const LocalEptoRhoGamSelector &) | |
const LocalEptoRhoGamSelector & | operator= (const LocalEptoRhoGamSelector &) |
Private Attributes | |
double | m_minMass |
double | m_maxMass |
Definition at line 7 of file LocalEptoRhoGamSelector.h.
LocalEptoRhoGamSelector::LocalEptoRhoGamSelector | ( | ) |
Definition at line 13 of file LocalEptoRhoGamSelector.cxx.
References m_maxMass, and m_minMass.
00014 { 00015 IJobOptionsSvc* jobSvc; 00016 Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc); 00017 00018 PropertyMgr m_propMgr; 00019 00020 //Declare the properties 00021 m_propMgr.declareProperty("minMassEptoRhoGam", m_minMass = 0.938); 00022 m_propMgr.declareProperty("maxMassEptoRhoGam", m_maxMass = 0.978); 00023 00024 00025 jobSvc->setMyProperties("LocalEptoRhoGamSelector", &m_propMgr); 00026 }
LocalEptoRhoGamSelector::LocalEptoRhoGamSelector | ( | const LocalEptoRhoGamSelector & | ) | [private] |
bool DCSelectionFunction< CDDecay >::operator() | ( | CDDecay & | iArg | ) | const [inline, inherited] |
Implements DCSelectionFunction< CDDecay >.
Definition at line 28 of file LocalEptoRhoGamSelector.cxx.
References m_maxMass, m_minMass, CDCandidate::mass(), mass, and CDCandidate::setUserTag().
00028 { 00029 00030 aEp.setUserTag(1); 00031 double mass = aEp.mass(); 00032 if(mass >= m_minMass && mass<= m_maxMass) 00033 return true; 00034 else 00035 return false; 00036 }
const LocalEptoRhoGamSelector& LocalEptoRhoGamSelector::operator= | ( | const LocalEptoRhoGamSelector & | ) | [private] |
double LocalEptoRhoGamSelector::m_maxMass [private] |
Definition at line 22 of file LocalEptoRhoGamSelector.h.
Referenced by LocalEptoRhoGamSelector(), and operator()().
double LocalEptoRhoGamSelector::m_minMass [private] |
Definition at line 21 of file LocalEptoRhoGamSelector.h.
Referenced by LocalEptoRhoGamSelector(), and operator()().