CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/ParticleID-00-04-55/ParticleID/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
8#include "ParticleID/ParticleIDBase.h"
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
void calculate()
Definition: MrpcPID.cxx:39
int particleIDCalculation()
Definition: MrpcPID.cxx:43
static MrpcPID * instance()
Definition: MrpcPID.cxx:16
void init()
Definition: MrpcPID.cxx:25