41 for (
int i =0; i < nbins; ++i)
56 for (
int i = 0; i <
n; ++i) {
73 fData(std::vector<
double>(2*
n) ),
79 for (
unsigned int i = 0; i <
n; ++i) {
86 fData(std::vector<
double>(3*
n) ),
92 for (
unsigned int i = 0; i <
n; ++i) {
111 if (
this == &rhs)
return *
this;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
TH1 is the base class of all histogram classes in ROOT.
virtual Int_t GetDimension() const
Int_t GetBufferLength() const
virtual Int_t GetNbinsX() const
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
const Double_t * GetBuffer() const
TUnuranBaseDist, base class for Unuran distribution classes such as TUnuranContDist (for one-dimensio...
TUnuranEmpDist class for describing empirical distributions.
double fMax
max values (used in the binned case)
double fMin
min values (used in the binned case)
bool fBinned
flag for binned/unbinned data
TUnuranEmpDist & operator=(const TUnuranEmpDist &rhs)
Assignment operator.
unsigned int fDim
data dimensionality
TUnuranEmpDist(const TH1 *h1=nullptr, bool useBuffer=true)
Constructor from a TH1 objects.
std::vector< double > fData
pointer to the data vector (used for generation from un-binned data)