42 bool readFromStream(std::istream& is,
bool compact,
bool verbose)
override;
48 auto otherStr =
dynamic_cast<const RooStringVar*
>(&other);
63 bool isValid()
const override {
return true; }
67 void copyCache(
const RooAbsArg* source,
bool valueOnly=
false,
bool setValDiry=
true)
override;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
void clearValueDirty() const
void setValueDirty()
Mark the element dirty. This forces a re-evaluation when a value is requested.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooStringVar is a RooAbsArg implementing string values.
void printValue(std::ostream &os) const override
Interface to print value of object.
void syncCache(const RooArgSet *=nullptr) override
void writeToStream(std::ostream &os, bool) const override
void setTreeBranchStatus(TTree &t, bool active) override
(De)Activate associated tree branch
bool isValid() const override
WVE (08/21/01) Probably obsolete now.
void setVal(const char *newVal)
virtual RooAbsArg & operator=(const char *newVal)
const char * getVal() const
std::string * _stringAddr
void attachToTree(TTree &t, Int_t bufSize=32000) override
Attach object to a branch of given TTree.
~RooStringVar() override=default
bool operator==(const char *val) const
bool operator==(const RooAbsArg &other) const override
TObject * clone(const char *newname) const override
bool isFundamental() const override
Is this object a fundamental type that can be added to a dataset? Fundamental-type subclasses overrid...
void copyCache(const RooAbsArg *source, bool valueOnly=false, bool setValDiry=true) override
Copy cache of another RooAbsArg to our cache.
bool readFromStream(std::istream &is, bool compact, bool verbose) override
Read object contents from given stream.
bool isIdentical(const RooAbsArg &other, bool) const override
RooAbsArg * createFundamental(const char *newname=nullptr) const override
Create a fundamental-type object that stores our type of value.
virtual bool isValidString(const char *, bool) const
void fillTreeBranch(TTree &t) override
Fill tree branch associated with this object.
void attachToVStore(RooVectorDataStore &) override
RooVectorDataStore uses std::vectors to store data columns.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Mother of all ROOT objects.
A TTree represents a columnar dataset.