BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/include/ParticleID/TofQPID.h
Go to the documentation of this file.
1#ifndef ParticleID_TofQPID_H
2#define ParticleID_TofQPID_H
3//
4// TofQPID package: particle Identification with Barrel TOF Q value
5//
6//
7// In 1st version, nothing is done since the Q0 calibarions are not done
8// Author: K.L. He date: 11/12/2005, created
9//
10
11#include "ParticleID/ParticleIDBase.h"
12
13class TofQPID : public ParticleIDBase {
14
15public:
16 static TofQPID* instance();
17 ~TofQPID() { ; }
18
19 void init();
20 void calculate();
21 bool IsPidInfoValid() const { return ( m_ndof > 0 ); }
22 double chi( int n ) const { return m_chi[n]; }
23 double prob( int n ) const { return m_prob[n]; }
24 int ndof() const { return m_ndof; }
25 double hitstatus() const { return m_hitstatus; }
26 // int q1() const{return m_q1;}
27 // int q2() const{return m_q2;}
28 int neuronPID() const { return -1; }
29
30protected:
31 int neuronPIDCalculation() { return -1; }
33 int LikelihoodCalculation() { return -1; }
34
35private:
36 double m_chi[5];
37 double m_prob[5];
38 double m_chimin;
39 int m_ndof;
40 double m_hitstatus;
41 // int m_q1;
42 // int m_q2;
43
44private:
45 TofQPID();
46 static TofQPID* m_pointer;
47};
48
49#endif
const Int_t n
void init()
Definition TofQPID.cxx:20
void calculate()
Definition TofQPID.cxx:33
int particleIDCalculation()
Definition TofQPID.cxx:36
static TofQPID * instance()
Definition TofQPID.cxx:13