1#include "GaudiKernel/Bootstrap.h"
2#include "GaudiKernel/IJobOptionsSvc.h"
3#include "GaudiKernel/ISvcLocator.h"
4#include "GaudiKernel/PropertyMgr.h"
6#include "EvtRecEvent/EvtRecVeeVertex.h"
7#include "DTagAlg/LocalKsSelector.h"
11 IJobOptionsSvc* jobSvc;
12 Gaudi::svcLocator()->service(
"JobOptionsSvc", jobSvc);
14 PropertyMgr m_propMgr;
16 m_propMgr.declareProperty(
"KsMinMassCut", m_minMass = 0.470 );
17 m_propMgr.declareProperty(
"KsMaxMassCut", m_maxMass = 0.528 );
18 m_propMgr.declareProperty(
"KsMaxChisq", m_maxChisq = 100 );
20 jobSvc->setMyProperties(
"LocalKsSelector", &m_propMgr);
28 if ( ks->
vertexId() != 310 )
return false;
31 if ((
mass <= m_minMass)||(
mass >= m_maxMass))
return false;
32 if ( ks->
chi2() >= m_maxChisq )
return false;
34 if(mass < 0.487 || mass > 0.511)
LocalKsSelector ksSelector
virtual const EvtRecVeeVertex * navKshort() const
bool operator()(CDKs &aKs)