CbmRoot
CbmMuchPixelHit.h
Go to the documentation of this file.
1 
7 #ifndef CBMMUCHPIXELHIT_H_
8 #define CBMMUCHPIXELHIT_H_
9 
10 #include <Rtypes.h> // for ClassDef
11 #include <RtypesCore.h> // for Int_t, Double_t
12 
13 #include "CbmPixelHit.h" // for CbmPixelHit
14 
15 class TVector3;
16 
17 class CbmMuchPixelHit : public CbmPixelHit {
18 public:
23 
37  CbmMuchPixelHit(Int_t address,
38  Double_t x,
39  Double_t y,
40  Double_t z,
41  Double_t dx,
42  Double_t dy,
43  Double_t dz,
44  Double_t dxy,
45  Int_t refId,
46  Int_t planeId,
47  Double_t time,
48  Double_t dtime);
49 
59  CbmMuchPixelHit(Int_t address,
60  const TVector3& pos,
61  const TVector3& err,
62  Double_t dxy,
63  Int_t refId,
64  Int_t planeId);
65 
76  CbmMuchPixelHit(Int_t address,
77  const TVector3& pos,
78  const TVector3& err,
79  Double_t dxy,
80  Int_t refId,
81  Int_t planeId,
82  Double_t time,
83  Double_t dtime);
84 
88  virtual ~CbmMuchPixelHit();
89 
93  virtual Int_t GetPlaneId() const { return fPlaneId; }
94 
96  Int_t GetFlag() const { return fFlag; }
97 
98 
100  void SetFlag(Int_t flag) { fFlag = flag; }
101 
102 private:
103  Int_t fPlaneId; // Plane number
104  Int_t fFlag; // Flag
105 
107 };
108 
109 #endif /* CBMMUCHPIXELHIT_H_ */
CbmMuchPixelHit::fFlag
Int_t fFlag
Definition: CbmMuchPixelHit.h:104
CbmMuchPixelHit::~CbmMuchPixelHit
virtual ~CbmMuchPixelHit()
Destructor.
Definition: CbmMuchPixelHit.cxx:16
CbmPixelHit.h
CbmMuchPixelHit::ClassDef
ClassDef(CbmMuchPixelHit, 3)
CbmMuchPixelHit::fPlaneId
Int_t fPlaneId
Definition: CbmMuchPixelHit.h:103
CbmMuchPixelHit::GetPlaneId
virtual Int_t GetPlaneId() const
Inherited from CbmBaseHit.
Definition: CbmMuchPixelHit.h:93
x
Double_t x
Definition: CbmMvdSensorDigiToHitTask.cxx:68
y
Double_t y
Definition: CbmMvdSensorDigiToHitTask.cxx:68
pos
TVector3 pos
Definition: CbmMvdSensorDigiToHitTask.cxx:60
CbmPixelHit
Definition: CbmPixelHit.h:21
CbmMuchPixelHit
Definition: CbmMuchPixelHit.h:17
CbmMuchPixelHit::GetFlag
Int_t GetFlag() const
Definition: CbmMuchPixelHit.h:96
CbmMuchPixelHit::SetFlag
void SetFlag(Int_t flag)
Definition: CbmMuchPixelHit.h:100
CbmMuchPixelHit::CbmMuchPixelHit
CbmMuchPixelHit()
Default constructor.
Definition: CbmMuchPixelHit.cxx:12