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