CbmRoot
CbmStsHit.h
Go to the documentation of this file.
1 
11 #ifndef CBMSTSSHIT_H
12 #define CBMSTSSHIT_H 1
13 
14 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
15 #include <RtypesCore.h> // for Double_t, Int_t
16 #include <TVector3.h> // for TVector3
17 
18 #include <string> // for string
19 
20 #include "CbmPixelHit.h" // for CbmPixelHit
21 
22 
31 class CbmStsHit : public CbmPixelHit {
32 
33 public:
35  CbmStsHit();
36 
37 
50  CbmStsHit(Int_t address,
51  const TVector3& pos,
52  const TVector3& dpos,
53  Double_t dxy,
54  Int_t frontClusterId,
55  Int_t backClusterId,
56  Double_t time = 0.,
57  Double_t timeError = 0.,
58  Double_t du = 0.,
59  Double_t dv = 0.);
60 
61 
63  virtual ~CbmStsHit();
64 
65 
69  Int_t GetBackClusterId() const { return fBackClusterId; }
70 
71 
78  Double_t GetDu() const { return fDu; }
79 
80 
87  Double_t GetDv() const { return fDv; }
88 
89 
93  Int_t GetFrontClusterId() const { return fFrontClusterId; }
94 
99  void SetFrontClusterId(Int_t index) { fFrontClusterId = index; }
100 
105  void SetBackClusterId(Int_t index) { fBackClusterId = index; }
106 
108  virtual std::string ToString() const;
109 
110 
111 private:
114  Double_t fDu;
115  Double_t fDv;
116 
118 };
119 
120 #endif
CbmStsHit::~CbmStsHit
virtual ~CbmStsHit()
Definition: CbmStsHit.cxx:49
CbmStsHit::GetFrontClusterId
Int_t GetFrontClusterId() const
Definition: CbmStsHit.h:93
CbmStsHit::SetBackClusterId
void SetBackClusterId(Int_t index)
Set the index of the backside cluster To keep track of the input during matching.
Definition: CbmStsHit.h:105
CbmStsHit::ClassDef
ClassDef(CbmStsHit, 7)
CbmStsHit
data class for a reconstructed 3-d hit in the STS
Definition: CbmStsHit.h:31
CbmStsHit::fFrontClusterId
Int_t fFrontClusterId
Cluster index front side.
Definition: CbmStsHit.h:112
dpos
TVector3 dpos
Definition: CbmMvdSensorDigiToHitTask.cxx:61
CbmStsHit::GetDu
Double_t GetDu() const
Error of coordinate across front-side strips @value Coordinate error [cm].
Definition: CbmStsHit.h:78
CbmStsHit::fDu
Double_t fDu
Error of coordinate across front-side strips [cm].
Definition: CbmStsHit.h:114
CbmStsHit::SetFrontClusterId
void SetFrontClusterId(Int_t index)
Set the index of the frontside cluster To keep track of the input during matching.
Definition: CbmStsHit.h:99
CbmStsHit::GetDv
Double_t GetDv() const
Error of coordinate across front-side strips @value Coordinate error [cm].
Definition: CbmStsHit.h:87
CbmPixelHit.h
CbmStsHit::ToString
virtual std::string ToString() const
Definition: CbmStsHit.cxx:53
CbmStsHit::GetBackClusterId
Int_t GetBackClusterId() const
Definition: CbmStsHit.h:69
CbmStsHit::fBackClusterId
Int_t fBackClusterId
Cluster index back side.
Definition: CbmStsHit.h:113
CbmStsHit::fDv
Double_t fDv
Error of coordinate across back-side strips [cm].
Definition: CbmStsHit.h:115
CbmStsHit::CbmStsHit
CbmStsHit()
Definition: CbmStsHit.cxx:20
pos
TVector3 pos
Definition: CbmMvdSensorDigiToHitTask.cxx:60
CbmPixelHit
Definition: CbmPixelHit.h:21