BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/ParticleID-00-04-62/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
15class TFile;
16class TTree;
17class TMultiLayerPerceptron;
18class TMLPAnalyzer;
19
20class 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
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
const Int_t n
void init()
Definition: MucPID.cxx:67
int particleIDCalculation()
Definition: MucPID.cxx:105
static MucPID * instance()
Definition: MucPID.cxx:22
void calculate()
Definition: MucPID.cxx:101