FairRoot/PandaRoot
PndTrkConformalHit.h
Go to the documentation of this file.
1 
8 #ifndef PNDTRKCONFORMALHIT_H
9 #define PNDTRKCONFORMALHIT_H 1
10 
11 #include "TVector2.h"
12 #include "PndTrkHit.h"
13 
14 class PndTrkConformalHit : public TObject
15 {
16 
17  public:
18 
19 
21  PndTrkConformalHit(PndTrkHit *hit, double u, double v, double rd);
22  PndTrkConformalHit(PndTrkHit *hit, double u, double v);
24 
25  // inline get
26  inline Int_t GetHitID() { return fHit->GetHitID(); }
27  inline Int_t GetDetectorID() { return fHit->GetDetectorID(); }
28 
29  inline TVector2 GetPosition() { return fPosition; }
30  inline Double_t GetU() { return fPosition.X(); }
31  inline Double_t GetV() { return fPosition.Y(); }
32  inline Double_t GetIsochrone() { return fIsochrone; }
33  inline PndTrkHit * GetHit() { return fHit; }
34 
35  double GetDistanceFromTrack(double fitm, double fitp);
36 
37 
38  void SetPosition(double x, double y) { fPosition.Set(x, y); }
39 
40  // info
41  void Draw(Color_t color);
42  void Print();
43 
44  // variables
46  TVector2 fPosition;
48 
49 
51 };
52 
53 
54 #endif
__m128 v
Definition: P4_F32vec4.h:4
Int_t GetHitID()
Definition: PndTrkHit.h:56
Int_t GetDetectorID()
Definition: PndTrkHit.h:57
void Draw(Color_t color)
Double_t
ClassDef(PndTrkConformalHit, 1)
double GetDistanceFromTrack(double fitm, double fitp)
void SetPosition(double x, double y)
Double_t x
PndSdsMCPoint * hit
Definition: anasim.C:70
Double_t y