BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMdcDedx.h
Go to the documentation of this file.
1#ifndef RootEventData_TMdcDedx_H
2#define RootEventData_TMdcDedx_H 1
3
4#include "TObject.h"
5
6class TMdcDedx : public TObject {
7
8public:
9
11
12 ~TMdcDedx ();
13
14
15 // void Clear(Option_t *option ="");
16
17 // void PrInt_t(Option_t *option="") const;
18 //get
19 Int_t trackId() const { return m_trackId; }
20 Int_t particleId() const { return m_particleId; }
21 Int_t status() const { return m_status; }
22 Int_t truncAlg() const { return m_trunc_alg; }
23 // Double_t prob(Int_t i) const { return m_prob[i]; }
24 // Double_t chi(int i) const { return m_chi[i]; } -> wrong, use chiE,...
25 Double_t chi(int i) const;
26 Double_t chiE() const { return m_chiE; }
27 Double_t chiMu() const { return m_chiMu; }
28 Double_t chiPi() const { return m_chiPi; }
29 Double_t chiK() const { return m_chiK; }
30 Double_t chiP() const { return m_chiP; }
31
32 Int_t numGoodHits() const { return m_numGoodHits; }
33 Int_t numTotalHits() const { return m_numTotalHits; }
34
35 Double_t probPH() const { return m_probPH; }
36 Double_t normPH() const { return m_normPH; }
37 Double_t errorPH() const { return m_errorPH; }
38 Double_t twentyPH() const { return m_twentyPH; }
39
40
41 //Double_t fracErrPH() const { return m_fracErrPH; }
42
43 // Double_t minIronPH() const { return m_minIronPH; }
44 // Double_t corrPH() const { return m_corrPH; }
45
46 //set
47 void setTrackId (const Int_t trackId ) { m_trackId = trackId ; }
48 void setParticleId(const Int_t particleId) { m_particleId = particleId; }
49 void setStatus (const Int_t status) { m_status=status; }
50 void setTruncAlg(const Int_t trunc_alg) { m_trunc_alg = trunc_alg; }
51 /*
52 void setProb(const Double_t pb[5]) {
53 for(Int_t i =0; i<5 ; i++) m_prob[i]= pb[i]; }
54*/
55 void setChiE(const Double_t chiE) { m_chiE = chiE; }
56 void setChiMu(const Double_t chiMu) { m_chiMu = chiMu; }
57 void setChiPi(const Double_t chiPi) { m_chiPi = chiPi; }
58 void setChiK(const Double_t chiK) { m_chiK = chiK; }
59 void setChiP(const Double_t chiP) { m_chiP = chiP; }
60
61 void setNumGoodHits(const Int_t numGoodHits) { m_numGoodHits = numGoodHits; }
62 void setNumTotalHits(const Int_t numTotalHits) { m_numTotalHits = numTotalHits; }
63
64 void setProbPH(const Double_t probPH) { m_probPH = probPH; }
65 void setNormPH(const Double_t normPH) { m_normPH = normPH; }
66 void setErrorPH(const Double_t errorPH) { m_errorPH = errorPH; }
67 void setTwentyPH(const Double_t twentyPH) { m_twentyPH = twentyPH; }
68
69 //o void setChi( double* chi) {
70 //o for(int i =0; i<5 ; i++) m_chi[i]= chi[i];
71 //o }
72
73 // void setFracErrPH(const Double_t fracErrPH) { m_fracErrPH = fracErrPH; }
74 // void setMinIronPH(const Double_t minIronPH) { m_minIronPH = minIronPH; }
75 // void setCorrPH(const Double_t corrPH) { m_corrPH = corrPH; }
76
77private:
78 Int_t m_trackId; //Track Id wensp Add 2005-10-19
79 Int_t m_particleId; //Particle ID from De/Dx fit
80 Int_t m_status; //Status
81 Int_t m_trunc_alg; //truncate method
82 //Double_t m_prob[5]; //Probility // Changed on Oct. 10 following by Wangdy
83 Double_t m_chiE; //Number of sigama from e
84 Double_t m_chiMu; //Number of sigama from muon
85 Double_t m_chiPi; //Number of sigama from pion
86 Double_t m_chiK; //Number of sigama from k
87 Double_t m_chiP; //Number of sigama from p
88 Int_t m_numGoodHits; //No. of good de/dx hits(exclude overflow)
89 Int_t m_numTotalHits; //No. of good de/dx hits(include overflow)
90 Double_t m_probPH; //Most probable pulse height from truncated mean
91 Double_t m_normPH; //normalizd pulse height // Changed on Oct. 10 following by Wangdy
92 Double_t m_errorPH; //resolution of truncated mean
93 Double_t m_twentyPH; //de/dx value of bitrunction rate equal to 20%
94 //o Double_t m_chi[5]; //Number of Chi_dEdx for different particles
95
96 //Double_t m_fracErrPH; //Fractional uncertaInt_ty on measured pulse height // Changed on Oct. 10 following by Wangdy
97 // Double_t m_minIronPH; //Average pulse height for min-I
98 // Double_t m_corrPH; //Corrected pulse heights
99
100 ClassDef(TMdcDedx,5)
101};
102
103#endif
~TMdcDedx()
Definition: TMdcDedx.cxx:14
Double_t chi(int i) const
Definition: TMdcDedx.cxx:19