1#include "GaudiKernel/Bootstrap.h"
2#include "GaudiKernel/IJobOptionsSvc.h"
3#include "GaudiKernel/ISvcLocator.h"
4#include "GaudiKernel/PropertyMgr.h"
6#include "EvtRecEvent/EvtRecPi0.h"
7#include "DTagAlg/LocalPi0Selector.h"
11 IJobOptionsSvc* jobSvc;
12 Gaudi::svcLocator()->service(
"JobOptionsSvc", jobSvc);
14 PropertyMgr m_propMgr;
16 m_propMgr.declareProperty(
"Pi0MinMassCut", m_minMass = 0.098 );
17 m_propMgr.declareProperty(
"Pi0MaxMassCut", m_maxMass = 0.165 );
18 m_propMgr.declareProperty(
"Pi0MaxChisqCut", m_maxChisq = 2500 );
21 jobSvc->setMyProperties(
"LocalPi0Selector", &m_propMgr);
30 double chi2 = pi0->
chisq();
31 if ((
mass <= m_minMass) || (
mass >= m_maxMass) || (chi2 >= m_maxChisq))
return false;
33 if(mass < 0.115 || mass > 0.150)
LocalPi0Selector pi0Selector
virtual const EvtRecPi0 * navPi0() const
bool operator()(CDPi0 &aPi0)