FairRoot/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 
10 #include "TVector3.h"
11 #include "FairHit.h"
12 
13 class PndSttHit;
14 
15 class PndSttHelixHit : public FairHit
16 {
17 
18  public:
19 
22 
35  PndSttHelixHit(Int_t detID, Int_t tubeID, Int_t hitindex, Int_t mcindex,
36  TVector3& pos, TVector3& dpos,
37  Double_t isochrone, Double_t isochroneError,
38  Double_t dedx);
39 
40 
41  //void CopyHitToHelixHit(PndSttHit *aHit, Int_t hitindex);
42 
43 
45  virtual ~PndSttHelixHit();
46 
48  virtual void Print(const Option_t* opt = 0) const {std::cout<< " opt = " << opt << std::endl;return;}
49 
51  void Clear();
52 
54  Int_t GetHitIndex() {return fHitIndex;}
55 
57  Double_t GetIsochrone() const { return fIsochrone; };
59  Double_t GetdEdx() const { return fdEdx; };
60 
62  void SetHitIndex(Int_t hitindex) {fHitIndex = hitindex;}
63  void SetIsochrone(Double_t isochrone) { fIsochrone = isochrone; };
64  void SetIsochroneError(Double_t isochroneError) { fIsochroneError = isochroneError; };
65  void SetdEdx(Double_t dedx) { fdEdx = dedx; }
66  void Print();
67 
68  // tube ID // CHECK added
69  void SetTubeID(Int_t tubeid) { fTubeID = tubeid; }
70  Int_t GetTubeID() { return fTubeID; }
71 
72  protected:
73 
75  Int_t fHitIndex;
76 
79 
82 
84  Int_t fTubeID; // CHECK added
85 
87 };
88 
89 
90 #endif
TVector3 pos
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 GetIsochroneError() const
Double_t
virtual void Print(const Option_t *opt=0) const
Double_t GetIsochrone() const
Double_t fIsochrone
Double_t GetdEdx() const
virtual ~PndSttHelixHit()
ClassDef(PndSttHelixHit, 2)
Double_t fIsochroneError
void SetdEdx(Double_t dedx)