74 RooAbsArg(other,
name), _len(other._len), _value(new char[other._len])
111 return !TString(
getVal()).CompareTo(value) ;
119 if (!assumeSameType) {
185 if (TString(value).Length()>
_len)
return kFALSE ;
210 cxcoutD(
Tracing) <<
"RooAbsString::traceEval(" <<
GetName() <<
"): new output too long (>" <<
_len <<
" chars): " << value << endl ;
257 if ((branch = t.GetBranch(
GetName()))) {
296 t.SetBranchStatus(
GetName(),active?1:0) ;
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Bool_t isValueDirty() const
void clearValueDirty() const
void setShapeDirty() const
void setValueDirty() const
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.
@ kUseGlobal
Use the global compression setting for this process; may be affected by rootrc.