49 _realVar(
"realVar",
"RooRealVar with error",this,(
RooAbsReal&)input)
60 _realVar(
"realVar",this,other._realVar)
135 if (!createOnTheFly) {
142 <<
name <<
"' created with default bounds" << endl ;
155 std::list<std::string> binningNames(1,
"");
159 while((binning = iter.
next())) {
161 binningNames.push_back(
name);
228 <<
"): Proposed new fit min. larger than max., setting min. to max." << endl ;
258 <<
"): Proposed new fit max. smaller than min., setting max. to min." << endl ;
294 <<
"): Proposed new fit max. smaller than min., setting max. to min." << endl ;
295 binning.setRange(min,min) ;
297 binning.setRange(min,max) ;
302 <<
") new range named '" <<
name <<
"' created with bounds ["
303 << min <<
"," << max <<
"]" << endl ;
316 TString token,errorPrefix(
"RooErrorVar::readFromStream(") ;
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void setShapeDirty()
Notify that a shape-like property (e.g. binning) has changed.
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual RooAbsBinning * clone(const char *name=0) const =0
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
Get maximum of currently defined range.
virtual Bool_t isValidReal(Double_t value, Bool_t printError=kFALSE) const
Check if given value is valid.
virtual Bool_t inRange(const char *name) const
Check if current value is inside range with given name.
virtual Double_t getMin(const char *name=0) const
Get miniminum of currently defined range.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooErrorVar is an auxilary class that represents the error of a RooRealVar as a seperate object.
void setBinning(const RooAbsBinning &binning, const char *name=0)
Store given binning with this variable under the given name.
void setRange(Double_t min, Double_t max)
void removeRange(const char *name=0)
Remove both upper and lower bounds from named binning, or default binning if name is null.
void syncCache(const RooArgSet *set=0)
Optional alternative ranges and binnings.
void setMin(Double_t value)
void setMax(Double_t value)
virtual Double_t getValV(const RooArgSet *set=0) const
Return value, i.e. error on input variable.
virtual Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
RooLinkedList _altBinning
Bool_t hasBinning(const char *name) const
Return true if we have binning with given name.
virtual void setVal(Double_t value)
virtual ~RooErrorVar()
Destructor.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write value to stream.
std::list< std::string > getBinningNames() const
Get a list of all binning names.
void removeMin(const char *name=0)
Remove lower bound from named binning, or default binning if name is null.
void removeMax(const char *name=0)
Remove upper bound from named binning, or default binning if name is null.
void setBins(Int_t nBins)
Set default binning to nBins uniform bins.
const RooAbsBinning & getBinning(const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
Return binning with given name.
A one-time forward iterator working on RooLinkedList or RooAbsCollection.
RooAbsArg * next()
Return next element or nullptr if at end.
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
RooFIter fwdIterator() const
Create a one-time-use forward iterator for this list.
TIterator * MakeIterator(Bool_t forward=kTRUE) const
Create a TIterator for this list.
virtual void Add(TObject *arg)
virtual Bool_t Remove(TObject *arg)
Remove object from collection.
static Double_t infinity()
Return internal infinity representation.
RooRangeBinning is binning/range definition that only defines a range but no binning.
RooRealVar represents a variable that can be changed from the outside.
Bool_t readDouble(Double_t &value, Bool_t zapOnError=kFALSE)
Read the next token and convert it to a Double_t.
Iterator abstract base class.
virtual TObject * Next()=0
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual const char * GetName() const
Returns name of object.
TString & Append(const char *cs)