41 for (
int i =0; i <
nbins; ++i)
56 for (
int i = 0; i <
n; ++i) {
58 fData.push_back( bf[index] );
64 fData(std::vector<
double>(x,x+n) ),
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;
TUnuranBaseDist, base class for Unuran distribution classees such as TUnuranContDist (for one-dimensi...
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual Int_t GetDimension() const
TUnuranEmpDist & operator=(const TUnuranEmpDist &rhs)
Assignment operator.
virtual Int_t GetNbinsX() const
ClassImp(TIterator) Bool_t TIterator return false
Compare two iterator objects.
TUnuranEmpDist class for describing empiral distributions.
std::vector< double > fData
const Double_t * GetBuffer() const
Int_t GetBufferLength() const
TUnuranEmpDist(const TH1 *h1=0, bool useBuffer=true)
Constructor from a TH1 objects.