89 fBoxHasChanged(
kTRUE),
91 fLogger(new
MsgLogger(
"PDEFoamDensityBase"))
104 fBoxHasChanged(
kTRUE),
106 fLogger(new
MsgLogger(
"PDEFoamDensityBase"))
109 Log() << kFATAL <<
"Dimension of PDEFoamDensityBase is zero" <<
Endl;
120 if (fBst)
delete fBst;
121 if (fLogger)
delete fLogger;
133 fBoxVolume(distr.fBoxVolume),
134 fBoxHasChanged(distr.fBoxHasChanged),
147 Log() << kFATAL <<
"<PDEFoamDensityBase::FillBinarySearchTree> "
148 <<
"Binary tree is not set!" <<
Endl;
163 if (fBoxHasChanged) {
165 fBoxVolume = std::accumulate(fBox.begin(), fBox.end(), 1.0,
166 std::multiplies<Double_t>());
A simple Binary search tree including a volume search method.
ostringstream derivative to redirect and format output
This is an abstract class, which provides an interface for a PDEFoam density estimator.
Double_t GetBoxVolume()
Returns the volume of range searching box fBox.
MsgLogger & Log() const
message logger
virtual ~PDEFoamDensityBase()
destructor
void FillBinarySearchTree(const Event *ev)
This method inserts the given event 'ev' it into the binary search tree.
Mother of all ROOT objects.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Abstract ClassifierFactory template that handles arbitrary types.
MsgLogger & Endl(MsgLogger &ml)