BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalKaonSelector.h
Go to the documentation of this file.
1#ifndef LOCAL_KAON_SELECTOR_H
2#define LOCAL_KAON_SELECTOR_H
3
4#include <GaudiKernel/AlgTool.h>
5
6#include "BesDChain/CDChargedKaon.h"
7#include "ITools.h"
8
9class LocalKaonSelector : public extends<AlgTool, IPiKPSelector<CDChargedKaon>> {
10public:
11 LocalKaonSelector( const std::string& type, const std::string& name,
12 const IInterface* parent );
13
14 bool operator()( CDChargedKaon& aKaon ) override;
15 void setpidtype( int type ) override { m_pidtype = type; }
16
17private:
19 const LocalKaonSelector& operator=( const LocalKaonSelector& );
20
21 int m_pidtype;
22
23 double m_VrCut;
24 double m_VzCut;
25 double m_CosThetaCut;
26
27 bool m_PID;
28 bool m_useSimplePID;
29 bool m_useDedx;
30 bool m_useTof1;
31 bool m_useTof2;
32 bool m_useTofE;
33 bool m_useTofQ;
34 bool m_useEmc;
35 bool m_useMuc;
36
37 bool m_probability;
38 double m_PidProbCut;
39 bool m_rejectPion;
40 bool m_rejectProton;
41
42 bool m_likelihood;
43 bool m_neuronNetwork;
44 std::vector<double> m_neuronValCut;
45};
46
47#endif
CDChargedVisible< DBCandidate::kChargedKaon > CDChargedKaon
LocalKaonSelector(const std::string &type, const std::string &name, const IInterface *parent)
void setpidtype(int type) override
bool operator()(CDChargedKaon &aKaon) override