RooDataSet is a container class to hold unbinned data. Each data point in N-dimensional space is represented by a RooArgSet of RooRealVar, RooCategory or RooStringVar objects
RooDataSet() | |
RooDataSet(RooDataSet const& other, const char* newname = 0) | |
RooDataSet(const char* name, const char* title, const RooArgSet& vars, const char* wgtVarName = 0) | |
RooDataSet(const char* name, const char* title, RooDataSet* ntuple, const RooArgSet& vars, const char* cuts = 0, const char* wgtVarName = 0) | |
RooDataSet(const char* name, const char* title, RooDataSet* t, const RooArgSet& vars, const RooFormulaVar& cutVar, const char* wgtVarName = 0) | |
RooDataSet(const char* name, const char* title, TTree* t, const RooArgSet& vars, const RooFormulaVar& cutVar, const char* wgtVarName = 0) | |
RooDataSet(const char* name, const char* title, TTree* ntuple, const RooArgSet& vars, const char* cuts = 0, const char* wgtVarName = 0) | |
RooDataSet(const char* name, const char* filename, const char* treename, const RooArgSet& vars, const char* cuts = 0, const char* wgtVarName = 0) | |
RooDataSet(const char* name, const char* title, const RooArgSet& 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 | ~RooDataSet() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | add(const RooArgSet& row, Double_t weight = 1.0) |
virtual RooAbsArg* | addColumn(RooAbsArg& var, Bool_t adjustRange = kTRUE) |
virtual RooArgSet* | addColumns(const RooArgList& varList) |
void | append(RooTreeData& data) |
virtual void | TObject::AppendPad(Option_t* option = "") |
RooDataHist* | binnedClone(const char* newName = 0, const char* newTitle = 0) const |
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 |
TH2F* | createHistogram(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2, const char* cuts = "", const char* name = "hist") const |
TH2F* | createHistogram(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2, Int_t nx, Int_t ny, const char* cuts = "", const char* name = "hist") 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 |
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 index) 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 |
Bool_t | merge(RooDataSet* data1, RooDataSet* data2 = 0, RooDataSet* data3 = 0, RooDataSet* data4 = 0, RooDataSet* data5 = 0, RooDataSet* data6 = 0) |
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) |
RooDataSet& | operator=(const RooDataSet&) |
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* | RooTreeData::plotOn(RooPlot* frame, const RooLinkedList& cmdList) const |
virtual RooPlot* | RooTreeData::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 contents, 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) |
static RooDataSet* | read(const char* filename, const RooArgList& variables, const char* opts = "", const char* commonPath = "", const char* indexCatName = 0) |
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 | RooTreeData::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 | 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) |
void | setWeightVar(const char* name = 0) |
void | setWeightVar(const RooAbsArg& arg) |
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 |
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) |
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 void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Double_t | weight() const |
virtual Double_t | RooAbsData::weightError(RooAbsData::ErrorType etype = Poisson) const |
virtual void | RooAbsData::weightError(Double_t& lo, Double_t& hi, RooAbsData::ErrorType etype = Poisson) const |
Bool_t | write(const char* filename) |
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 |
RooDataSet(const char* name, const char* title, RooDataSet* ntuple, const RooArgSet& vars, const RooFormulaVar* cutVar, const char* cutRange, int nStart, int nStop, Bool_t copyCache) | |
RooArgSet | addWgtVar(const RooArgSet& origVars, const RooAbsArg* wgtVar) |
Bool_t | RooTreeData::allClientsCached(RooAbsArg*, const RooArgSet&) |
void | RooDirItem::appendToDir(TObject* obj, Bool_t forceMemoryResident = kFALSE) |
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 | 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 | RooTreeData::initCache(const RooArgSet& cachedVars) |
void | initialize(const char* wgtVarName) |
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() |
Bool_t | merge(const TList& data) |
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) |
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 | ||
}; |
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 |
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 |
TIterator* | RooAbsData::_iterator | ! Iterator over dimension variables |
static Int_t | RooPrintable::_nameLength | |
TTree* | RooTreeData::_tree | TTree holding the data points |
RooArgSet | RooTreeData::_truth | Truth variables |
RooArgSet | RooAbsData::_vars | Dimensions of this data set |
RooArgSet | _varsNoWgt | Vars without weight variable |
RooRealVar* | _wgtVar | Pointer to weight variable (if set) |
TString | TNamed::fName | object identifier |
TString | TNamed::fTitle | object title |
Construct an unbinned dataset from a RooArgSet defining the dimensions of the data space. Optionally, data can be imported at the time of construction. This constructor takes the following optional arguments Import(TTree*) -- Import contents of given TTree. Only braches of the TTree that have names corresponding to those of the RooAbsArgs that define the RooDataSet are imported. Import(RooDataSet*) -- Import contents of given RooDataSet. Only observables that are common with the definition of this dataset will be imported Index(RooCategory&) -- Prepare import of datasets into a N+1 dimensional RooDataSet where the extra discrete dimension labels the source of the imported histogram. Import(const char*, -- Import a dataset to be associated with the given state name of the index category RooDataSet*) 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. Cut(const char*) -- Apply the given cut specification when importing data Cut(RooFormulaVar&) CutRange(const char*) -- Only accept events in the observable range with the given name WeightVar(const char*) -- Interpret the given variable as event weight rather than as observable WeightVar(const RooAbsArg&)
Constructor of an empty data set from a RooArgSet defining the dimensions of the data space.
Constructor of a data set from (part of) an existing data set. The dimensions of the data set are defined by the 'vars' RooArgSet, which can be identical to 'dset' dimensions, or a subset thereof. The 'cuts' string is an optional RooFormula expression and can be used to select the subset of the data points in 'dset' to be copied. The cut expression can refer to any variable in the source dataset. For cuts involving variables other than those contained in the source data set, such as intermediate formula objects, use the equivalent constructor accepting RooFormulaVar reference as cut specification 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
Constructor of a data set from (part of) an existing data set. The dimensions of the data set are defined by the 'vars' RooArgSet, which can be identical to 'dset' dimensions, or a subset thereof. The 'cutVar' formula variable is used to select the subset of data points to be copied. For subsets without selection on the data points, or involving cuts operating exclusively and directly on the data set dimensions, the equivalent constructor with a string based cut expression is recommended. 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
Constructor of a data set from (part of) an ROOT TTRee. The dimensions of the data set are defined by the 'vars' RooArgSet. For each dimension specified, the TTree must have a branch with the same name. For category branches, this branch should contain the numeric index value. Real dimensions can be constructed from either 'Double_t' or 'Float_t' tree branches. In the latter case, an automatic conversion is applied. The 'cutVar' formula variable is used to select the subset of data points to be copied. For subsets without selection on the data points, or involving cuts operating exclusively and directly on the data set dimensions, the equivalent constructor with a string based cut expression is recommended.
Constructor of a data set from (part of) an ROOT TTRee. The dimensions of the data set are defined by the 'vars' RooArgSet. For each dimension specified, the TTree must have a branch with the same name. For category branches, this branch should contain the numeric index value. Real dimensions can be constructed from either 'Double_t' or 'Float_t' tree branches. In the latter case, an automatic conversion is applied. The 'cuts' string is an optional RooFormula expression and can be used to select the subset of the data points in 'dset' to be copied. The cut expression can refer to any variable in the vars argset. For cuts involving variables other than those contained in the vars argset, such as intermediate formula objects, use the equivalent constructor accepting RooFormulaVar reference as cut specification
Constructor of a data set from (part of) a named ROOT TTRee in given ROOT file. The dimensions of the data set are defined by the 'vars' RooArgSet. For each dimension specified, the TTree must have a branch with the same name. For category branches, this branch should contain the numeric index value. Real dimensions can be constructed from either 'Double_t' or 'Float_t' tree branches. In the latter case, an automatic conversion is applied. The 'cuts' string is an optional RooFormula expression and can be used to select the subset of the data points in 'dset' to be copied. The cut expression can refer to any variable in the vars argset. For cuts involving variables other than those contained in the vars argset, such as intermediate formula objects, use the equivalent constructor accepting RooFormulaVar reference as cut specification
Helper function for constructor that adds optional weight variable to construct total set of observables
Protected constructor for internal use only
Return a clone of this dataset containing only the cached variables
Return an empty clone of this dataset. If vars is not null, only the variables in vars are added to the definition of the empty clone
Initialize the dataset. If wgtVarName is not null, interpret the observable with that name as event weight
Implementation of RooAbsData virtual method that drives the RooAbsData::reduce() methods
Return binned clone of this dataset
Return either number of entries (useWeights=false) or rounded sum of weights (useWeights=true). Use the sumEntries() function to get the exact sum of weight
Return the sum of weights in all entries matching cutSpec (if specified) and in named range cutRange (if specified)
Return a RooArgSet with the coordinates of the current event
Add a data point, with its coordinates specified in the 'data' argset, to the data set. Any variables present in 'data' but not in the dataset will be silently ignored
Merge columns of supplied data set(s) with this data set. All data sets must have equal number of entries. In case of duplicate columns the column of the last dataset in the list prevails
Merge columns of supplied data set(s) with this data set. All data sets must have equal number of entries. In case of duplicate columns the column of the last dataset in the list prevails
Add all data points of given data set to this data set. Observable in 'data' that are not in this dataset with not be transferred
Add a column with the values of the given (function) argument to this dataset. The function value is calculated for each event using the observable values of each event in case the function depends on variables with names that are identical to the observable names in the dataset
Add a column with the values of the given list of (function) argument to this dataset. Each function value is calculated for each event using the observable values of the event in case the function depends on variables with names that are identical to the observable names in the dataset
Create a TH2F histogram of the distribution of the specified variable using this dataset. Apply any cuts to select which events are used. The variable being plotted can either be contained directly in this dataset, or else be a function of the variables in this dataset. The histogram will be created using RooAbsReal::createHistogram() with the name provided (with our dataset name prepended).
Create a TH2F histogram of the distribution of the specified variable using this dataset. Apply any cuts to select which events are used. The variable being plotted can either be contained directly in this dataset, or else be a function of the variables in this dataset. The histogram will be created using RooAbsReal::createHistogram() with the name provided (with our dataset name prepended).
Read given list of ascii files, and construct a data set, using the given ArgList as structure definition. Multiple file names in fileList should be comma separated. Each file is optionally prefixed with 'commonPath' if such a path is provided The arglist specifies the dimensions of the dataset to be built and describes the order in which these dimensions appear in the ascii files to be read. Each line in the ascii file should contain N white space separated tokens, with N the number of args in 'variables'. Any text beyond N tokens will be ignored with a warning message. [ NB: This format is written by RooArgList::writeToStream() ] If the value of any of the variables on a given line exceeds the fit range associated with that dimension, the entire line will be ignored. A warning message is printed in each case, unless the 'Q' verbose option is given. (Option 'D' will provide additional debugging information) The number of events read and skipped is always summarized at the end. When multiple files are read, a RooCategory arg in 'variables' can optionally be designated to hold information about the source file of each data point. This feature is enabled by giving the name of the (already existing) category variable in 'indexCatName' If no further information is given a label name 'fileNNN' will be assigned to each event, where NNN is the sequential number of the source file in 'fileList'. Alternatively it is possible to override the default label names of the index category by specifying them in the fileList string: When instead of "file1.txt,file2.txt" the string "file1.txt:FOO,file2.txt:BAR" is specified, a state named "FOO" is assigned to the index category for each event originating from file1.txt. The labels FOO,BAR may be predefined in the index category via defineType(), but don't have to be Finally, one can also assign the same label to multiple files, either by specifying "file1.txt:FOO,file2,txt:FOO,file3.txt:BAR" or "file1.txt,file2.txt:FOO,file3.txt:BAR" Make working copy of variables list
Write the contents of this dataset to an ASCII file with the specified name Each event will be written as a single line containing the written values of each observable in the order they were declared in the dataset and separated by whitespaces
Print info about this dataset to the specified output stream. Standard: number of entries Shape: list of variables we define & were generated with
Print value of the dataset, i.e. the sum of weights contained in the dataset
Change the title of this dataset into the given name
{ return new RooDataSet(*this,newname?newname:GetName()) ; }