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= ;
#define ClassDef(name, id)
float type_of_call hi(const int &, const int &)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooRefCountList _serverList
void setValueDirty() const
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual void setMin(Double_t xlo)
virtual void setMax(Double_t xhi)
virtual void setRange(Double_t xlo, Double_t xhi)=0
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
virtual Double_t getMax(const char *name=0) const
virtual Double_t getMin(const char *name=0) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
RooErrorVar is an auxilary class that represents the error of a RooRealVar as a seperate object.
RooExpensiveObjectCache is a singleton class that serves as repository for objects that are expensive...
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
static Double_t infinity()
Return internal infinity representation.
Class RooRealVarSharedProperties is an implementation of RooSharedProperties that stores the properti...
RooRealVar represents a fundamental (non-derived) real valued object.
void setMin(Double_t value)
Double_t getAsymErrorLo() const
static RooSharedPropertiesList _sharedPropList
RooRealVarSharedProperties * sharedProp() const
static void printSigDigits(Int_t ndig=5)
Set number of digits to show when printing RooRealVars.
void setRange(Double_t min, Double_t max)
Bool_t hasBinning(const char *name) const
Returns true if variable has a binning with 'name'.
Double_t getErrorHi() const
Bool_t hasAsymError(Bool_t allowZero=kTRUE) const
virtual void printValue(std::ostream &os) const
Print value of variable.
static void printScientific(Bool_t flag=kFALSE)
If true, contents of RooRealVars will be printed in scientific notation.
virtual void setValFast(Double_t value)
virtual Int_t defaultPrintContents(Option_t *opt) const
Mapping of Print() option string to RooPrintable contents specifications.
Double_t getErrorLo() const
void setMin(const char *name, Double_t value)
Set minimum of name range to given value.
void setBins(Int_t nBins, const char *name=0)
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream.
RooLinkedList _altNonSharedBinning
void setError(Double_t value)
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Detailed printing interface.
virtual void printExtras(std::ostream &os) const
Print extras of variable: (asymmetric) error, constant flag, limits and binning.
void setMax(Double_t value)
Double_t chopAt(Double_t what, Int_t where) const
Utility to calculate number of decimals to show based on magnitude of error.
static Int_t _printSigDigits
void setRange(const char *name, Double_t min, Double_t max)
Set range named 'name to [min,max].
std::list< std::string > getBinningNames() const
Get a list of all binning names.
virtual Bool_t isFundamental() const
virtual void attachToVStore(RooVectorDataStore &vstore)
Overload RooAbsReal::attachToTree to also attach branches for errors and/or asymmetric errors attribu...
void removeRange(const char *name=0)
Double_t getAsymErrorHi() const
void setMax(const char *name, Double_t value)
Set maximum of name range to given value.
void setRange(RooAbsReal &min, RooAbsReal &max)
static RooRealVarSharedProperties _nullProp
virtual Double_t getValV(const RooArgSet *nset=0) const
Return value of variable.
void setAsymError(Double_t lo, Double_t hi)
RooRealVarSharedProperties * _sharedProp
void deleteSharedProperties()
No longer used?
virtual void fillTreeBranch(TTree &t)
Overload RooAbsReal::fillTreeBranch to also fill tree branches with (asymmetric) errors if requested.
Bool_t hasError(Bool_t allowZero=kTRUE) const
virtual ~RooRealVar()
Destructor.
RooErrorVar * errorVar() const
Return a RooAbsRealLValue representing the error associated with this variable.
Double_t getError() const
void removeMax(const char *name=0)
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...
virtual Bool_t isDerived() const
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
void removeMin(const char *name=0)
static Bool_t _printScientific
TString * format(const RooCmdArg &formatArg) const
Format contents of RooRealVar for pretty printing on RooPlot parameter boxes.
const RooAbsBinning & getBinning(const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
Return binning definition with name.
void copyCacheFast(const RooRealVar &other, Bool_t setValDirty=kTRUE)
RooRealVar()
Default constructor.
virtual void attachToTree(TTree &t, Int_t bufSize=32000)
Overload RooAbsReal::attachToTree to also attach branches for errors and/or asymmetric errors attribu...
void setBinning(const RooAbsBinning &binning, const char *name=0)
Add given binning under name 'name' with this variable.
virtual TObject * clone(const char *newname) const
virtual void setVal(Double_t value)
Set value of variable to 'value'.
virtual void setExpensiveObjectCache(RooExpensiveObjectCache &)
virtual Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Class RooSharedPropertiesList maintains the properties of RooRealVars and RooCategories that are clon...
RooSharedProperties * registerProperties(RooSharedProperties *, Bool_t canDeleteIncoming=kTRUE)
Register property into list and take ownership.
RooVectorDataStore is the abstract base class for data collection that use a TTree as internal storag...
Int_t GetEntries() const
Return the number of objects in array (i.e.
Mother of all ROOT objects.
A TTree object has a header with a name and a title.