41 Double_t value,
const char *unit=
"") ;
43 Double_t maxValue,
const char *unit=
"");
105 virtual void printValue(std::ostream& os)
const ;
117 using RooAbsRealLValue::operator= ;
virtual Double_t getMin(const char *name=0) const
static RooRealVarSharedProperties _nullProp
virtual Bool_t isFundamental() const
Bool_t hasBinning(const char *name) const
Returns true if variable has a binning with 'name'.
RooRealVar()
Default constructor.
virtual void setMin(Double_t xlo)
virtual Double_t getMax(const char *name=0) const
virtual TObject * clone(const char *newname) const
virtual void attachToTree(TTree &t, Int_t bufSize=32000)
Overload RooAbsReal::attachToTree to also attach branches for errors and/or asymmetric errors attribu...
RooExpensiveObjectCache is a singleton class that serves as repository for objects that are expensive...
virtual Bool_t isDerived() const
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 void setValFast(Double_t value)
virtual void printExtras(std::ostream &os) const
Print extras of variable: (asymmetric) error, constant flag, limits and binning.
virtual Int_t defaultPrintContents(Option_t *opt) const
Mapping of Print() option string to RooPrintable contents specifications.
virtual Double_t getValV(const RooArgSet *nset=0) const
Return value of variable.
void setMax(const char *name, Double_t value)
Set maximum of name range to given value.
void copyCacheFast(const RooRealVar &other, Bool_t setValDirty=kTRUE)
void setValueDirty() const
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.
Double_t getErrorLo() const
static void printScientific(Bool_t flag=kFALSE)
If true, contents of RooRealVars will be printed in scientific notation.
static RooSharedPropertiesList _sharedPropList
Bool_t hasAsymError(Bool_t allowZero=kTRUE) const
#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()
No longer used?
void removeMin(const char *name=0)
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)
Bool_t hasError(Bool_t allowZero=kTRUE) const
RooSharedProperties * registerProperties(RooSharedProperties *, Bool_t canDeleteIncoming=kTRUE)
Register property into list and take ownership.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
Double_t getAsymErrorHi() const
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Detailed printing interface.
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.
virtual Double_t evaluate() const
TString * format(const RooCmdArg &formatArg) const
Format contents of RooRealVar for pretty printing on RooPlot parameter boxes.
static Double_t infinity()
Return internal infinity representation.
static void printSigDigits(Int_t ndig=5)
Set number of digits to show when printing RooRealVars.
std::list< std::string > getBinningNames() const
Get a list of all binning names.
virtual void fillTreeBranch(TTree &t)
Overload RooAbsReal::fillTreeBranch to also fill tree branches with (asymmetric) errors if requested...
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...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooRefCountList _serverList
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream.
RooRealVarSharedProperties * sharedProp() const
Class RooSharedPropertiesList maintains the properties of RooRealVars and RooCategories that are clon...
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.
RooErrorVar * errorVar() const
Return a RooAbsRealLValue representing the error associated with this variable.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
Double_t chopAt(Double_t what, Int_t where) const
Utility to calculate number of decimals to show based on magnitude of error.
RooLinkedList _altNonSharedBinning
virtual ~RooRealVar()
Destructor cout << "RooRealVar::dtor(" << this << ")" << endl ;.
virtual void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)
Copy the cached value of another RooAbsArg to our cache Warning: This function copies the cached valu...
Int_t GetEntries() const
Return the number of objects in array (i.e.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
virtual void attachToVStore(RooVectorDataStore &vstore)
Overload RooAbsReal::attachToTree to also attach branches for errors and/or asymmetric errors attribu...
A TTree object has a header with a name and a title.
float type_of_call hi(const int &, const int &)
virtual void printValue(std::ostream &os) const
Print value of variable.
void setMin(Double_t value)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Double_t getError() const
Double_t getAsymErrorLo() const
void removeMax(const char *name=0)
Double_t getErrorHi() const
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)