BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h
Go to the documentation of this file.
1
#ifndef ParticleID_MucPID_H
2
#define ParticleID_MucPID_H
3
4
5
//
6
// MucPID package: particle identification with Muc energy deposits
7
//
8
// In 1st version, MucPID is not ready
9
//
10
// Author: K.L. He 11/13/2005, created
11
//
12
13
#include "ParticleID/ParticleIDBase.h"
14
15
class
TFile;
16
class
TTree;
17
class
TMultiLayerPerceptron;
18
class
TMLPAnalyzer;
19
20
class
MucPID
:
public
ParticleIDBase
{
21
22
public
:
23
static
MucPID
*
instance
();
24
// ~MucPID(){;}
25
26
void
init
();
27
void
calculate
();
28
bool
IsPidInfoValid
()
const
{
return
(m_ndof> 0);}
29
double
chi
(
int
n
)
const
{
return
m_chi[
n
];}
30
double
prob
(
int
n
)
const
{
return
m_prob[
n
];}
31
int
ndof
()
const
{
return
m_ndof;}
32
double
hits
()
const
{
return
m_hits;}
33
double
depth
()
const
{
return
m_depth;}
34
double
chi2
()
const
{
return
m_chi2;}
35
double
distance
()
const
{
return
m_distance;}
36
double
delta_phi
()
const
{
return
m_muc_delta_phi;}
37
double
val_muc1
()
const
{
return
m_val_muc;}
38
39
int
neuronPID
()
const
{
return
-1;}
40
41
42
protected
:
43
44
int
particleIDCalculation
();
45
int
neuronPIDCalculation
() {
return
-1;}
46
int
LikelihoodCalculation
() {
return
-1;}
47
48
private
:
49
double
m_chi[5];
50
double
m_prob[5];
51
double
m_chimin;
52
int
m_ndof;
53
double
m_hits;
54
double
m_depth;
55
double
m_chi2;
56
double
m_distance;
57
double
m_muc_delta_phi;
58
double
m_val_muc;
59
double
params_muc1[8];
60
double
m_p_h[13][400];
61
double
m_m_h[13][400];
62
63
private
:
64
TFile *m_trainFile_muc;
65
TTree *m_trainTree_muc;
66
TMultiLayerPerceptron *m_mlp_muc;
67
TMLPAnalyzer* m_mlpa_muc;
68
69
private
:
70
MucPID
();
71
static
MucPID
*m_pointer;
72
};
73
74
#endif
n
const Int_t n
Definition:
DataBase/tau_mode.c:65
MucPID
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:20
MucPID::delta_phi
double delta_phi() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:36
MucPID::distance
double distance() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:35
MucPID::chi
double chi(int n) const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:29
MucPID::neuronPIDCalculation
int neuronPIDCalculation()
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:45
MucPID::depth
double depth() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:33
MucPID::LikelihoodCalculation
int LikelihoodCalculation()
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:46
MucPID::prob
double prob(int n) const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:30
MucPID::neuronPID
int neuronPID() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:39
MucPID::chi2
double chi2() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:34
MucPID::init
void init()
Definition:
MucPID.cxx:67
MucPID::particleIDCalculation
int particleIDCalculation()
Definition:
MucPID.cxx:105
MucPID::ndof
int ndof() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:31
MucPID::instance
static MucPID * instance()
Definition:
MucPID.cxx:22
MucPID::IsPidInfoValid
bool IsPidInfoValid() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:28
MucPID::calculate
void calculate()
Definition:
MucPID.cxx:101
MucPID::val_muc1
double val_muc1() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:37
MucPID::hits
double hits() const
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/MucPID.h:32
ParticleIDBase
Definition:
Analysis/ParticleID/ParticleID-00-04-61/ParticleID/ParticleIDBase.h:21
source
Analysis
ParticleID
ParticleID-00-04-61
ParticleID
MucPID.h
Generated by
1.9.6