41 bool readFromStream(std::istream& is,
bool compact,
bool verbose)
override;
47 auto otherStr =
dynamic_cast<const RooStringVar*
>(&other);
58 return RooFit::makeOwningPtr<RooAbsArg>(
59 std::make_unique<RooStringVar>(newname ? newname :
GetName(),
GetTitle(),
"", 1));
64 bool isValid()
const override {
return true; }
68 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
Common abstract base class for objects that represent a value and a "shape" in RooFit.
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.
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.
bool operator==(const char *val) const
RooFit::OwningPtr< RooAbsArg > createFundamental(const char *newname=nullptr) const override
Create a fundamental-type object that stores our type of value.
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
virtual bool isValidString(const char *, bool) const
void fillTreeBranch(TTree &t) override
Fill tree branch associated with this object.
void attachToVStore(RooVectorDataStore &) override
Uses std::vector 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.
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...