CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
MrpcPID.h
Go to the documentation of this file.
1#ifndef ParticleID_MRPCPID_H
2#define ParticleID_MRPCPID_H
3//
4// MrpcPID package: particle Identification with Endcap MRPC detector
5//
6
7
9
10class MrpcPID : public ParticleIDBase {
11
12 public:
13 static MrpcPID *instance();
15
16 void init();
17 void calculate();
18 bool IsPidInfoValid() const {return (m_ndof > 0); }
19 double chi(int n) const {return m_chi[n];}
20 double prob(int n) const {return m_prob[n];}
21 double sigma(int n) const{return m_sigma[n];}
22 double offset(int n) const{return m_offset[n];}
23 int ndof() const {return m_ndof;}
24 double mass2() const {return m_mass2;}
25 int part() const {return m_part;}
26 double rhit() const {return m_rhit;}
27 int neuronPID() const {return -1;}
28 protected:
29
30 int neuronPIDCalculation() { return -1;}
32 int LikelihoodCalculation() {return -1;}
33
34 private:
35 double m_chi[5];
36 double m_prob[5];
37 double m_sigma[5];
38 double m_offset[5];
39 double m_chimin;
40 double m_pdfmin;
41 int m_ndof;
42 double m_mass2;
43 int m_part;
44 double m_rhit;
45 private:
46 MrpcPID();
47 static MrpcPID *m_pointer;
48};
49
50#endif
const Int_t n
int ndof() const
Definition: MrpcPID.h:23
void calculate()
Definition: MrpcPID.cxx:39
int neuronPID() const
Definition: MrpcPID.h:27
int particleIDCalculation()
Definition: MrpcPID.cxx:43
double rhit() const
Definition: MrpcPID.h:26
~MrpcPID()
Definition: MrpcPID.h:14
double prob(int n) const
Definition: MrpcPID.h:20
double chi(int n) const
Definition: MrpcPID.h:19
int neuronPIDCalculation()
Definition: MrpcPID.h:30
double mass2() const
Definition: MrpcPID.h:24
double offset(int n) const
Definition: MrpcPID.h:22
int LikelihoodCalculation()
Definition: MrpcPID.h:32
static MrpcPID * instance()
Definition: MrpcPID.cxx:16
void init()
Definition: MrpcPID.cxx:25
bool IsPidInfoValid() const
Definition: MrpcPID.h:18
int part() const
Definition: MrpcPID.h:25
double sigma(int n) const
Definition: MrpcPID.h:21