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>());
MsgLogger & Endl(MsgLogger &ml)
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual ~PDEFoamDensityBase()
destructor
void FillBinarySearchTree(const Event *ev)
This method inserts the given event 'ev' it into the binary search tree.
MsgLogger & Log() const
message logger
ostringstream derivative to redirect and format output
Double_t GetBoxVolume()
Returns the volume of range searching box fBox.
Mother of all ROOT objects.
Abstract ClassifierFactory template that handles arbitrary types.
This is an abstract class, which provides an interface for a PDEFoam density estimator.
A simple Binary search tree including a volume search method.