74 RooAbsArg(other,
name), _len(other._len), _value(new char[other._len])
119 if (!assumeSameType) {
210 cxcoutD(
Tracing) <<
"RooAbsString::traceEval(" <<
GetName() <<
"): new output too long (>" <<
_len <<
" chars): " << value << endl ;
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void setShapeDirty()
Notify that a shape-like property (e.g. binning) has changed.
Bool_t isValueDirty() const
void clearValueDirty() const
void setValueDirty()
Mark the element dirty. This forces a re-evaluation when a value is requested.
RooAbsString is the common abstract base class for objects that represent a string value.
Bool_t operator==(const char *) const
Equality operator comparing with a TString.
TString traceEval() const
Calculate current value of object, with error tracing wrapper.
virtual void setTreeBranchStatus(TTree &t, Bool_t active)
(De)Activate associated tree branch
virtual void attachToTree(TTree &t, Int_t bufSize=32000)
Attach object to a branch of given TTree.
virtual Bool_t isIdentical(const RooAbsArg &other, Bool_t assumeSameType=kFALSE)
virtual ~RooAbsString()
Destructor.
virtual Bool_t traceEvalHook(const char *value) const
Hook function for trace evaluation.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to stream (dummy for now)
void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDiry=kTRUE)
Copy cache of another RooAbsArg to our cache.
virtual Bool_t isValid() const
Check if current value is valid.
virtual void printValue(std::ostream &os) const
Print value.
virtual void fillTreeBranch(TTree &t)
Fill tree branch associated with this object.
virtual const char * getVal() const
Return value of object. Calculated if dirty, otherwise cached value is returned.
virtual void syncCache(const RooArgSet *nset=0)
Forcibly bring internal cache up-to-date.
virtual TString evaluate() const
virtual Bool_t isValidString(const char *, Bool_t printError=kFALSE) const
Check if given string value is valid.
RooAbsString()
Default constructor.
RooAbsArg * createFundamental(const char *newname=0) const
Create a RooStringVar fundamental object with our properties.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from stream (dummy for now)
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooStringVar implements a string values RooAbsArg.
A TTree is a list of TBranches.
Int_t GetCompressionLevel() const
void SetCompressionLevel(Int_t level=ROOT::RCompressionSetting::ELevel::kUseMin)
Set compression level.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
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.
@ kUseGlobal
Use the global compression setting for this process; may be affected by rootrc.