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  public:
18  PndTrkConformalHit(PndTrkHit *hit, double u, double v, double rd);
19  PndTrkConformalHit(PndTrkHit *hit, double u, double v);
21 
22  // inline get
23  inline Int_t GetHitID() { return fHit->GetHitID(); }
24  inline Int_t GetDetectorID() { return fHit->GetDetectorID(); }
25 
26  inline TVector2 GetPosition() { return fPosition; }
27  inline Double_t GetU() { return fPosition.X(); }
28  inline Double_t GetV() { return fPosition.Y(); }
29  inline Double_t GetIsochrone() { return fIsochrone; }
30  inline PndTrkHit *GetHit() { return fHit; }
31 
32  double GetDistanceFromTrack(double fitm, double fitp);
33 
34  void SetPosition(double x, double y) { fPosition.Set(x, y); }
35 
36  // info
37  void Draw(Color_t color);
38  void Print();
39 
40  // variables
42  TVector2 fPosition;
43  Double_t fIsochrone;
44 
46 };
47 
48 #endif
__m128 v
Definition: P4_F32vec4.h:3
Int_t GetHitID()
Definition: PndTrkHit.h:50
Int_t GetDetectorID()
Definition: PndTrkHit.h:51
void Draw(Color_t color)
ClassDef(PndTrkConformalHit, 1)
double GetDistanceFromTrack(double fitm, double fitp)
void SetPosition(double x, double y)