FairRoot/PandaRoot
PndTrkSkewHit.h
Go to the documentation of this file.
1 
9 #ifndef PNDTRKSKEWHIT_H
10 #define PNDTRKSKEWHIT_H 1
11 
12 #include "TVector3.h"
13 #include "PndTrkParameters.h"
14 #include "PndTrkHit.h"
15 
16 
17 class PndTrkSkewHit : public PndTrkHit
18 {
19 
20  public:
21 
22  PndTrkSkewHit();
23  PndTrkSkewHit(Int_t hitID, Int_t detID, Bool_t used, Int_t iregion, Int_t sensorID, TVector3& pos, Double_t isochrone, Double_t sortvar, Int_t trackID, TVector3 center1, TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b, int rightone, double beta);
24  PndTrkSkewHit(PndTrkHit &hit, Int_t trackID, TVector3 center1, TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b, int rightone, double beta);
26  PndTrkSkewHit(const PndTrkSkewHit& hit);
27 
29 
30 
31 
32  ~PndTrkSkewHit();
33 
34  TVector3 GetIntersection1() { return fIntersection1; }
35  TVector3 GetIntersection2() { return fIntersection2; }
36 
37  Double_t GetPhi1() { return fPhi1; }
38  Double_t GetPhi2() { return fPhi2; }
39 
40  void SetPhi1(Double_t phi1) { fPhi1 = phi1; }
41  void SetPhi2(Double_t phi2) { fPhi2 = phi2; }
42 
43 
44  // info
45  void Draw(Color_t color);
46  void Print();
47 
48  // variables
52 
53 
55 };
56 
57 
58 #endif
TVector3 pos
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
TTree * b
Double_t GetPhi1()
Definition: PndTrkSkewHit.h:37
TVector3 GetIntersection2()
Definition: PndTrkSkewHit.h:35
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
PndTrkSkewHit & operator=(const PndTrkSkewHit &hit)
Int_t a
Definition: anaLmdDigi.C:126
ClassDef(PndTrkSkewHit, 1)
Double_t GetPhi2()
Definition: PndTrkSkewHit.h:38
Double_t
void SetPhi2(Double_t phi2)
Definition: PndTrkSkewHit.h:41
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
TVector3 GetIntersection1()
Definition: PndTrkSkewHit.h:34
PndSdsMCPoint * hit
Definition: anasim.C:70
void Draw(Color_t color)
void SetPhi1(Double_t phi1)
Definition: PndTrkSkewHit.h:40