BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/ParticleID-00-04-62/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
15 public:
16 static TofQPID *instance();
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
30 protected:
31
32 int neuronPIDCalculation() { return -1;}
34 int LikelihoodCalculation() {return -1;}
35
36 private:
37 double m_chi[5];
38 double m_prob[5];
39 double m_chimin;
40 int m_ndof;
41 double m_hitstatus;
42// int m_q1;
43// int m_q2;
44
45 private:
46 TofQPID();
47 static TofQPID *m_pointer;
48};
49
50#endif
const Int_t n
void init()
Definition: TofQPID.cxx:22
void calculate()
Definition: TofQPID.cxx:34
int particleIDCalculation()
Definition: TofQPID.cxx:37
static TofQPID * instance()
Definition: TofQPID.cxx:13