FairRoot/PandaRoot
PndTrkTools.h
Go to the documentation of this file.
1 
6 #ifndef PNDTRKTOOLS_H
7 #define PNDTRKTOOLS_H 1
8 
9 #include "TVector3.h"
10 #include "TVector2.h"
11 
12 
13 
14 class PndTrkTools : public TObject
15 {
16 
17  public:
18 
19  PndTrkTools();
20  ~PndTrkTools();
21 
22  void ComputeLinePointOfTangenceOnACircle(double m, double xc, double yc, double R, double &xi1, double &yi1, double &xi2, double &yi2);
23  TVector2 ComputePocaToPointOnCircle2(double x, double y, double xc, double yc, double R);
24  TVector3 ComputePocaToPointOnCircle3(double x, double y, double xc, double yc, double R);
25 
26  TVector2 ComputePocaToLineOnCircle(double m, double q, double xc, double yc, double R);
27  Int_t ComputeSegmentCircleIntersection(TVector2 ex1, TVector2 ex2, double xc, double yc, double R, TVector2 &intersection1, TVector2 &intersection2);
28  TVector2 ComputeTangentInPoint(double xc, double yc, TVector2 point);
29  void ComputeTangentInPoint(double xc, double yc, TVector2 point, double &m, double &p);
30 
31 
33 };
34 
35 
36 #endif
TVector2 ComputePocaToLineOnCircle(double m, double q, double xc, double yc, double R)
Definition: PndTrkTools.cxx:60
__m128 m
Definition: P4_F32vec4.h:28
ClassDef(PndTrkTools, 1)
Double_t p
Definition: anasim.C:58
TVector2 ComputePocaToPointOnCircle2(double x, double y, double xc, double yc, double R)
Definition: PndTrkTools.cxx:36
TClonesArray * point
Definition: anaLmdDigi.C:29
TVector2 ComputeTangentInPoint(double xc, double yc, TVector2 point)
TVector3 ComputePocaToPointOnCircle3(double x, double y, double xc, double yc, double R)
Definition: PndTrkTools.cxx:52
void ComputeLinePointOfTangenceOnACircle(double m, double xc, double yc, double R, double &xi1, double &yi1, double &xi2, double &yi2)
Definition: PndTrkTools.cxx:23
Double_t x
Int_t ComputeSegmentCircleIntersection(TVector2 ex1, TVector2 ex2, double xc, double yc, double R, TVector2 &intersection1, TVector2 &intersection2)
Definition: PndTrkTools.cxx:77
Double_t y
Double_t R
Definition: checkhelixhit.C:61