PandaRoot
PndTrkSkewHit.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
21 #ifndef PNDTRKSKEWHIT_H
22 #define PNDTRKSKEWHIT_H 1
23 
24 #include "TVector3.h"
25 #include "PndTrkParameters.h"
26 #include "PndTrkHit.h"
27 
28 class PndTrkSkewHit : public PndTrkHit {
29 
30  public:
31  PndTrkSkewHit();
32  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,
33  TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b, int rightone, double beta);
34  PndTrkSkewHit(PndTrkHit &hit, Int_t trackID, TVector3 center1, TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b,
35  int rightone, double beta);
37  PndTrkSkewHit(const PndTrkSkewHit &hit);
38 
40 
42 
43  TVector3 GetIntersection1() { return fIntersection1; }
44  TVector3 GetIntersection2() { return fIntersection2; }
45 
46  Double_t GetPhi1() { return fPhi1; }
47  Double_t GetPhi2() { return fPhi2; }
48 
49  void SetPhi1(Double_t phi1) { fPhi1 = phi1; }
50  void SetPhi2(Double_t phi2) { fPhi2 = phi2; }
51 
52  // info
53  void Draw(Color_t color);
54  void Print();
55 
56  // variables
59  Double_t fa, fb, fPhi1, fPhi2, fBeta;
60 
62 };
63 
64 #endif
TVector3 fCenter1
Definition: PndTrkSkewHit.h:58
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:58
Double_t fBeta
Definition: PndTrkSkewHit.h:59
Double_t fPhi1
Definition: PndTrkSkewHit.h:59
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:58
PndTrkSkewHit & operator=(const PndTrkSkewHit &hit)
Double_t GetPhi1()
Definition: PndTrkSkewHit.h:46
TVector3 GetIntersection2()
Definition: PndTrkSkewHit.h:44
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:57
ClassDef(PndTrkSkewHit, 1)
Double_t GetPhi2()
Definition: PndTrkSkewHit.h:47
void SetPhi2(Double_t phi2)
Definition: PndTrkSkewHit.h:50
TVector3 fCenter2
Definition: PndTrkSkewHit.h:58
Double_t fPhi2
Definition: PndTrkSkewHit.h:59
TVector3 GetIntersection1()
Definition: PndTrkSkewHit.h:43
void Draw(Color_t color)
void SetPhi1(Double_t phi1)
Definition: PndTrkSkewHit.h:49