27 : fW(0), fH(0), fD(0),
29 fXMin(0.), fXStep(0.),
30 fYMin(0.), fYStep(0.),
31 fZMin(0.), fZStep(0.),
42 const TAxis *
xA = dataSet->GetXAxis();
46 const TAxis *
yA = dataSet->GetYAxis();
50 const TAxis *
zA = dataSet->GetZAxis();
124 Error(
"TKDEAdapter::FetchFirstSlices",
"Density estimator is a null pointer."
125 " Set it correctly first.");
126 throw std::runtime_error(
"No density estimator.");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
TKDEAdapter()
Constructor. "Half-baked" object.
void SetGeometry(const TGL5DDataSet *dataSet)
Set grid's dimensions.
Float_t GetData(UInt_t i, UInt_t j, UInt_t k) const
Get data at given position.
UInt_t GetH() const
Number of cells along Y.
void SetDataSource(const TKDEFGT *dataSource)
Set density estimator as a data source.
void SetE(Double_t e)
e for kdefgt.
void FetchDensities() const
Do some initialization and calculate densities.
UInt_t GetD() const
Number of cells along Z.
std::vector< Double_t > vector_t
void FreeVectors()
Free grid and density vectors.
UInt_t GetW() const
Number of cells along X.
Double_t GetE() const
e for kdefgt.
Class to manage histogram axis.
std::pair< Double_t, Double_t > Range_t