FairRoot/PandaRoot
PndFtsHoughTrackFinderParams.h
Go to the documentation of this file.
1 
11 #ifndef PndFtsHoughTrackFinderParams_H
12 #define PndFtsHoughTrackFinderParams_H
13 
14 #include <iostream>
15 #include "TObject.h"
16 
17 
18 class PndFtsHoughTrackFinderParams : public TObject {
19 public:
20 
21  // Constructors/Destructors ---------
22  PndFtsHoughTrackFinderParams(); // assigns standard values, overwrite lateron
24 
25 
26  virtual void Print() const{
27  std::cout << "fZLineParabola=" << fZLineParabola << " cm fZParabolaLine=" << fZParabolaLine << "cm\n";
28  std::cout << "fParabolaStepsPerThetaDeg=" << fParabolaStepsPerThetaDeg
29  << " fParabolaHwScan=" << fParabolaHwScan
30  << " fParabolaNBinsPzxInv=" << fParabolaNBinsPzxInv
31  << " fParabolaQDivPzxArgMax=" << fParabolaQDivPzxArgMax << " a.u.\n";
32  };
33 
34  // getters
35  // parabola theta
38  // parabola 2nd value Q/p_zx
39  Int_t getParabolaNBinsPzxInv() const { return fParabolaNBinsPzxInv; };
41 
44 
45  Int_t getNBinsY() const { return fUnused; };
46 
47  // setters
48  void setParabolaParams(Double_t parabolaStepsPerThetaDeg, Double_t parabolaHwScan, Int_t parabolaNBinsPzxInv, Double_t parabolaQDivPzxArgMax) {
49  fParabolaStepsPerThetaDeg = parabolaStepsPerThetaDeg;
50  fParabolaHwScan = parabolaHwScan;
51 
52  fParabolaNBinsPzxInv = parabolaNBinsPzxInv;
53  fParabolaQDivPzxArgMax = parabolaQDivPzxArgMax;
54  }
55 
56  void setZPositionsForSwitchingLineParabolaLine(Double_t zLineParabola, Double_t zParabolaLine) {
57  fZLineParabola = zLineParabola;
58  fZParabolaLine = zParabolaLine;
59  }
60 
61 
62 
63 private:
64  // parabola theta
65  Double_t fParabolaStepsPerThetaDeg; // how many scan steps should the Hough transform do per degree in theta when searching for the parabola - greater number means finer scanning in theta (will multiplied and rounded lateron)
66  Double_t fParabolaHwScan; // how many half widths of the peak for the line before dipole will be scanned around the peak theta value to find the theta for the parabola
67  // parabola 2nd value Q/p_zx
68  Int_t fParabolaNBinsPzxInv; // number of bins for 2nd value (Q/p_{zx})
69  Double_t fParabolaQDivPzxArgMax; // - for low border, + for high border of Hough space for Q/p_{zx} (in arbitrary units)
70 
71  // line parabola line switching (in zx plane) z positions
72  Double_t fZLineParabola; // z position where I go from line before dipole to parabola
73  Double_t fZParabolaLine; // z position where I go from parabola to line behind dipole
74 
75  Int_t fUnused;
76 
77 
78 
79 public:
81 
82 };
83 
84 // inline functions
85 
86 #endif
void setParabolaParams(Double_t parabolaStepsPerThetaDeg, Double_t parabolaHwScan, Int_t parabolaNBinsPzxInv, Double_t parabolaQDivPzxArgMax)
Parameters for Hough space track finder. Created: 09.02.2015.
Double_t
ClassDef(PndFtsHoughTrackFinderParams, 1)
void setZPositionsForSwitchingLineParabolaLine(Double_t zLineParabola, Double_t zParabolaLine)