BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/ParticleID/ParticleID/TofEPID.h
Go to the documentation of this file.
1#ifndef ParticleID_TofEPID_H
2#define ParticleID_TofEPID_H
3//
4// TofEPID package: particle Identification with Endcap TOF
5//
6//
7// In 1st version, nothing is done since Endcap data is invalid
8// Author: K.L. He date: 11/12/2005, created
9//
10
11#include "ParticleID/ParticleIDBase.h"
12
13class TofEPID : public ParticleIDBase {
14
15 public:
16 static TofEPID *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 double sigma(int n) const{return m_sigma[n];}
25 double offset(int n) const{return m_offset[n];}
26 int ndof() const {return m_ndof;}
27 double mass2() const {return m_mass2;}
28 int part() const {return m_part;}
29 double rhit() const {return m_rhit;}
30 int neuronPID() const {return -1;}
31 protected:
32
33 int neuronPIDCalculation() { return -1;}
35 int LikelihoodCalculation() {return -1;}
36 double offsetTofE(int n, int cntr, double ptrk, double rtof, double ph,double charge);
37 double sigmaTofE(int n, int cntr, double ptrk, double rtof, double ph,double charge);
38// void readSigPar();
39// double getSigbyRun(int tofid);
40 private:
41 double m_chi[5];
42 double m_prob[5];
43 double m_sigma[5];
44 double m_offset[5];
45// double m_sigmaRundata[4][96];
46// double m_sigmaRunmc[4][96];
47 double m_chimin;
48 double m_pdfmin;
49 int m_ndof;
50 double m_mass2;
51 int m_part;
52 double m_rhit;
53 private:
54 TofEPID();
55 static TofEPID *m_pointer;
56};
57
58#endif
const Int_t n
void init()
void calculate()
double sigmaTofE(int n, int cntr, double ptrk, double rtof, double ph, double charge)
int particleIDCalculation()
static TofEPID * instance()
double offsetTofE(int n, int cntr, double ptrk, double rtof, double ph, double charge)