38 _string(
value), _stringAddr(&_string)
50 _string(other._string), _stringAddr(&_string)
61 TString token,errorPrefix(
"RooStringVar::readFromStream(") ;
124 coutE(DataHandling) <<
"RooAbsString::fillTreeBranch(" <<
GetName() <<
") ERROR: not attached to tree" << std::endl;
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 setValueDirty()
Mark the element dirty. This forces a re-evaluation when a value is requested.
bool readString(TString &value, bool zapOnError=false)
Read a string token.
TString readLine()
Read an entire line from the stream and return as TString This method recognizes the use of '\' in th...
RooStringVar is a RooAbsArg implementing string values.
void setTreeBranchStatus(TTree &t, bool active) override
(De)Activate associated tree branch
std::string * _stringAddr
void attachToTree(TTree &t, Int_t bufSize=32000) override
Attach object to a branch of given TTree.
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.
void fillTreeBranch(TTree &t) override
Fill tree branch associated with this object.
A TTree is a list of TBranches.
const char * GetName() const override
Returns name of object.
TString & Append(const char *cs)
A TTree represents a columnar dataset.
virtual TBranch * GetBranch(const char *name)
Return pointer to the branch with the given name in this tree or its friends.
virtual Int_t SetBranchAddress(const char *bname, void *add, TBranch **ptr=nullptr)
Change branch address, dealing with clone trees properly.
TBranch * Branch(const char *name, T *obj, Int_t bufsize=32000, Int_t splitlevel=99)
Add a new branch, and infer the data type from the type of obj being passed.
virtual void SetBranchStatus(const char *bname, Bool_t status=1, UInt_t *found=nullptr)
Set branch status to Process or DoNotProcess.