library: libRooFit #include "RooAbsString.h"

# RooAbsString

class description - source file - inheritance tree (.pdf)

## class RooAbsString : public RooAbsArg

| Inheritance Chart:

`TObject`

<-

`TNamed`

`RooPrintable`

<-

`RooAbsArg`

<-

`RooAbsString`

<-

`RooStringVar` |

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        protected:

             virtual void attachToTree(TTree& t, Int_t bufSize = 32000)
             virtual void copyCache(const RooAbsArg* source)
          virtual TString evaluate() const
             virtual void fillTreeBranch(TTree& t)
           virtual Bool_t isValid() const
           virtual Bool_t isValidString(const char*, Bool_t printError = kFALSE) const
             virtual void setTreeBranchStatus(TTree& t, Bool_t active)
             virtual void syncCache(const RooArgSet* nset = 0)
              const char* traceEval() const
           virtual Bool_t traceEvalHook(const char* value) const

        public:

                      virtual ~RooAbsString()
               static TClass* Class()
           virtual RooAbsArg* createFundamental(const char* newname = "0") const
          virtual const char* getVal() const
              virtual TClass* IsA() const
                       Bool_t operator==(const char*) const
               virtual Bool_t operator==(const RooAbsArg& other)
                 virtual void printToStream(ostream& stream, RooPrintable::PrintOption opt = Standard, TString indent = ) const
               virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
                 virtual void writeToStream(ostream& os, Bool_t compact) const

### Data Members

        protected:

          Int_t _len
          char* _value  [_len]

## Class Description

     Implementation of RooAbsString may be derived, there no interface
     is provided to modify the contents

~RooAbsString()

const char* getVal() const

     Return value of object. Calculated if dirty, otherwise cached value is returned.

Bool_t readFromStream(istream& /*is*/, Bool_t /*compact*/, Bool_t /*verbose*/)

    Read object contents from stream (dummy for now)

void writeToStream(ostream& /*os*/, Bool_t /*compact*/) const

    Write object contents to stream (dummy for now)

void printToStream(ostream& os, PrintOption /*opt*/, TString indent) const

    Print object contents

Bool_t isValid() const

     Check if current value is valid

Bool_t isValidString(const char* value, Bool_t /*printError*/) const

     Check if given value is valid

Bool_t traceEvalHook(const char* /*value*/) const

const char* traceEval() const

     Calculate current value of object, with error tracing wrapper

void syncCache(const RooArgSet*)

void copyCache(const RooAbsArg* source)

     Copy cache of another RooAbsArg to our cache

void attachToTree(TTree& t, Int_t bufSize)

     Attach object to a branch of given TTree

void fillTreeBranch(TTree& t)

     First determine if branch is taken

void setTreeBranchStatus(TTree& t, Bool_t active)

     (De)Activate associate tree branch

RooAbsArg* createFundamental(const char* newname) const

     Create a RooStringVar fundamental object with our properties.

### Inline Functions

                 Bool_t operator==(const char*) const
                 Bool_t operator==(const RooAbsArg& other)
                TString evaluate() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:10:21 2005
Copyright (c) 2000-2005, Regents of the University of California *