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 class PndTrkSkewHit : public PndTrkHit {
17 
18  public:
19  PndTrkSkewHit();
20  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,
21  TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b, int rightone, double beta);
22  PndTrkSkewHit(PndTrkHit &hit, Int_t trackID, TVector3 center1, TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b,
23  int rightone, double beta);
25  PndTrkSkewHit(const PndTrkSkewHit &hit);
26 
28 
30 
31  TVector3 GetIntersection1() { return fIntersection1; }
32  TVector3 GetIntersection2() { return fIntersection2; }
33 
34  Double_t GetPhi1() { return fPhi1; }
35  Double_t GetPhi2() { return fPhi2; }
36 
37  void SetPhi1(Double_t phi1) { fPhi1 = phi1; }
38  void SetPhi2(Double_t phi2) { fPhi2 = phi2; }
39 
40  // info
41  void Draw(Color_t color);
42  void Print();
43 
44  // variables
47  Double_t fa, fb, fPhi1, fPhi2, fBeta;
48 
50 };
51 
52 #endif
TVector3 fCenter1
Definition: PndTrkSkewHit.h:46
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:46
Double_t fBeta
Definition: PndTrkSkewHit.h:47
Double_t fPhi1
Definition: PndTrkSkewHit.h:47
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:46
PndTrkSkewHit & operator=(const PndTrkSkewHit &hit)
Double_t GetPhi1()
Definition: PndTrkSkewHit.h:34
TVector3 GetIntersection2()
Definition: PndTrkSkewHit.h:32
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:45
ClassDef(PndTrkSkewHit, 1)
Double_t GetPhi2()
Definition: PndTrkSkewHit.h:35
void SetPhi2(Double_t phi2)
Definition: PndTrkSkewHit.h:38
TVector3 fCenter2
Definition: PndTrkSkewHit.h:46
Double_t fPhi2
Definition: PndTrkSkewHit.h:47
TVector3 GetIntersection1()
Definition: PndTrkSkewHit.h:31
void Draw(Color_t color)
void SetPhi1(Double_t phi1)
Definition: PndTrkSkewHit.h:37