CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TRecMdcDedxHit.h
Go to the documentation of this file.
1#ifndef RootEventData_TRecMdcDedxHit_H
2#define RootEventData_TRecMdcDedxHit_H 1
3
4#include "TObject.h"
5
6using namespace std;
7class TRecMdcDedxHit : public TObject {
8
9public:
10
12
14 // is this hit grouped to any track?
15 Bool_t isGrouped(void){ return m_isGrouped; }
16
17 // void Clear(Option_t *option ="")
18 // void PrInt_t(Option_t *option="")
19 //get
20
21 const Int_t mdcHitId() {return m_mdcHitId; }
22 const Int_t mdcKalHelixSegId() {return m_mdcKalHelixSegId; }
23 const Int_t trkId(void) const { return m_trkid; }
24 const Int_t flagLR(void) const { return m_lr; }
25 const UInt_t mdcId() const { return m_mdcid; }
26 const Double_t pathLength(void) const { return m_pathlength; }
27
28 const Double_t getDedx(void) const {return m_dedx; }
29
30 //set
31 void setMdcHitId( const int mdcHitId) {m_mdcHitId = mdcHitId; }
32 void setMdcKalHelixSegId(const int mdcKalHelixSegId) {m_mdcKalHelixSegId = mdcKalHelixSegId; }
33 void setDedx(double dedx ) {m_dedx = dedx; }
34 void setIsGrouped(Bool_t isGrouped) { m_isGrouped = isGrouped;}
35 void setTrkId(Int_t trkid) { m_trkid = trkid; }
36 void setFlagLR(Int_t lr) { m_lr = lr; }
37 void setMdcId( UInt_t mdcid ) { m_mdcid = mdcid; }
38 void setPathLength(double pathlength) { m_pathlength = pathlength; }
39
40private:
41 Bool_t m_isGrouped;
42 Int_t m_trkid; // id of track containing this hit,if this hit belongs to no track, set as -1;
43 Int_t m_mdcHitId; //dE/dx hit reference to MdcHit;
44 Int_t m_mdcKalHelixSegId; //dE/dx hit reference to MdcKalHelixSeg;
45 Int_t m_lr; //flag indicating left or right 0:left 1:right 2:ambig
46 UInt_t m_mdcid; // MDC identifier
47 Double_t m_pathlength;
48 double m_dedx;
49
50 ClassDef(TRecMdcDedxHit,5)
51};
52
53#endif