/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/DTagAlg/DTagAlg-00-01-04/src/LocalEptoPiPiEta3PiSelector.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/LocalEptoPiPiEta3PiSelector.h"
00012 
00013 LocalEptoPiPiEta3PiSelector::LocalEptoPiPiEta3PiSelector()
00014 {
00015   IJobOptionsSvc* jobSvc;
00016   Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
00017 
00018   PropertyMgr m_propMgr;
00019 
00020   //Declare the properties
00021   m_propMgr.declareProperty("minMassEptoPiPiEta3Pi",                                                    m_minMass = 0.938);
00022   m_propMgr.declareProperty("maxMassEptoPiPiEta3Pi",                                                            m_maxMass = 0.978);
00023    
00024    
00025   jobSvc->setMyProperties("LocalEptoPiPiEta3PiSelector", &m_propMgr);
00026 }
00027 
00028 bool LocalEptoPiPiEta3PiSelector::operator() (CDDecay& aEp) {
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 }
00037 
00038 
00039 LocalEptoPiPiEta3PiSelector eptoPiPiEta3PiSelector;

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