RooDataSet is a container class to hold N-dimensional binned data. Each bins central coordinates in N-dimensional space are represented by a RooArgSet of RooRealVar, RooCategory or RooStringVar objects, thus data can be binned in real and/or discrete dimensions
RooDataHist() | |
RooDataHist(const RooDataHist& other, const char* newname = 0) | |
RooDataHist(const char* name, const char* title, const RooArgSet& vars, const char* binningName = 0) | |
RooDataHist(const char* name, const char* title, const RooArgSet& vars, const RooAbsData& data, Double_t initWgt = 1.0) | |
RooDataHist(const char* name, const char* title, const RooArgList& vars, const TH1* hist, Double_t initWgt = 1.0) | |
RooDataHist(const char* name, const char* title, const RooArgList& vars, RooCategory& indexCat, map<std::string,TH1*> histMap, Double_t initWgt = 1.0) | |
RooDataHist(const char* name, const char* title, const RooArgList& vars, RooCmdArg arg1, RooCmdArg arg2 = RooCmdArg(), RooCmdArg arg3 = RooCmdArg(), RooCmdArg arg4 = RooCmdArg(), RooCmdArg arg5 = RooCmdArg(), RooCmdArg arg6 = RooCmdArg(), RooCmdArg arg7 = RooCmdArg(), RooCmdArg arg8 = RooCmdArg()) | |
virtual | ~RooDataHist() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | add(const RooArgSet& row, Double_t wgt = 1.0) |
virtual void | add(const RooArgSet& row, Double_t weight, Double_t sumw2) |
void | add(const RooAbsData& dset, const RooFormulaVar* cutVar = 0, Double_t weight = 1.0) |
void | add(const RooAbsData& dset, const char* cut, Double_t weight = 1.0) |
virtual RooAbsArg* | RooTreeData::addColumn(RooAbsArg& var, Bool_t adjustRange = kTRUE) |
virtual RooArgSet* | RooTreeData::addColumns(const RooArgList& varList) |
virtual void | TObject::AppendPad(Option_t* option = "") |
Double_t | binVolume() const |
Double_t | binVolume(const RooArgSet& bin) |
virtual void | TObject::Browse(TBrowser* b) |
virtual Bool_t | RooTreeData::changeObservableName(const char* from, const char* to) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TNamed::Clear(Option_t* option = "") |
virtual TObject* | Clone(const char* newname = 0) const |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
virtual void | TNamed::Copy(TObject& named) const |
TH1* | RooAbsData::createHistogram(const char* name, const RooAbsRealLValue& xvar, const RooLinkedList& argList) const |
TH1* | RooAbsData::createHistogram(const char* varNameList, Int_t xbins = 0, Int_t ybins = 0, Int_t zbins = 0) const |
TH1* | RooAbsData::createHistogram(const char* name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1 = RooCmdArg::none(), const RooCmdArg& arg2 = RooCmdArg::none(), const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(), const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none(), const RooCmdArg& arg7 = RooCmdArg::none(), const RooCmdArg& arg8 = RooCmdArg::none()) const |
virtual Int_t | RooAbsData::defaultPrintContents(Option_t* opt) const |
static ostream& | RooPrintable::defaultPrintStream(ostream* os = 0) |
virtual RooPrintable::StyleOption | RooPrintable::defaultPrintStyle(Option_t* opt) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | RooTreeData::Draw(Option_t* opt) |
virtual Long64_t | RooTreeData::Draw(const char* varexp, const char* selection, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
void | RooTreeData::dump() |
virtual void | TObject::Dump() constMENU |
void | dump2() |
virtual RooAbsData* | emptyClone(const char* newName = 0, const char* newTitle = 0, const RooArgSet* vars = 0) const |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual void | RooTreeData::fill() |
virtual void | TNamed::FillBuffer(char*& buffer) |
virtual TH1* | RooTreeData::fillHistogram(TH1* hist, const RooArgList& plotVars, const char* cuts = "", const char* cutRange = 0) const |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
virtual const RooArgSet* | get() const |
virtual const RooArgSet* | get(Int_t masterIdx) const |
virtual const RooArgSet* | get(const RooArgSet& coord) const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
virtual const char* | TObject::GetIconName() const |
virtual const char* | TNamed::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual Bool_t | RooTreeData::getRange(RooRealVar& var, Double_t& lowest, Double_t& highest, Double_t marginFrac = 0, Bool_t symMode = kFALSE) const |
virtual const char* | TNamed::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TNamed::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TNamed::IsSortable() const |
virtual Bool_t | isWeighted() const |
Bool_t | TObject::IsZombie() const |
Double_t | RooTreeData::kurtosis(RooRealVar& var, const char* cutSpec = 0, const char* cutRange = 0) const |
virtual void | TNamed::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
Double_t | RooTreeData::mean(RooRealVar& var, const char* cutSpec = 0, const char* cutRange = 0) const |
RooRealVar* | RooTreeData::meanVar(RooRealVar& var, const char* cutSpec = 0, const char* cutRange = 0) const |
Double_t | RooTreeData::moment(RooRealVar& var, Double_t order, const char* cutSpec = 0, const char* cutRange = 0) const |
Double_t | RooTreeData::moment(RooRealVar& var, Double_t order, Double_t offset, const char* cutSpec = 0, const char* cutRange = 0) const |
static void | RooPrintable::nameFieldLength(Int_t newLen) |
virtual Bool_t | TObject::Notify() |
virtual Int_t | numEntries(Bool_t useWeights = kFALSE) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
RooDataHist& | operator=(const RooDataHist&) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual RooPlot* | RooTreeData::plotAsymOn(RooPlot* frame, const RooAbsCategoryLValue& asymCat, RooTreeData::PlotOpt o) const |
virtual RooPlot* | RooTreeData::plotEffOn(RooPlot* frame, const RooAbsCategoryLValue& effCat, RooTreeData::PlotOpt o) const |
virtual RooPlot* | plotOn(RooPlot* frame, RooTreeData::PlotOpt o) const |
virtual void | TObject::Pop() |
virtual void | RooAbsData::Print(Option_t* options = 0) const |
virtual void | RooPrintable::printAddress(ostream& os) const |
virtual void | printArgs(ostream& os) const |
virtual void | RooAbsData::printClassName(ostream& os) const |
virtual void | RooPrintable::printExtras(ostream& os) const |
virtual void | printMultiline(ostream& os, Int_t content, Bool_t verbose = kFALSE, TString indent = "") const |
virtual void | RooAbsData::printName(ostream& os) const |
virtual void | RooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const |
virtual void | RooAbsData::printTitle(ostream& os) const |
virtual void | RooPrintable::printTree(ostream& os, TString indent = "") const |
virtual void | printValue(ostream& os) const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
RooAbsData* | RooAbsData::reduce(const char* cut) |
RooAbsData* | RooAbsData::reduce(const RooFormulaVar& cutVar) |
RooAbsData* | RooAbsData::reduce(const RooArgSet& varSubset, const char* cut = 0) |
RooAbsData* | RooAbsData::reduce(const RooArgSet& varSubset, const RooFormulaVar& cutVar) |
RooAbsData* | RooAbsData::reduce(RooCmdArg arg1, RooCmdArg arg2 = RooCmdArg(), RooCmdArg arg3 = RooCmdArg(), RooCmdArg arg4 = RooCmdArg(), RooCmdArg arg5 = RooCmdArg(), RooCmdArg arg6 = RooCmdArg(), RooCmdArg arg7 = RooCmdArg(), RooCmdArg arg8 = RooCmdArg()) |
virtual void | reset() |
void | TObject::ResetBit(UInt_t f) |
RooRealVar* | RooTreeData::rmsVar(RooRealVar& var, const char* cutSpec = 0, const char* cutRange = 0) const |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
Int_t | RooTreeData::Scan(const char* varexp = "", const char* selection = "", Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0) |
void | set(Double_t weight, Double_t wgtErr = -1) |
void | set(const RooArgSet& row, Double_t weight, Double_t wgtErr = -1) |
void | set(const RooArgSet& row, Double_t weight, Double_t wgtErrLo, Double_t wgtErrHi) |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
void | RooAbsData::setDirtyProp(Bool_t flag) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
virtual void | SetName(const char* name) |
virtual void | SetNameTitle(const char* name, const char* title) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | TNamed::SetTitle(const char* title = "")MENU |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
Double_t | RooTreeData::sigma(RooRealVar& var, const char* cutSpec = 0, const char* cutRange = 0) const |
virtual Int_t | TNamed::Sizeof() const |
Double_t | RooTreeData::skewness(RooRealVar& var, const char* cutSpec = 0, const char* cutRange = 0) const |
TIterator* | sliceIterator(RooAbsArg& sliceArg, const RooArgSet& otherArgs) |
virtual TList* | RooTreeData::split(const RooAbsCategory& splitCat) const |
Double_t | RooTreeData::standMoment(RooRealVar& var, Double_t order, const char* cutSpec = 0, const char* cutRange = 0) const |
virtual RooPlot* | RooTreeData::statOn(RooPlot* frame, const RooCmdArg& arg1 = RooCmdArg::none(), const RooCmdArg& arg2 = RooCmdArg::none(), const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(), const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none(), const RooCmdArg& arg7 = RooCmdArg::none(), const RooCmdArg& arg8 = RooCmdArg::none()) |
virtual RooPlot* | RooTreeData::statOn(RooPlot* frame, const char* what, const char* label = "", Int_t sigDigits = 2, Option_t* options = "NELU", Double_t xmin = 0.15, Double_t xmax = 0.65, Double_t ymax = 0.85, const char* cutSpec = 0, const char* cutRange = 0, const RooCmdArg* formatCmd = 0) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
Double_t | sum(Bool_t correctForBinSize) const |
Double_t | sum(const RooArgSet& sumSet, const RooArgSet& sliceSet, Bool_t correctForBinSize) |
virtual Double_t | sumEntries(const char* cutSpec = 0, const char* cutRange = 0) const |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
virtual Roo1DTable* | RooTreeData::table(const RooAbsCategory& cat, const char* cuts = "", const char* opts = "") const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
const TTree& | RooTreeData::tree() const |
virtual void | TObject::UseCurrentStyle() |
virtual Bool_t | valid() const |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Double_t | weight() const |
Double_t | weight(const RooArgSet& bin, Int_t intOrder = 1, Bool_t correctForBinSize = kFALSE, Bool_t cdfBoundaries = kFALSE) |
virtual Double_t | weightError(RooAbsData::ErrorType etype = Poisson) const |
virtual void | weightError(Double_t& lo, Double_t& hi, RooAbsData::ErrorType etype = Poisson) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
RooDataHist(const char* name, const char* title, RooDataHist* h, const RooArgSet& varSubset, const RooFormulaVar* cutVar, const char* cutRange, Int_t nStart, Int_t nStop, Bool_t copyCache) | |
void | adjustBinning(const RooArgList& vars, TH1& href, Int_t* offset = 0) |
Bool_t | RooTreeData::allClientsCached(RooAbsArg*, const RooArgSet&) |
void | RooDirItem::appendToDir(TObject* obj, Bool_t forceMemoryResident = kFALSE) |
const char* | bname() const |
virtual void | RooTreeData::cacheArgs(RooArgSet& varSet, const RooArgSet* nset = 0) |
virtual RooAbsData* | cacheClone(const RooArgSet* newCacheVars, const char* newName = 0) |
const TTree& | RooTreeData::cacheTree() const |
void | cacheValidEntries() |
Int_t | calcTreeIndex() const |
void | calculatePartialBinVolume(const RooArgSet& dimSet) const |
void | RooTreeData::checkInit() const |
void | RooTreeData::createTree(const char* name, const char* title) |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
Int_t | RooTreeData::Fill() |
Int_t | RooTreeData::getBranchBufferSize() const |
Stat_t | RooTreeData::GetEntries() const |
Int_t | RooTreeData::GetEntry(Int_t entry = 0, Int_t getall = 0) |
void | importTH1(const RooArgList& vars, TH1& histo, Double_t initWgt) |
void | importTH1Set(const RooArgList& vars, RooCategory& indexCat, map<std::string,TH1*> hmap, Double_t initWgt) |
void | RooTreeData::initCache(const RooArgSet& cachedVars) |
void | initialize(Bool_t fillTree = kTRUE) |
Double_t | interpolateDim(RooRealVar& dim, const RooAbsBinning* binning, Double_t xval, Int_t intOrder, Bool_t correctForBinSize, Bool_t cdfBoundaries) |
void | RooTreeData::loadValues(const char* filename, const char* treename, RooFormulaVar* cutVar = 0) |
void | RooTreeData::loadValues(const RooTreeData* t, RooFormulaVar* select = 0, const char* rangeName = 0, Int_t nStart = 0, Int_t nStop = 2000000000) |
void | RooTreeData::loadValues(const TTree* t, RooFormulaVar* cutVar = 0, const char* rangeName = 0, Int_t nStart = 0, Int_t nStop = 2000000000) |
void | TObject::MakeZombie() |
virtual void | RooTreeData::optimizeReadingWithCaching(RooAbsArg& arg, const RooArgSet& cacheList) |
virtual RooAbsData* | reduceEng(const RooArgSet& varSubset, const RooFormulaVar* cutVar, const char* cutRange = 0, Int_t nStart = 0, Int_t nStop = 2000000000, Bool_t copyCache = kTRUE) |
void | RooDirItem::removeFromDir(TObject* obj) |
void | RooTreeData::Reset(Option_t* option = 0) |
virtual void | RooTreeData::resetCache() |
Int_t | RooTreeData::ScanCache(const char* varexp = "", const char* selection = "", Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0) |
void | setAllWeights(Double_t value) |
virtual void | RooTreeData::setArgStatus(const RooArgSet& set, Bool_t active) |
void | RooTreeData::setBranchBufferSize(Int_t size) |
void | RooTreeData::treePrint() |
enum RooAbsData::ErrorType { | Poisson | |
SumW2 | ||
None | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; | ||
enum RooPrintable::ContentsOption { | kName | |
kClassName | ||
kValue | ||
kArgs | ||
kExtras | ||
kAddress | ||
kTitle | ||
}; | ||
enum RooPrintable::StyleOption { | kInline | |
kSingleLine | ||
kStandard | ||
kVerbose | ||
kTreeStructure | ||
}; |
Int_t | _arrSize | Size of the weight array |
Bool_t* | _binValid | ! Valid bins with current range definition |
char* | _binningName | !Name of binning to be used to define grid |
Double_t* | _binv | [_arrSize] Bin volume array |
TString | RooTreeData::_blindString | Blinding string (optionally read from ASCII files) |
TIterator* | RooAbsData::_cacheIter | ! Iterator over cached variables |
TTree* | RooTreeData::_cacheTree | ! TTree holding the cached function values |
RooArgSet | RooAbsData::_cachedVars | ! External variables cached with this data set |
Int_t | _curIndex | Current index |
Double_t | _curSumW2 | Current sum of weights^2 |
Double_t | _curVolume | Volume of bin enclosing current coordinate |
Double_t | _curWeight | Weight associated with the current coordinate |
Double_t | _curWgtErrHi | Error on weight associated with the current coordinate |
Double_t | _curWgtErrLo | Error on weight associated with the current coordinate |
Bool_t | RooTreeData::_defCtor | ! Was object constructed with default ctor? |
static Int_t | RooTreeData::_defTreeBufSize | |
TDirectory* | RooDirItem::_dir | ! Associated directory |
Bool_t | RooAbsData::_doDirtyProp | Switch do (de)activate dirty state propagation when loading a data point |
Double_t* | _errHi | [_arrSize] High-side error on weight array |
Double_t* | _errLo | [_arrSize] Low-side error on weight array |
Int_t* | _idxMult | ! Multiplier jump table for index calculation |
TIterator* | RooAbsData::_iterator | ! Iterator over dimension variables |
list<const RooAbsBinning*> | _lvbins | ! List of used binnings associated with lvalues |
list<RooAbsLValue*> | _lvvars | ! List of observables casted as RooAbsLValue |
static Int_t | RooPrintable::_nameLength | |
vector<Double_t>* | _pbinv | ! Partial bin volume array |
RooCacheManager<std::vector<Double_t> > | _pbinvCacheMgr | Cache manager for arrays of partial bin volumes |
TIterator* | _realIter | ! Iterator over realVars |
RooArgSet | _realVars | Real dimensions of the dataset |
Double_t* | _sumw2 | [_arrSize] Sum of weights^2 |
TTree* | RooTreeData::_tree | TTree holding the data points |
RooArgSet | RooTreeData::_truth | Truth variables |
RooArgSet | RooAbsData::_vars | Dimensions of this data set |
Double_t* | _wgt | [_arrSize] Weight array |
TString | TNamed::fName | object identifier |
TString | TNamed::fTitle | object title |
Constructor of an empty data hist from a RooArgSet defining the dimensions of the data space. The range and number of bins in each dimensions are taken from getMin()getMax(),getBins() of each RooAbsArg representing that dimension. For real dimensions, the fit range and number of bins can be set independently of the plot range and number of bins, but it is advisable to keep the ratio of the plot bin width and the fit bin width an integer value. For category dimensions, the fit ranges always comprises all defined states and each state is always has its individual bin To effective achive binning of real dimensions with variable bins sizes, construct a RooThresholdCategory of the real dimension to be binned variably. Set the thresholds at the desired bin boundaries, and construct the data hist as function of the threshold category instead of the real variable.
Constructor of a data hist from an existing data collection (binned or unbinned) The RooArgSet 'vars' defines the dimensions of the histogram. The range and number of bins in each dimensions are taken from getMin()getMax(),getBins() of each RooAbsArg representing that dimension. For real dimensions, the fit range and number of bins can be set independently of the plot range and number of bins, but it is advisable to keep the ratio of the plot bin width and the fit bin width an integer value. For category dimensions, the fit ranges always comprises all defined states and each state is always has its individual bin To effective achive binning of real dimensions with variable bins sizes, construct a RooThresholdCategory of the real dimension to be binned variably. Set the thresholds at the desired bin boundaries, and construct the data hist as function of the threshold category instead of the real variable. If the constructed data hist has less dimensions that in source data collection, all missing dimensions will be projected.
Constructor of a data hist from a map of TH1,TH2 or TH3 that are collated into a x+1 dimensional RooDataHist where the added dimension is a category that labels the input source as defined in the histMap argument. The state names used in histMap must correspond to predefined states 'indexCat' The RooArgList 'vars' defines the dimensions of the histogram. The ranges and number of bins are taken from the input histogram and must be the same in all histograms
Constructor of a binned dataset from a RooArgSet defining the dimensions of the data space. The range and number of bins in each dimensions are taken from getMin() getMax(),getBins() of each RooAbsArg representing that dimension. This constructor takes the following optional arguments Import(TH1&) -- Import contents of the given TH1/2/3 into this binned dataset. The ranges and binning of the binned dataset are automatically adjusted to match those of the imported histogram Weight(Double_t) -- Apply given weight factor when importing histograms Index(RooCategory&) -- Prepare import of multiple TH1/1/2/3 into a N+1 dimensional RooDataHist where the extra discrete dimension labels the source of the imported histogram If the index category defines states for which no histogram is be imported the corresponding bins will be left empty. Import(const char*, TH1&) -- Import a THx to be associated with the given state name of the index category specified in Index(). If the given state name is not yet defined in the index category it will be added on the fly. The import command can be specified multiple times.
Import data from given TH1/2/3 into this RooDataHist
Import data from given set of TH1/2/3 into this RooDataHist. The category indexCat labels the sources in the constructed RooDataHist. The stl map provides the mapping between the indexCat state labels and the import source
Constructor of a data hist from (part of) an existing data hist. The dimensions of the data set are defined by the 'vars' RooArgSet, which can be identical to 'dset' dimensions, or a subset thereof. Reduced dimensions will be projected in the output data hist. The optional 'cutVar' formula variable can used to select the subset of bins to be copied. For most uses the RooAbsData::reduce() wrapper function, which uses this constructor, is the most convenient way to create a subset of an existing data
Construct a clone of this dataset that contains only the cached variables
Implementation of RooAbsData virtual method that drives the RooAbsData::reduce() methods
Calculate the index for the weights array corresponding to to the bin enclosing the current coordinates of the internal argset
Back end function to plotting functionality. Plot RooDataHist on given frame in mode specified by plot options 'o'. The main purpose of this function is to match the specified binning on 'o' to the internal binning of the plot observable in this RooDataHist.
Return the error on current weight
Perform boundary safe 'intOrder'-th interpolation of weights in dimension 'dim' at current value 'xval'
Add all data points contained in 'dset' to this data set with given weight. Optional RooFormulaVar pointer selects the data points to be added.
Return the sum of the weights of a multi-dimensional slice of the histogram by summing only over the dimensions specified in sumSet. The coordinates of all other dimensions are fixed to those given in sliceSet If correctForBinSize is specified, the sum of weights is multiplied by the M-dimensional bin volume, (M = N(sumSet)), making the return value the integral over the function represented by this histogram
Fill the transient cache with partial bin volumes with up-to-date values for the partial volume specified by observables 'dimSet'
Return the sum of weights in all entries matching cutSpec (if specified) and in named range cutRange (if specified) Return the
Return an argset with the bin center coordinates for bin sequential number 'masterIdx'. For iterative use.
Return a RooArgSet with center coordinates of the bin enclosing the point 'coord'
Create an iterator over all bins in a slice defined by the subset of observables listed in sliceArg. The position of the slice is given by otherArgs
Cache the datahist entries with bin centers that are inside/outside the current observable definition
Print the details on the dataset contents
{ return new RooDataHist(*this,newname?newname:GetName()) ; }
Return empty clone of this RooDataHist