BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/ParticleID/include/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
18public:
19 static EmcPID* instance();
20 ~EmcPID() { ; }
21
22 void init();
23 void calculate();
24 bool IsPidInfoValid() const { return ( m_ndof > 0 ); }
25 double chi( int n ) const { return m_chi[n]; }
26 double prob( int n ) const { return m_prob[n]; }
27 int ndof() const { return m_ndof; }
28 double energy() const { return m_energy; }
29 double eseed() const { return m_eseed; }
30 double e3x3() const { return m_e3x3; }
31 double e5x5() const { return m_e5x5; }
32 double delta_theta() const { return m_delta_theta; }
33 double delta_phi() const { return m_delta_phi; }
34 double secondmoment() const { return m_secondmoment; }
35 double val_emc1() const { return m_val_emc; }
36 int neuronPID() const { return -1; }
37 double pars( int n ) const { return params_emc1[n]; }
38
39protected:
41 int neuronPIDCalculation() { return -1; }
42 int LikelihoodCalculation() { return -1; }
43
44private:
45 double m_chi[5];
46 double m_prob[5];
47 double m_chimin;
48 int m_ndof;
49 double m_ptrk;
50 double m_pt;
51 int m_type;
52 double m_energy;
53 double m_eseed;
54 double m_e3x3;
55 double m_e5x5;
56 double m_delta_theta;
57 double m_delta_phi;
58 double m_secondmoment;
59 double m_latmoment;
60 double m_a20moment;
61 double m_a42moment;
62 double m_val_emc;
63 double params_emc1[9];
64 double m_e_h[18][300];
65 double m_m_h[18][300];
66 double m_p_h[18][300];
67
68private:
69 static TMultiLayerPerceptron* m_mlp_emc;
70 static TTree* m_trainTree_emconly;
71
72private:
73 EmcPID();
74 static EmcPID* m_pointer;
75};
76
77#endif
const Int_t n
NTuple::Item< double > m_pt
void calculate()
Definition EmcPID.cxx:158
void init()
Definition EmcPID.cxx:100
int particleIDCalculation()
Definition EmcPID.cxx:162
static EmcPID * instance()
Definition EmcPID.cxx:22