20{
21 m_pidtype=0;
22
23 IJobOptionsSvc* jobSvc;
24 Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
25
26 PropertyMgr m_propMgr;
27
28
29 m_propMgr.declareProperty("RxyCut", m_VrCut = 1.0);
30 m_propMgr.declareProperty("Vz0Cut", m_VzCut = 10.0);
31 m_propMgr.declareProperty("CosThetaCut", m_CosThetaCut = 0.93);
32
33 m_propMgr.declareProperty("useSimplePID", m_useSimplePID = true);
34
35 m_propMgr.declareProperty("PidUseDedx", m_useDedx = true);
36 m_propMgr.declareProperty("PidUseTof1", m_useTof1 = true);
37 m_propMgr.declareProperty("PidUseTof2", m_useTof2 = true);
38 m_propMgr.declareProperty("PidUseTofE", m_useTofE = false);
39 m_propMgr.declareProperty("PidUseTofQ", m_useTofQ = false);
40 m_propMgr.declareProperty("PidUseEmc", m_useEmc = false);
41 m_propMgr.declareProperty("PidUseMuc", m_useMuc = false);
42
43 m_propMgr.declareProperty("PidwithProbability", m_probability = true);
44 m_propMgr.declareProperty("PidProbCut", m_PidProbCut = 0.001);
45 m_propMgr.declareProperty("RejectPion", m_rejectPion = true);
46 m_propMgr.declareProperty("RejectProton", m_rejectProton = false);
47
48 m_propMgr.declareProperty("PidwithLikelihood", m_likelihood = false);
49 m_propMgr.declareProperty("PidwithNeuronNetwork", m_neuronNetwork = false);
50 m_neuronValCut.clear();
51 m_neuronValCut.push_back(1.5);
52 m_neuronValCut.push_back(2.5);
53 m_propMgr.declareProperty("NeuronValue", m_neuronValCut);
54
55 jobSvc->setMyProperties("LocalKaonSelector", &m_propMgr);
56}