53 _realVar(
"realVar",
"RooRealVar with error",this,(
RooAbsReal&)input)
64 _realVar(
"realVar",this,other._realVar)
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(") ;
void setShapeDirty() const
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
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 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.
virtual Double_t evaluate() const
virtual void SetName(const char *name)
Change (i.e.
void syncCache(const RooArgSet *set=0)
Optional alternative ranges and binnings.
virtual Double_t getMin(const char *name=0) const
const RooAbsBinning & getBinning(const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
Return binning with given name.
virtual Bool_t isValidReal(Double_t value, Bool_t printError=kFALSE) const
Check if given value is valid.
virtual RooAbsBinning * clone(const char *name=0) const =0
std::list< std::string > getBinningNames() const
Get a list of all binning names.
Iterator abstract base class.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write value to stream.
std::map< std::string, std::string >::const_iterator iter
TString & Append(const char *cs)
RooErrorVar is an auxilary class that represents the error of a RooRealVar as a seperate object...
TIterator * MakeIterator(Bool_t dir=kTRUE) const
Return an iterator over this list.
Double_t getVal(const RooArgSet *set=0) const
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)
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual const char * GetName() const
Returns name of object.
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
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)
virtual Double_t getValV(const RooArgSet *set=0) const
Return value, i.e. error on input variable.
Bool_t hasBinning(const char *name) const
Return true if we have binning with given name.
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...
RooFIter fwdIterator() const
RooRangeBinning is binning/range definition that only defines a range but no binning.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
virtual Double_t getMax(const char *name=0) const
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
virtual Bool_t inRange(const char *name) const
Check if current value is inside range with given name.
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="")
Change (i.e. set) the title of the TNamed.
void setMin(Double_t value)
virtual void setMax(Double_t xhi)