library: libRooFit
#include "RooAbsRealLValue.h"

RooAbsRealLValue


class description - source file - inheritance tree (.pdf)

class RooAbsRealLValue : public RooAbsReal, public RooAbsLValue

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsArg
<-
RooAbsReal
RooAbsLValue
<-
RooAbsRealLValue
<-
RooErrorVar
RooLinearVar
RooRealVar
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
virtual void copyCache(const RooAbsArg* source) Bool_t fitRangeOKForPlotting() const public:
virtual ~RooAbsRealLValue() static TClass* Class() TH1* createHistogram(const char* name, const RooCmdArg& arg1 = RooCmdArg::none, const RooCmdArg& arg2 = RooCmdArg::none, const RooCmdArg& arg3 = RooCmdArg::none, const RooCmdArg& arg4 = RooCmdArg::none, const RooCmdArg& arg5 = RooCmdArg::none, const RooCmdArg& arg6 = RooCmdArg::none, const RooCmdArg& arg7 = RooCmdArg::none, const RooCmdArg& arg8 = RooCmdArg::none) const TH1* createHistogram(const char* name, const RooLinkedList& cmdList) const TH1F* createHistogram(const char* name, const char* yAxisLabel) const TH1F* createHistogram(const char* name, const char* yAxisLabel, Double_t xlo, Double_t xhi, Int_t nBins) const TH1F* createHistogram(const char* name, const char* yAxisLabel, const RooAbsBinning& bins) const TH2F* createHistogram(const char* name, const RooAbsRealLValue& yvar, const char* zAxisLabel = "0", Double_t* xlo = 0, Double_t* xhi = 0, Int_t* nBins = 0) const TH2F* createHistogram(const char* name, const RooAbsRealLValue& yvar, const char* zAxisLabel, const RooAbsBinning** bins) const TH3F* createHistogram(const char* name, const RooAbsRealLValue& yvar, const RooAbsRealLValue& zvar, const char* tAxisLabel, Double_t* xlo = 0, Double_t* xhi = 0, Int_t* nBins = 0) const TH3F* createHistogram(const char* name, const RooAbsRealLValue& yvar, const RooAbsRealLValue& zvar, const char* tAxisLabel, const RooAbsBinning** bins) const static TH1* createHistogram(const char* name, RooArgList& vars, const char* tAxisLabel, Double_t* xlo, Double_t* xhi, Int_t* nBins) static TH1* createHistogram(const char* name, RooArgList& vars, const char* tAxisLabel, const RooAbsBinning** bins) RooPlot* frame(const RooCmdArg& arg1, const RooCmdArg& arg2 = RooCmdArg::none, const RooCmdArg& arg3 = RooCmdArg::none, const RooCmdArg& arg4 = RooCmdArg::none, const RooCmdArg& arg5 = RooCmdArg::none, const RooCmdArg& arg6 = RooCmdArg::none, const RooCmdArg& arg7 = RooCmdArg::none, const RooCmdArg& arg8 = RooCmdArg::none) const RooPlot* frame(const RooLinkedList& cmdList) const RooPlot* frame(Double_t lo, Double_t hi, Int_t nbins) const RooPlot* frame(Double_t lo, Double_t hi) const RooPlot* frame(Int_t nbins) const RooPlot* frame() const virtual Int_t getBin() const virtual const RooAbsBinning& getBinning(const char* name = "0", Bool_t verbose = kTRUE, Bool_t createOnTheFly = kFALSE) const virtual RooAbsBinning& getBinning(const char* name = "0", Bool_t verbose = kTRUE, Bool_t createOnTheFly = kFALSE) virtual Int_t getBins(const char* name = "0") const virtual Double_t getBinWidth(Int_t i) const Int_t getFitBins() const Double_t getFitMax() const Double_t getFitMin() const virtual Double_t getMax(const char* name = "0") const virtual Double_t getMin(const char* name = "0") const virtual Bool_t hasBinning(const char* name) const Bool_t hasFitMax() const Bool_t hasFitMin() const Bool_t hasMax(const char* name = "0") const Bool_t hasMin(const char* name = "0") const virtual Bool_t hasRange(const char* name) const virtual Bool_t inRange(const char* name) const Bool_t inRange(Double_t value, Double_t* clippedValue = 0) const virtual TClass* IsA() const virtual Bool_t isJacobianOK(const RooArgSet& depList) const virtual Bool_t isLValue() const virtual Bool_t isValidReal(Double_t value, Bool_t printError = kFALSE) const virtual Double_t jacobian() const virtual Int_t numBins() const Int_t numFitBins() const virtual RooAbsArg& operator=(const RooAbsReal& other) virtual RooAbsArg& operator=(Double_t newValue) virtual RooAbsArg& operator=(Int_t ival) virtual void printToStream(ostream& stream, RooPrintable::PrintOption opt = Standard, TString indent = ) const virtual void randomize() virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE) virtual void setBin(Int_t ibin) void setConstant(Bool_t value = kTRUE) virtual void setVal(Double_t value) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void writeToStream(ostream& os, Bool_t compact) const

Data Members




Class Description


~RooAbsRealLValue()
 Destructor

Bool_t inRange(Double_t value, Double_t* clippedValPtr) const
 Return kTRUE if the input value is within our fit range. Otherwise, return
 kFALSE and write a clipped value into clippedValPtr if it is non-zero.

Bool_t isValidReal(Double_t value, Bool_t verbose) const
 Check if given value is valid

Bool_t readFromStream(istream& /*is*/, Bool_t /*compact*/, Bool_t /*verbose*/)
 Read object contents from given stream

void writeToStream(ostream& /*os*/, Bool_t /*compact*/) const
 Write object contents to given stream

RooPlot* frame(const RooLinkedList& cmdList) const
 Define configuration for this method

RooPlot* frame(Double_t xlo, Double_t xhi, Int_t nbins) const
 Create a new RooPlot on the heap with a drawing frame initialized for this
 object, but no plot contents. Use x.frame() as the first argument to a
 y.plotOn(...) method, for example. The caller is responsible for deleting
 the returned object.

RooPlot* frame(Double_t xlo, Double_t xhi) const
 Create a new RooPlot on the heap with a drawing frame initialized for this
 object, but no plot contents. Use x.frame() as the first argument to a
 y.plotOn(...) method, for example. The caller is responsible for deleting
 the returned object.

RooPlot* frame(Int_t nbins) const
 Create a new RooPlot on the heap with a drawing frame initialized for this
 object, but no plot contents. Use x.frame() as the first argument to a
 y.plotOn(...) method, for example. The caller is responsible for deleting
 the returned object.

 The current fit range may not be open ended or empty.

RooPlot* frame() const
 Create a new RooPlot on the heap with a drawing frame initialized for this
 object, but no plot contents. Use x.frame() as the first argument to a
 y.plotOn(...) method, for example. The caller is responsible for deleting
 the returned object.

 The current fit range may not be open ended or empty.

void copyCache(const RooAbsArg* source)
 Copy cache of another RooAbsArg to our cache

void printToStream(ostream& os, PrintOption opt, TString indent) const
 Print info about this object to the specified stream. In addition to the info
 from RooAbsReal::printToStream() we add:

   Verbose : fit range and error

void randomize()
 Set a new value sampled from a uniform distribution over the fit range.
 Prints a warning and does nothing if the fit range is not finite.

void setBin(Int_t ibin)
 Check range of plot bin index

Bool_t fitRangeOKForPlotting() const
 Check if fit range is usable as plot range, i.e. it is neither
 open ended, nor empty

Bool_t inRange(const char* name) const
 Check if current value is inside range with given name

TH1* createHistogram(const char *name, const RooLinkedList& cmdList) const
 Create empty 1,2 or 3D histogram
 Arguments recognized

 YVar() -- RooRealVar defining Y dimension with optional range/binning
 ZVar() -- RooRealVar defining Z dimension with optional range/binning
 AxisLabel() -- Vertical axis label
 Binning() -- Range/Binning specification of X axis

TH1F* createHistogram(const char *name, const char *yAxisLabel) const
 Create an empty 1D-histogram with appropriate scale and labels for this variable.
 This method uses the default plot range which can be changed using the
 setPlotMin(),setPlotMax() methods, and the default binning which can be
 changed with setPlotBins(). The caller takes ownership of the returned
 object and is responsible for deleting it.

TH1F* createHistogram(const char *name, const char *yAxisLabel, Double_t xlo, Double_t xhi, Int_t nBins) const
 Create an empty 1D-histogram with appropriate scale and labels for this variable.
 This method uses the default plot range which can be changed using the
 setPlotMin(),setPlotMax() methods, and the default binning which can be
 changed with setPlotBins(). The caller takes ownership of the returned
 object and is responsible for deleting it.

TH1F* createHistogram(const char *name, const char *yAxisLabel, const RooAbsBinning& bins) const
 Create an empty 1D-histogram with appropriate scale and labels for this variable.

TH2F* createHistogram(const char *name, const RooAbsRealLValue &yvar, const char *zAxisLabel, Double_t* xlo, Double_t* xhi, Int_t* nBins) const
 Create an empty 2D-histogram with appropriate scale and labels for this variable (x)
 and the specified y variable. This method uses the default plot ranges for x and y which
 can be changed using the setPlotMin(),setPlotMax() methods, and the default binning which
 can be changed with setPlotBins(). The caller takes ownership of the returned object
 and is responsible for deleting it.

TH2F* createHistogram(const char *name, const RooAbsRealLValue &yvar, const char *zAxisLabel, const RooAbsBinning** bins) const
 Create an empty 2D-histogram with appropriate scale and labels for this variable (x)
 and the specified y variable.

TH3F* createHistogram(const char *name, const RooAbsRealLValue &yvar, const RooAbsRealLValue &zvar, const char *tAxisLabel, Double_t* xlo, Double_t* xhi, Int_t* nBins) const
 Create an empty 3D-histogram with appropriate scale and labels for this variable (x)
 and the specified y,z variables. This method uses the default plot ranges for x,y,z which
 can be changed using the setPlotMin(),setPlotMax() methods, and the default binning which
 can be changed with setPlotBins(). The caller takes ownership of the returned object
 and is responsible for deleting it.

TH3F* createHistogram(const char *name, const RooAbsRealLValue &yvar, const RooAbsRealLValue &zvar, const char* tAxisLabel, const RooAbsBinning** bins) const
 Create an empty 3D-histogram with appropriate scale and labels for this variable (x)
 and the specified y,z variables.

TH1* createHistogram(const char *name, RooArgList &vars, const char *tAxisLabel, Double_t* xlo, Double_t* xhi, Int_t* nBins)

TH1* createHistogram(const char *name, RooArgList &vars, const char *tAxisLabel, const RooAbsBinning** bins)
 Create a 1,2, or 3D-histogram with appropriate scale and labels.
 Binning and ranges are taken from the variables themselves and can be changed by
 calling their setPlotMin/Max() and setPlotBins() methods. A histogram can be filled
 using RooAbsReal::fillHistogram() or RooTreeData::fillHistogram().
 The caller takes ownership of the returned object and is responsible for deleting it.

Double_t getFitMin() const

Double_t getFitMax() const

Bool_t hasFitMin() const

Bool_t hasFitMax() const

Int_t getFitBins() const

Int_t numFitBins() const

Bool_t isJacobianOK(const RooArgSet&) const



Inline Functions


                        void setVal(Double_t value)
                  RooAbsArg& operator=(const RooAbsReal& other)
                  RooAbsArg& operator=(Double_t newValue)
                  RooAbsArg& operator=(Int_t ival)
                       Int_t getBin() const
                       Int_t numBins() const
                    Double_t getBinWidth(Int_t i) const
        const RooAbsBinning& getBinning(const char* name = "0", Bool_t verbose = kTRUE, Bool_t createOnTheFly = kFALSE) const
              RooAbsBinning& getBinning(const char* name = "0", Bool_t verbose = kTRUE, Bool_t createOnTheFly = kFALSE)
                      Bool_t hasBinning(const char* name) const
                    Double_t getMin(const char* name = "0") const
                    Double_t getMax(const char* name = "0") const
                       Int_t getBins(const char* name = "0") const
                      Bool_t hasMin(const char* name = "0") const
                      Bool_t hasMax(const char* name = "0") const
                      Bool_t hasRange(const char* name) const
                    Double_t jacobian() const
                      Bool_t isLValue() const
                        void setConstant(Bool_t value = kTRUE)
                    RooPlot* frame() const
                        TH1* createHistogram(const char* name, RooArgList& vars, const char* tAxisLabel, const RooAbsBinning** bins)
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)


Last update: Tue Jun 28 18:10:19 2005
Copyright (c) 2000-2005, Regents of the University of California *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.