/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/DTagAlg/DTagAlg-00-01-04/src/LocalEtatoPiPiPi0Selector.cxx

Go to the documentation of this file.
00001 #include "GaudiKernel/Bootstrap.h"
00002 #include "GaudiKernel/IJobOptionsSvc.h"
00003 #include "GaudiKernel/ISvcLocator.h"
00004 #include "GaudiKernel/PropertyMgr.h"
00005 
00006 #include "EventModel/EventModel.h"
00007 #include "EventModel/EventHeader.h"
00008 #include "EvtRecEvent/EvtRecEvent.h"
00009 #include "EvtRecEvent/EvtRecTrack.h"
00010 #include "ParticleID/ParticleID.h"
00011 #include "DTagAlg/LocalEtatoPiPiPi0Selector.h"
00012 
00013 LocalEtatoPiPiPi0Selector::LocalEtatoPiPiPi0Selector()
00014 {
00015   IJobOptionsSvc* jobSvc;
00016   Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
00017 
00018   PropertyMgr m_propMgr;
00019 
00020   //Declare the properties
00021   m_propMgr.declareProperty("minMassEtatoPiPiPi0",               m_minMass=0.40);
00022   m_propMgr.declareProperty("maxMassEtatoPiPiPi0",               m_maxMass=0.70);
00023    
00024    
00025   jobSvc->setMyProperties("LocalEtatoPiPiPi0Selector", &m_propMgr);
00026 }
00027 
00028 bool LocalEtatoPiPiPi0Selector::operator() (CDDecay& aEta) {
00029 
00030   aEta.setUserTag(1);
00031   double mass = aEta.mass();
00032   if(mass >= m_minMass && mass<= m_maxMass)
00033     return true;
00034   else 
00035     return false;
00036 }
00037 
00038 
00039 LocalEtatoPiPiPi0Selector etatoPiPiPi0Selector;

Generated on Tue Nov 29 23:13:08 2016 for BOSS_7.0.2 by  doxygen 1.4.7