137 os << IsA()->GetName() ;
159 for (
const auto arg :
_vars) {
165 os << arg->GetName() ;
198 os <<
indent <<
" Observables: " << endl ;
226 std::vector<double> ret;
static void indent(ostringstream &buf, int indent_level)
RooAbsDataStore is the abstract base class for data collection that use a TTree as internal storage m...
virtual void printName(std::ostream &os) const
Print name of dataset.
RooAbsDataStore()
Default constructor.
void printMultiline(std::ostream &os, Int_t content, Bool_t verbose, TString indent) const
Detailed printing interface.
virtual Double_t weight() const =0
virtual RooSpan< const double > getWeightBatch(std::size_t first, std::size_t len) const
Get the weights of the events in the range [first, first+size).
virtual void printClassName(std::ostream &os) const
Print class name of dataset.
virtual void printTitle(std::ostream &os) const
Print title of dataset.
virtual void printArgs(std::ostream &os) const
Print argument of dataset, i.e. the observable names.
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default print options, for a given print style.
virtual Bool_t valid() const =0
Return true if currently loaded coordinate is considered valid within the current range definitions o...
virtual ~RooAbsDataStore()
Destructor.
virtual Int_t numEntries() const =0
virtual void printValue(std::ostream &os) const
Print value of the dataset, i.e. the sum of weights contained in the dataset.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer,...
A simple container to hold a batch of data values.
The TNamed class is the base class for all named ROOT classes.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.