BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/ParticleID-00-04-61/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
13
class
TofQPID
:
public
ParticleIDBase
{
14
15
public
:
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
30
protected
:
31
32
int
neuronPIDCalculation
() {
return
-1;}
33
int
particleIDCalculation
();
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
n
const Int_t n
Definition:
DataBase/tau_mode.c:65
ParticleIDBase
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/ParticleIDBase.h:21
TofQPID
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:13
TofQPID::ndof
int ndof() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:24
TofQPID::IsPidInfoValid
bool IsPidInfoValid() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:21
TofQPID::neuronPID
int neuronPID() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:28
TofQPID::neuronPIDCalculation
int neuronPIDCalculation()
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:32
TofQPID::init
void init()
Definition:
TofQPID.cxx:22
TofQPID::hitstatus
double hitstatus() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:25
TofQPID::calculate
void calculate()
Definition:
TofQPID.cxx:34
TofQPID::~TofQPID
~TofQPID()
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:17
TofQPID::LikelihoodCalculation
int LikelihoodCalculation()
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:34
TofQPID::chi
double chi(int n) const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:22
TofQPID::prob
double prob(int n) const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h:23
TofQPID::particleIDCalculation
int particleIDCalculation()
Definition:
TofQPID.cxx:37
TofQPID::instance
static TofQPID * instance()
Definition:
TofQPID.cxx:13
source
Analysis
ParticleID
ParticleID-00-04-61
ParticleID
TofQPID.h
Generated by
1.9.6