61 , fSigma(
other.fSigma)
82 Log() << kFATAL <<
"<PDEFoamKernelGauss::Estimate>: PDEFoam not set!" <<
Endl;
87 if (!(
foam->fCells[
iCell]->GetStat()))
continue;
105 return (norm != 0 ?
result / norm : 0);
120 std::vector<Float_t> &
txvec,
133 for (
Int_t dim = 0; dim <
foam->GetTotDim(); dim++) {
155 if (norm > 0)
result /= norm;
183 std::vector<Float_t> &
txvec)
193 for (
Int_t i = 0; i <
foam->GetTotDim(); ++i) {
206 for (
Int_t i = 0; i <
foam->GetTotDim(); ++i)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
This class is the abstract kernel interface for PDEFoam.
This PDEFoam kernel estimates a cell value for a given event by weighting all cell values with a gaus...
Float_t GetAverageNeighborsValue(PDEFoam *, std::vector< Float_t > &, ECellValue)
This function returns the average value 'cv' of only nearest neighbor cells.
PDEFoamKernelGauss(Float_t sigma)
Default constructor for streamer.
Float_t WeightGaus(PDEFoam *, PDEFoamCell *, std::vector< Float_t > &)
Returns the gauss weight between the 'cell' and a given coordinate 'txvec'.
virtual Float_t Estimate(PDEFoam *, std::vector< Float_t > &, ECellValue)
Gaussian kernel estimator.
Implementation of PDEFoam.
MsgLogger & Endl(MsgLogger &ml)
Double_t Gaus(Double_t x, Double_t mean=0, Double_t sigma=1, Bool_t norm=kFALSE)
Calculates a gaussian function with mean and sigma.
Double_t Sqrt(Double_t x)
Returns the square root of x.