44 Double_t maxValue,
const char *unit=
"");
106 virtual void printValue(std::ostream& os)
const ;
118 using RooAbsRealLValue::operator= ;
TString * format(const RooCmdArg &formatArg) const
Format contents of RooRealVar for pretty printing on RooPlot parameter boxes.
static RooRealVarSharedProperties _nullProp
Bool_t hasBinning(const char *name) const
Returns true if variable has a binning with 'name'.
RooRealVar()
Default constructor.
static void printSigDigits(Int_t ndig=5)
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
virtual void setMin(Double_t xlo)
Bool_t hasError(Bool_t allowZero=kTRUE) const
RooExpensiveObjectCache is a singleton class that serves as repository for objects that are expensive...
const RooAbsBinning & getBinning(const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
Return binning definition with name.
void setRange(RooAbsReal &min, RooAbsReal &max)
virtual Double_t getMin(const char *name=0) const
virtual void setValFast(Double_t value)
void setMax(const char *name, Double_t value)
Set maximum of name range to given value.
virtual void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)
Copy cache of another RooAbsArg to our cache.
virtual Double_t evaluate() const
void copyCacheFast(const RooRealVar &other, Bool_t setValDirty=kTRUE)
static Int_t _printSigDigits
virtual void setExpensiveObjectCache(RooExpensiveObjectCache &)
void setBinning(const RooAbsBinning &binning, const char *name=0)
Add given binning under name 'name' with this variable.
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Detailed printing interface.
static RooSharedPropertiesList _sharedPropList
#define ClassDef(name, id)
virtual void setRange(Double_t xlo, Double_t xhi)=0
void removeRange(const char *name=0)
RooRealVarSharedProperties * _sharedProp
RooVectorDataStore is the abstract base class for data collection that use a TTree as internal storag...
void deleteSharedProperties()
void removeMin(const char *name=0)
virtual Int_t defaultPrintContents(Option_t *opt) const
Mapping of Print() option string to RooPrintable contents specifications.
RooErrorVar is an auxilary class that represents the error of a RooRealVar as a seperate object...
void setAsymError(Double_t lo, Double_t hi)
void setBins(Int_t nBins, const char *name=0)
RooSharedProperties * registerProperties(RooSharedProperties *, Bool_t canDeleteIncoming=kTRUE)
Register property into list and take ownership.
virtual void printValue(std::ostream &os) const
Print value of variable.
virtual void fillTreeBranch(TTree &t)
Fill the tree branch that associated with this object with its current value.
RooRealVar represents a fundamental (non-derived) real valued object.
Double_t chopAt(Double_t what, Int_t where) const
virtual void setVal(Double_t value)
Set value of variable to 'value'.
std::list< std::string > getBinningNames() const
Get a list of all binning names.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
Class RooRealVarSharedProperties is an implementation of RooSharedProperties that stores the properti...
void setMin(const char *name, Double_t value)
Set minimum of name range to given value.
Bool_t hasAsymError(Bool_t allowZero=kTRUE) const
static Double_t infinity()
Return internal infinity representation.
static void indent(ostringstream &buf, int indent_level)
virtual void printExtras(std::ostream &os) const
Print extras of variable: (asymmetric) error, constant flag, limits and binning.
Double_t getErrorHi() const
Double_t getAsymErrorHi() const
virtual Bool_t isFundamental() const
static Bool_t _printScientific
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual Bool_t isDerived() const
virtual void attachToTree(TTree &t, Int_t bufSize=32000)
Attach object to a branch of given TTree.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual void attachToVStore(RooVectorDataStore &vstore)
RooRefCountList _serverList
void setValueDirty() const
Int_t GetEntries() const
Return the number of objects in array (i.e.
RooErrorVar * errorVar() const
Return a RooAbsRealLValue representing the error associated with this variable.
Class RooSharedPropertiesList maintains the properties of RooRealVars and RooCategories that are clon...
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
void setMax(Double_t value)
void setRange(const char *name, Double_t min, Double_t max)
Set range named 'name to [min,max].
Mother of all ROOT objects.
virtual Double_t getMax(const char *name=0) const
virtual TObject * clone(const char *newname) const
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
Double_t getAsymErrorLo() const
RooLinkedList _altNonSharedBinning
virtual ~RooRealVar()
Destructor cout << "RooRealVar::dtor(" << this << ")" << endl ;.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
A TTree object has a header with a name and a title.
float type_of_call hi(const int &, const int &)
static void printScientific(Bool_t flag=kFALSE)
RooRealVarSharedProperties * sharedProp() const
void setMin(Double_t value)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Double_t getErrorLo() const
void removeMax(const char *name=0)
void setRange(Double_t min, Double_t max)
virtual void setMax(Double_t xhi)
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
void setError(Double_t value)
Double_t getError() const
virtual Double_t getValV(const RooArgSet *nset=0) const
Return value of variable.