88 fBoxHasChanged(
kTRUE),
103 fBoxHasChanged(
kTRUE),
108 Log() << kFATAL <<
"Dimension of PDEFoamDensityBase is zero" <<
Endl;
119 if (fBst)
delete fBst;
120 if (fLogger)
delete fLogger;
132 fBoxVolume(
distr.fBoxVolume),
133 fBoxHasChanged(
distr.fBoxHasChanged),
146 Log() << kFATAL <<
"<PDEFoamDensityBase::FillBinarySearchTree> "
147 <<
"Binary tree is not set!" <<
Endl;
162 if (fBoxHasChanged) {
164 fBoxVolume = std::accumulate(fBox.begin(), fBox.end(), 1.0,
165 std::multiplies<Double_t>());
Basic types used by ROOT and required by TInterpreter.
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.
BinarySearchTree * fBst
Binary tree to find events within a volume.
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)
create variable transformations
MsgLogger & Endl(MsgLogger &ml)