53 _realVar(
"realVar",
"RooRealVar with error",this,(
RooAbsReal&)input)
139 if (!createOnTheFly) {
146 << name <<
"' created with default bounds" << endl ;
159 std::list<std::string> binningNames(1,
"");
163 while((binning = iter.
next())) {
165 binningNames.push_back(name);
212 <<
"): Proposed new fit min. larger than max., setting min. to max." << endl ;
242 <<
"): Proposed new fit max. smaller than min., setting max. to min." << endl ;
275 <<
"): Proposed new fit max. smaller than min., setting max. to min." << endl ;
276 binning.setRange(min,min) ;
278 binning.setRange(min,max) ;
283 <<
") new range named '" << name <<
"' created with bounds [" 284 << min <<
"," << max <<
"]" << endl ;
297 TString token,errorPrefix(
"RooErrorVar::readFromStream(") ;
298 errorPrefix.Append(
GetName()) ;
299 errorPrefix.Append(
")") ;
virtual Double_t getMin(const char *name=0) const
virtual const char * GetName() const
Returns name of object.
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
virtual void setMin(Double_t xlo)
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
virtual Double_t getMax(const char *name=0) const
virtual Double_t evaluate() const
virtual Bool_t Remove(TObject *arg)
Remove object from collection.
void setBinning(const RooAbsBinning &binning, const char *name=0)
Store given binning with this variable under the given name.
Double_t getVal(const RooArgSet *set=0) const
virtual void SetName(const char *name)
Set the name of the TNamed.
void syncCache(const RooArgSet *set=0)
Optional alternative ranges and binnings.
RooFIter fwdIterator() const
virtual RooAbsBinning * clone(const char *name=0) const =0
Iterator abstract base class.
Bool_t hasBinning(const char *name) const
Return true if we have binning with given name.
RooErrorVar is an auxilary class that represents the error of a RooRealVar as a seperate object...
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void Add(TObject *arg)
virtual void setVal(Double_t value)
virtual ~RooErrorVar()
Destructor.
RooLinkedList _altBinning
void setRange(Double_t min, Double_t max)
virtual Bool_t isValidReal(Double_t value, Bool_t printError=kFALSE) const
Check if given value is valid.
Bool_t readDouble(Double_t &value, Bool_t zapOnError=kFALSE)
Read the next token and convert it to a Double_t.
void setMax(Double_t value)
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...
RooRangeBinning is binning/range definition that only defines a range but no binning.
std::list< std::string > getBinningNames() const
Get a list of all binning names.
virtual Bool_t inRange(const char *name) const
Check if current value is inside range with given name.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
void setShapeDirty() const
TIterator * MakeIterator(Bool_t dir=kTRUE) const
Return an iterator over this list.
virtual TObject * Next()=0
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write value to stream.
void setMin(Double_t value)
virtual void setMax(Double_t xhi)
virtual Double_t getValV(const RooArgSet *set=0) const
Return value, i.e. error on input variable.
const RooAbsBinning & getBinning(const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
Return binning with given name.