CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TRecCgemDedxHit.h
Go to the documentation of this file.
1#ifndef RootEventData_TRecCgemDedxHit_H
2#define RootEventData_TRecCgemDedxHit_H 1
3
4#include "TObject.h"
5
6class TRecCgemDedxHit : public TObject {
7
8public:
9
11
13 // is this hit grouped to any track?
14 Bool_t isGrouped(void){ return m_isGrouped; }
15
16 // void Clear(Option_t *option ="")
17 // void PrInt_t(Option_t *option="")
18 //get
19
20 const Int_t trkId(void) const { return m_trkid; }
21/* const UInt_t cgemIdMSB() const { return m_cgemidMSB; } */
22/* const UInt_t cgemIdLSB() const { return m_cgemidLSB; } */
23 const UInt_t cgemId() const { return m_cgemid; }
24 const Double_t pathLength(void) const { return m_pathlength; }
25
26 //set
27 void setIsGrouped(Bool_t isGrouped) { m_isGrouped = isGrouped;}
28 void setTrkId(Int_t trkid) { m_trkid = trkid; }
29/* void setCgemIdMSB( UInt_t cgemid ) { m_cgemidMSB = cgemid; } */
30/* void setCgemIdLSB( UInt_t cgemid ) { m_cgemidLSB = cgemid; } */
31 void setCgemId( UInt_t cgemid ) { m_cgemid = cgemid; }
32 void setPathLength(double pathlength) { m_pathlength = pathlength; }
33private:
34 Bool_t m_isGrouped;
35 Int_t m_trkid; // id of track containing this hit,if this hit
36 // belongs to no track, set as -1;
37/* UInt_t m_cgemidMSB; // CGEM identifier */
38/* UInt_t m_cgemidLSB; // CGEM identifier */
39 UInt_t m_cgemid; // CGEM identifier
40 Double_t m_pathlength;
41 ClassDef(TRecCgemDedxHit,4)
42};
43
44#endif
void setIsGrouped(Bool_t isGrouped)
void setCgemId(UInt_t cgemid)
const UInt_t cgemId() const
Bool_t isGrouped(void)
const Double_t pathLength(void) const
void setTrkId(Int_t trkid)
void setPathLength(double pathlength)
const Int_t trkId(void) const