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