FairRoot/PandaRoot
Public Member Functions | Private Attributes | List of all members
PndFtsHoughSpaceBinning Class Reference

Helper class for Hough space containing binning. Created: 09.02.2015. More...

#include <PndFtsHoughSpaceBinning.h>

Inheritance diagram for PndFtsHoughSpaceBinning:

Public Member Functions

 PndFtsHoughSpaceBinning ()
 
 PndFtsHoughSpaceBinning (Int_t nBinsThetaVal, Double_t thetaRadLowVal, Double_t thetaRadHighVal, Int_t nBinsYVal, Double_t yLowVal, Double_t yHighVal)
 
 PndFtsHoughSpaceBinning (Int_t stepsPerThetaDeg, Double_t thetaDegLowHighVal, Int_t nBinsYVal, Double_t yLowHighVal)
 
 ~PndFtsHoughSpaceBinning ()
 
void Print () const
 
Int_t getNBinsTheta () const
 
Double_t getThetaRadLow () const
 
Double_t getThetaRadHigh () const
 
Int_t getNBinsY () const
 
Double_t getYHigh () const
 
Double_t getYLow () const
 
 ClassDef (PndFtsHoughSpaceBinning, 1)
 

Private Attributes

Int_t fNBinsTheta
 
Double_t fThetaRadLow
 
Double_t fThetaRadHigh
 
Int_t fNBinsY
 
Double_t fYLow
 
Double_t fYHigh
 

Detailed Description

Helper class for Hough space containing binning. Created: 09.02.2015.

Author
Martin J. Galuska <martin [dot] j [dot] galuska (at) physik [dot] uni (minus) giessen [dot] de>

Definition at line 20 of file PndFtsHoughSpaceBinning.h.

Constructor & Destructor Documentation

PndFtsHoughSpaceBinning::PndFtsHoughSpaceBinning ( )
PndFtsHoughSpaceBinning::PndFtsHoughSpaceBinning ( Int_t  nBinsThetaVal,
Double_t  thetaRadLowVal,
Double_t  thetaRadHighVal,
Int_t  nBinsYVal,
Double_t  yLowVal,
Double_t  yHighVal 
)

Definition at line 16 of file PndFtsHoughSpaceBinning.cxx.

25 : fNBinsTheta(nBinsThetaVal),
26  fThetaRadLow(thetaRadLowVal),
27  fThetaRadHigh(thetaRadHighVal),
28 
29  fNBinsY(nBinsYVal),
30  fYLow(yLowVal),
31  fYHigh(yHighVal)
32 { }
PndFtsHoughSpaceBinning::PndFtsHoughSpaceBinning ( Int_t  stepsPerThetaDeg,
Double_t  thetaDegLowHighVal,
Int_t  nBinsYVal,
Double_t  yLowHighVal 
)

Definition at line 34 of file PndFtsHoughSpaceBinning.cxx.

41 : fNBinsTheta(stepsPerThetaDeg*2*thetaDegLowHighVal),
42  fThetaRadLow(-1*thetaDegLowHighVal * TMath::DegToRad()),
43  fThetaRadHigh(thetaDegLowHighVal * TMath::DegToRad()),
44 
45  fNBinsY(nBinsYVal),
46  fYLow(-1*yLowHighVal),
47  fYHigh(yLowHighVal)
48 {}
PndFtsHoughSpaceBinning::~PndFtsHoughSpaceBinning ( )

Definition at line 55 of file PndFtsHoughSpaceBinning.cxx.

55 { }

Member Function Documentation

PndFtsHoughSpaceBinning::ClassDef ( PndFtsHoughSpaceBinning  ,
 
)
Int_t PndFtsHoughSpaceBinning::getNBinsTheta ( ) const
inline

Definition at line 46 of file PndFtsHoughSpaceBinning.h.

References fNBinsTheta.

Int_t PndFtsHoughSpaceBinning::getNBinsY ( ) const
inline

Definition at line 50 of file PndFtsHoughSpaceBinning.h.

References fNBinsY.

50 { return fNBinsY; };
Double_t PndFtsHoughSpaceBinning::getThetaRadHigh ( ) const
inline

Definition at line 48 of file PndFtsHoughSpaceBinning.h.

References fThetaRadHigh.

48 { return fThetaRadHigh; };
Double_t PndFtsHoughSpaceBinning::getThetaRadLow ( ) const
inline

Definition at line 47 of file PndFtsHoughSpaceBinning.h.

References fThetaRadLow.

47 { return fThetaRadLow; };
Double_t PndFtsHoughSpaceBinning::getYHigh ( ) const
inline

Definition at line 51 of file PndFtsHoughSpaceBinning.h.

References fYHigh.

51 { return fYHigh; };
Double_t PndFtsHoughSpaceBinning::getYLow ( ) const
inline

Definition at line 52 of file PndFtsHoughSpaceBinning.h.

References fYLow.

52 { return fYLow; };
void PndFtsHoughSpaceBinning::Print ( ) const
inline

Definition at line 70 of file PndFtsHoughSpaceBinning.h.

References fNBinsTheta, fNBinsY, fThetaRadHigh, fThetaRadLow, fYHigh, and fYLow.

70  {
71  std::cout << "x: (" << fNBinsTheta << ", " << fThetaRadLow << ", " << fThetaRadHigh << ") -- y: (" << fNBinsY << ", " << fYLow << ", " << fYHigh << '\n';
72 }

Member Data Documentation

Int_t PndFtsHoughSpaceBinning::fNBinsTheta
private

Definition at line 52 of file PndFtsHoughSpaceBinning.h.

Referenced by getNBinsTheta(), and Print().

Int_t PndFtsHoughSpaceBinning::fNBinsY
private

Definition at line 60 of file PndFtsHoughSpaceBinning.h.

Referenced by getNBinsY(), and Print().

Double_t PndFtsHoughSpaceBinning::fThetaRadHigh
private

Definition at line 58 of file PndFtsHoughSpaceBinning.h.

Referenced by getThetaRadHigh(), and Print().

Double_t PndFtsHoughSpaceBinning::fThetaRadLow
private

Definition at line 57 of file PndFtsHoughSpaceBinning.h.

Referenced by getThetaRadLow(), and Print().

Double_t PndFtsHoughSpaceBinning::fYHigh
private

Definition at line 62 of file PndFtsHoughSpaceBinning.h.

Referenced by getYHigh(), and Print().

Double_t PndFtsHoughSpaceBinning::fYLow
private

Definition at line 61 of file PndFtsHoughSpaceBinning.h.

Referenced by getYLow(), and Print().


The documentation for this class was generated from the following files: