48 auto otherStr =
dynamic_cast<const RooStringVar*
>(&other);
49 return otherStr &&
_string == otherStr->_string;
#define ClassDefOverride(name, id)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
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.
virtual TObject * clone(const char *newname) const override
void writeToStream(std::ostream &os, Bool_t) const override
void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDiry=kTRUE) override
Copy cache of another RooAbsArg to our cache.
void setVal(const char *newVal)
virtual RooAbsArg & operator=(const char *newVal)
const char * getVal() const
virtual Bool_t isValidString(const char *, Bool_t) const
virtual void attachToTree(TTree &t, Int_t bufSize=32000) override
Attach object to a branch of given TTree.
bool operator==(const char *val) const
bool operator==(const RooAbsArg &other) const override
virtual void setTreeBranchStatus(TTree &t, Bool_t active) override
(De)Activate associated tree branch
bool readFromStream(std::istream &is, Bool_t compact, Bool_t verbose) override
Read object contents from given stream.
bool isIdentical(const RooAbsArg &other, Bool_t) const override
bool isFundamental() const override
Is this object a fundamental type that can be added to a dataset? Fundamental-type subclasses overrid...
virtual Bool_t isValid() const override
WVE (08/21/01) Probably obsolete now.
virtual void syncCache(const RooArgSet *=nullptr) override
RooAbsArg * createFundamental(const char *newname=0) const override
Create a fundamental-type object that stores our type of value.
virtual void fillTreeBranch(TTree &t) override
Fill tree branch associated with this object.
virtual void printValue(std::ostream &os) const override
Interface to print value of object.
virtual ~RooStringVar()=default
virtual void attachToVStore(RooVectorDataStore &) override
RooVectorDataStore is the abstract base class for data collection that use a TTree as internal storag...
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
A TTree represents a columnar dataset.