BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/include/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
15public:
16 static TofEPID* instance();
17 ~TofEPID() { ; }
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
32protected:
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);
40private:
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
54private:
55 TofEPID();
56 static TofEPID* m_pointer;
57};
58
59#endif
const Int_t n
NTuple::Array< double > m_sigma
void init()
Definition TofEPID.cxx:25
void calculate()
Definition TofEPID.cxx:40
double sigmaTofE(int n, int cntr, double ptrk, double rtof, double ph, double charge)
Definition TofEPID.cxx:271
static TofEPID * instance()
Definition TofEPID.cxx:16
int particleIDCalculation()
Definition TofEPID.cxx:44
double offsetTofE(int n, int cntr, double ptrk, double rtof, double ph, double charge)
Definition TofEPID.cxx:215