110 return !TString(
getVal()).CompareTo(value) ;
118 if (!assumeSameType) {
184 if (TString(value).Length()>
_len)
return kFALSE ;
209 cxcoutD(
Tracing) <<
"RooAbsString::traceEval(" <<
GetName() <<
"): new output too long (>" <<
_len <<
" chars): " << value << endl ;
256 if ((branch = t.GetBranch(
GetName()))) {
295 t.SetBranchStatus(
GetName(),active?1:0) ;
void clearValueDirty() const
virtual const char * GetName() const
Returns name of object.
Int_t GetCompressionLevel() const
virtual void setTreeBranchStatus(TTree &t, Bool_t active)
(De)Activate associated tree branch
void SetCompressionLevel(Int_t level=1)
Set compression level.
virtual Bool_t isValidString(const char *, Bool_t printError=kFALSE) const
Check if given string value is valid.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from stream (dummy for now)
static std::string format(double x, double y, int digits, int width)
void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDiry=kTRUE)
Copy cache of another RooAbsArg to our cache.
void setValueDirty() const
virtual TString evaluate() const
virtual Bool_t isIdentical(const RooAbsArg &other, Bool_t assumeSameType=kFALSE)
virtual Int_t Fill()
Loop on all leaves of this branch to fill Basket buffer.
virtual void fillTreeBranch(TTree &t)
Fill tree branch associated with this object.
virtual void attachToTree(TTree &t, Int_t bufSize=32000)
Attach object to a branch of given TTree.
virtual void syncCache(const RooArgSet *nset=0)
Forcibly bring internal cache up-to-date.
RooAbsString()
Default constructor.
virtual ~RooAbsString()
Destructor.
Bool_t operator==(const char *) const
Equality operator comparing with a TString.
virtual Bool_t traceEvalHook(const char *value) const
Hook function for trace evaluation.
virtual const char * getVal() const
Return value of object. Calculated if dirty, otherwise cached value is returned.
Bool_t isValueDirty() const
RooAbsString is the common abstract base class for objects that represent a string value...
void setShapeDirty() const
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to stream (dummy for now)
TString traceEval() const
Calculate current value of object, with error tracing wrapper.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
A TTree is a list of TBranches.
virtual void printValue(std::ostream &os) const
Print value.
RooStringVar implements a string values RooAbsArg.
RooAbsArg * createFundamental(const char *newname=0) const
Create a RooStringVar fundamental object with our properties.
virtual Bool_t isValid() const
Check if current value is valid.
virtual const char * GetTitle() const
Returns title of object.