51 _string(other._string)
62 TString token,errorPrefix(
"RooStringVar::readFromStream(") ;
125 coutE(DataHandling) <<
"RooAbsString::fillTreeBranch(" <<
GetName() <<
") ERROR: not attached to tree" << std::endl;
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_t readString(TString &value, Bool_t zapOnError=kFALSE)
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 copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDiry=kTRUE) override
Copy cache of another RooAbsArg to our cache.
virtual void attachToTree(TTree &t, Int_t bufSize=32000) override
Attach object to a branch of given TTree.
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.
virtual void fillTreeBranch(TTree &t) override
Fill tree branch associated with this object.
A TTree is a list of TBranches.
virtual const char * GetName() const
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=0)
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=0)
Set branch status to Process or DoNotProcess.