BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/ParticleID/ParticleID/EmcPID.h
Go to the documentation of this file.
1#ifndef ParticleID_EmcPID_H
2#define ParticleID_EmcPID_H
3//
4// EmcPID package: particle identification with Emc energy deposits
5//
6// In 1st version, EmcPID is not ready
7//
8// Author: K.L. He 11/13/2005, created
9//
10
11#include "ParticleID/ParticleIDBase.h"
12
13class TMultiLayerPerceptron;
14class TTree;
15
16class EmcPID : public ParticleIDBase {
17
18 public:
19
20 static EmcPID *instance();
21 ~EmcPID(){;}
22
23 void init();
24 void calculate();
25 bool IsPidInfoValid() const {return (m_ndof> 0);}
26 double chi(int n) const {return m_chi[n];}
27 double prob(int n) const {return m_prob[n];}
28 int ndof() const {return m_ndof;}
29 double energy() const{return m_energy;}
30 double eseed() const{return m_eseed;}
31 double e3x3() const{return m_e3x3;}
32 double e5x5() const{return m_e5x5;}
33 double delta_theta() const{return m_delta_theta;}
34 double delta_phi() const{return m_delta_phi;}
35 double secondmoment() const{return m_secondmoment;}
36 double val_emc1() const{return m_val_emc;}
37 int neuronPID() const {return -1;}
38 double pars(int n) const{return params_emc1[n];}
39
40 protected:
41
43 int neuronPIDCalculation() {return -1;}
44 int LikelihoodCalculation() {return -1;}
45
46 private:
47 double m_chi[5];
48 double m_prob[5];
49 double m_chimin;
50 int m_ndof;
51 double m_ptrk;
52 double m_pt;
53 int m_type;
54 double m_energy;
55 double m_eseed;
56 double m_e3x3;
57 double m_e5x5;
58 double m_delta_theta;
59 double m_delta_phi;
60 double m_secondmoment;
61 double m_latmoment;
62 double m_a20moment;
63 double m_a42moment;
64 double m_val_emc;
65 double params_emc1[9];
66 double m_e_h[18][300];
67 double m_m_h[18][300];
68 double m_p_h[18][300];
69 private:
70 static TMultiLayerPerceptron *m_mlp_emc;
71 static TTree *m_trainTree_emconly;
72
73
74 private:
75 EmcPID();
76 static EmcPID *m_pointer;
77};
78
79#endif
const Int_t n
void calculate()
void init()
static EmcPID * instance()
int particleIDCalculation()