118 if (!assumeSameType) {
209 cxcoutD(
Tracing) <<
"RooAbsString::traceEval(" <<
GetName() <<
"): new output too long (>" <<
_len <<
" chars): " << value << endl ;
virtual const char * GetTitle() const
Returns title of object.
void setShapeDirty() const
virtual Bool_t isValidString(const char *, Bool_t printError=kFALSE) const
Check if given string value is valid.
virtual void SetBranchStatus(const char *bname, Bool_t status=1, UInt_t *found=0)
Set branch status to Process or DoNotProcess.
virtual void setTreeBranchStatus(TTree &t, Bool_t active)
(De)Activate associated tree branch
virtual TString evaluate() const
void SetCompressionLevel(Int_t level=1)
Set compression level.
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.
virtual Int_t SetBranchAddress(const char *bname, void *add, TBranch **ptr=0)
Change branch address, dealing with clone trees properly.
virtual Bool_t isIdentical(const RooAbsArg &other, Bool_t assumeSameType=kFALSE)
RooAbsArg * createFundamental(const char *newname=0) const
Create a RooStringVar fundamental object with our properties.
TString & Append(const char *cs)
virtual TBranch * GetBranch(const char *name)
Return pointer to the branch with the given name in this tree or its friends.
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.
Bool_t operator==(const char *) const
Equality operator comparing with a TString.
virtual void syncCache(const RooArgSet *nset=0)
Forcibly bring internal cache up-to-date.
virtual const char * GetName() const
Returns name of object.
RooAbsString()
Default constructor.
virtual ~RooAbsString()
Destructor.
virtual Bool_t isValid() const
Check if current value is valid.
void setValueDirty() 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.
RooAbsString is the common abstract base class for objects that represent a string value...
virtual Int_t Branch(TCollection *list, Int_t bufsize=32000, Int_t splitlevel=99, const char *name="")
Create one branch for each element in the collection.
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
A TTree object has a header with a name and a title.
void clearValueDirty() const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
A TTree is a list of TBranches.
RooStringVar implements a string values RooAbsArg.
Int_t GetCompressionLevel() const
virtual void printValue(std::ostream &os) const
Print value.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.