FairRoot/PandaRoot
PndFtsHoughSpaceBinning.h
Go to the documentation of this file.
1 
11 #ifndef PndFtsHoughSpaceBinning_H
12 #define PndFtsHoughSpaceBinning_H
13 
14 #include <iostream>
15 #include "TObject.h"
16 #include <cmath>
17 #include "TMath.h"
18 #include <math.h>
19 
20 class PndFtsHoughSpaceBinning : public TObject {
21 public:
22 
23  // Constructors/Destructors ---------
24  PndFtsHoughSpaceBinning(); // do not use this constructor
26  Int_t nBinsThetaVal,
27  Double_t thetaRadLowVal, // in rad
28  Double_t thetaRadHighVal, // in rad
29 
30  Int_t nBinsYVal,
31  Double_t yLowVal,
32  Double_t yHighVal
33  ); // supports asymmetric boundaries for Hough spaces
35  Int_t stepsPerThetaDeg,
36  Double_t thetaDegLowHighVal,
37 
38  Int_t nBinsYVal,
39  Double_t yLowHighVal
40  ); // only symmetric boundaries for Hough spaces
42 
43 
44  inline void Print() const;
45 
46  Int_t getNBinsTheta() const { return fNBinsTheta; };
47  Double_t getThetaRadLow() const { return fThetaRadLow; };
48  Double_t getThetaRadHigh() const { return fThetaRadHigh; };
49 
50  Int_t getNBinsY() const { return fNBinsY; };
51  Double_t getYHigh() const { return fYHigh; };
52  Double_t getYLow() const { return fYLow; };
53 
54 
55 private:
56  Int_t fNBinsTheta;
59 
60  Int_t fNBinsY;
63 
64 
65 public:
67 };
68 
69 // inline functions
71  std::cout << "x: (" << fNBinsTheta << ", " << fThetaRadLow << ", " << fThetaRadHigh << ") -- y: (" << fNBinsY << ", " << fYLow << ", " << fYHigh << '\n';
72 }
73 
74 #endif
ClassDef(PndFtsHoughSpaceBinning, 1)
Double_t
Helper class for Hough space containing binning. Created: 09.02.2015.