PandaRoot
PndTrkConformalTransform.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 
13 #ifndef PNDTRKCONFORMALTRANSFORM_H
14 #define PNDTRKCONFORMALTRANSFORM_H
15 
16 #include "TVector2.h"
17 #include "PndTrkConformalHit.h"
18 
19 class PndTrkConformalTransform : public TObject {
20 
21  public:
23  PndTrkConformalTransform(double x, double y, double delta);
25 
26  void SetTranslation(double x, double y);
27  void SetRotation(double delta);
28  TVector2 GetTranslation() { return fTrasl; }
29  Double_t GetRotation() { return fAngle; }
30 
31  void PerformConformalTransformation(double x, double y, double rd, double &u, double &v, double &rc);
32  void PerformRealTransformation(double u, double v, double rc, double &x, double &y, double &rd);
33 
36  double GetXConf(double x, double y, double rd);
37  double GetYConf(double x, double y, double rd);
38  double GetRConf(double x, double y, double rd);
39 
40  void SetOrigin(double x, double y, double delta);
41 
42  private:
43  TVector2 fTrasl;
44  Double_t fAngle;
45 
46  ClassDef(PndTrkConformalTransform, 1)
47 };
48 
49 #endif
__m128 v
Definition: P4_F32vec4.h:15
double GetXConf(double x, double y, double rd)
void SetRotation(double delta)
PndTrkConformalHit GetConformalHit(PndTrkHit *hit)
void SetOrigin(double x, double y, double delta)
double GetRConf(double x, double y, double rd)
void SetTranslation(double x, double y)
double GetYConf(double x, double y, double rd)
PndTrkConformalHit GetConformalSttHit(PndTrkHit *hit)
void PerformConformalTransformation(double x, double y, double rd, double &u, double &v, double &rc)
void PerformRealTransformation(double u, double v, double rc, double &x, double &y, double &rd)