PandaRoot
PndSttHelixHit.h
Go to the documentation of this file.
1 // ======================================
2 //
3 // hits recostructed via HELIX FIT in STT
4 //
5 // ======================================
6 #ifndef PNDSTTHELIXHIT_H
7 #define PNDSTTHELIXHIT_H 1
8 
9 #include "TVector3.h"
10 #include "FairHit.h"
11 
12 class PndSttHit;
13 
14 class PndSttHelixHit : public FairHit {
15 
16  public:
19 
32  PndSttHelixHit(Int_t detID, Int_t tubeID, Int_t hitindex, Int_t mcindex, TVector3 &pos, TVector3 &dpos, Double_t isochrone, Double_t isochroneError, Double_t dedx);
33 
34  // void CopyHitToHelixHit(PndSttHit *aHit, Int_t hitindex);
35 
37  virtual ~PndSttHelixHit();
38 
40  virtual void Print(const Option_t *opt = nullptr) const
41  {
42  std::cout << " opt = " << opt << std::endl;
43  return;
44  }
45 
47  void Clear();
48 
50  Int_t GetHitIndex() { return fHitIndex; }
51 
53  Double_t GetIsochrone() const { return fIsochrone; };
54  Double_t GetIsochroneError() const { return fIsochroneError; };
55  Double_t GetdEdx() const { return fdEdx; };
56 
58  void SetHitIndex(Int_t hitindex) { fHitIndex = hitindex; }
59  void SetIsochrone(Double_t isochrone) { fIsochrone = isochrone; };
60  void SetIsochroneError(Double_t isochroneError) { fIsochroneError = isochroneError; };
61  void SetdEdx(Double_t dedx) { fdEdx = dedx; }
62  void Print();
63 
64  // tube ID // CHECK added
65  void SetTubeID(Int_t tubeid) { fTubeID = tubeid; }
66  Int_t GetTubeID() { return fTubeID; }
67 
68  protected:
70  Int_t fHitIndex;
71 
73  Double_t fdEdx;
74 
77 
79  Int_t fTubeID; // CHECK added
80 
82 };
83 
84 #endif
virtual void Print(const Option_t *opt=nullptr) const
Int_t GetHitIndex()
void SetIsochroneError(Double_t isochroneError)
void SetTubeID(Int_t tubeid)
void SetHitIndex(Int_t hitindex)
void SetIsochrone(Double_t isochrone)
Double_t fIsochrone
Double_t GetIsochroneError() const
Double_t GetdEdx() const
ClassDef(PndSttHelixHit, 2)
Double_t fIsochroneError
Double_t GetIsochrone() const
void SetdEdx(Double_t dedx)
virtual ~PndSttHelixHit()