BinnedDensity Class Reference
Inheritance diagram for BinnedDensity:
Detailed DescriptionA class that describes the PDF which is a multilinear interpolation on the binned grid. Definition at line 13 of file BinnedDensity.hh. Constructor & Destructor Documentation
Constructor that creates the binned density from any AbsDensity of the dimensionality up to five. Constructor that fills bins from AbsDensity.
Definition at line 21 of file BinnedDensity.cpp.
Constructor that creates the binned density from any AbsDensity of arbitrary dimensionality. Constructor that fills bins from AbsDensity.
Definition at line 40 of file BinnedDensity.cpp.
Constructor that reads the binned density from a file. The dimensionality of the density stored in the file should match the dimensionality of the phase space. Constructor that reads from file.
Definition at line 145 of file BinnedDensity.cpp.
Destructor. Definition at line 394 of file BinnedDensity.cpp. Member Function Documentation
Return the value of the PDF in a point.
Implements AbsDensity. Definition at line 550 of file BinnedDensity.cpp.
Common initalisation function used by both constructors from an AbsDensity. Initialise method used by both constructors.
Definition at line 48 of file BinnedDensity.cpp.
Return the phase space.
Implements AbsDensity. Definition at line 117 of file BinnedDensity.hh.
Read the binned density from a file, ROOT or text depending on the extension. The dimensionality of the density stored in the file should match the dimensionality of the phase space.
Definition at line 153 of file BinnedDensity.cpp.
Read the binned density from a ROOT file. The dimensionality of the density stored in the file should match the dimensionality of the phase space. Read from ROOT file.
Definition at line 270 of file BinnedDensity.cpp.
Read the binned density from a text file. The dimensionality of the density stored in the file should match the dimensionality of the phase space. Read from text file.
Definition at line 162 of file BinnedDensity.cpp.
Set cutoff value. Values in bins greater than cutoff will be made equal to cutoff.
Definition at line 68 of file BinnedDensity.hh.
Write the binned density into a file (ROOT or text format depending on the extension)
Definition at line 398 of file BinnedDensity.cpp.
Write the binned density into a ROOT file. Write density map to a ROOT file.
Definition at line 471 of file BinnedDensity.cpp.
Write the binned density into a file. Write density map to file.
Definition at line 407 of file BinnedDensity.cpp. Member Data Documentation
Vector of bin numbers for each variable. Definition at line 135 of file BinnedDensity.hh.
Cutoff value (values in bins greater than cutoff will be make equal to cutoff). Definition at line 144 of file BinnedDensity.hh.
Reference to the input density. Definition at line 141 of file BinnedDensity.hh.
Map of PDF values in bins. Definition at line 132 of file BinnedDensity.hh.
Reference to the phase space definition. Definition at line 138 of file BinnedDensity.hh. The documentation for this class was generated from the following files:
Generated by 1.8.9.1 |