RooLinearVar is the most general form of a derived real-valued object that can be used by RooRealIntegral to integrate over.
The requirements for this are
This class implements the most general form that satisfies these requirements
\[ RLV = \mathrm{slope} \cdot x + \mathrm{offset} \]
\( x \) is required to be a RooRealVar to meet the invertibility criterium, slope and offset are RooAbsReals, but cannot overlap with \( x \), i.e., \( x \) may not be a server of slope and offset.
In the context of a dataset, slope may not contain any real-valued dependents (to satisfyt the constant Jacobian requirement). This check cannot be enforced at construction time, but can be performed at run time through the isJacobianOK(depList) member function.
Definition at line 29 of file RooLinearVar.h.
Public Types | |
| enum | { kSingleKey = (1ULL << (0)) , kOverwrite = (1ULL << (1)) , kWriteDelete = (1ULL << (2)) } |
| enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
| enum | CacheMode { Always = 0 , NotAdvised = 1 , Never = 2 } |
| enum | ConstOpCode { Activate = 0 , DeActivate = 1 , ConfigChange = 2 , ValueChange = 3 } |
| enum | ContentsOption { kName =1 , kClassName =2 , kValue =4 , kArgs =8 , kExtras =16 , kAddress =32 , kTitle =64 , kCollectionHeader =128 } |
| enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << (3)) } |
| enum | ErrorLoggingMode { PrintErrors , CollectErrors , CountErrors , Ignore } |
| enum | EStatusBits { kCanDelete = (1ULL << (0)) , kMustCleanup = (1ULL << (3)) , kIsReferenced = (1ULL << (4)) , kHasUUID = (1ULL << (5)) , kCannotPick = (1ULL << (6)) , kNoContextMenu = (1ULL << (8)) , kInvalidObject = (1ULL << (13)) } |
| enum | OperMode { Auto = 0 , AClean = 1 , ADirty = 2 } |
| using | RefCountList_t = RooSTLRefCountList<RooAbsArg> |
| using | RefCountListLegacyIterator_t = TIteratorToSTLInterface<RefCountList_t::Container_t> |
| enum | ScaleType { Raw , Relative , NumEvent , RelativeExpected } |
| enum | StyleOption { kInline =1 , kSingleLine =2 , kStandard =3 , kVerbose =4 , kTreeStructure =5 } |
| using | value_type = double |
Public Member Functions | |
| RooLinearVar () | |
| RooLinearVar (const char *name, const char *title, RooAbsRealLValue &variable, const RooAbsReal &slope, const RooAbsReal &offset, const char *unit="") | |
| Constructor with RooAbsRealLValue variable and RooAbsReal slope and offset. | |
| RooLinearVar (const RooLinearVar &other, const char *name=nullptr) | |
| Copy constructor. | |
| ~RooLinearVar () override | |
| Destructor. | |
| void | AbstractMethod (const char *method) const |
| Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it. | |
| bool | addOwnedComponents (const RooAbsCollection &comps) |
| Take ownership of the contents of 'comps'. | |
| bool | addOwnedComponents (RooAbsCollection &&comps) |
| Take ownership of the contents of 'comps'. | |
| bool | addOwnedComponents (RooArgList &&comps) |
| Take ownership of the contents of 'comps'. | |
| template<typename... Args_t> | |
| bool | addOwnedComponents (std::unique_ptr< Args_t >... comps) |
| virtual double | analyticalIntegral (Int_t code, const char *rangeName=nullptr) const |
| Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. | |
| virtual double | analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=nullptr) const |
| Implements the actual analytical integral(s) advertised by getAnalyticalIntegral. | |
| virtual void | AppendPad (Option_t *option="") |
| Append graphics object to current pad. | |
| virtual void | applyWeightSquared (bool flag) |
| Disables or enables the usage of squared weights. | |
| TF1 * | asTF (const RooArgList &obs, const RooArgList &pars=RooArgList(), const RooArgSet &nset=RooArgSet()) const |
| Return a ROOT TF1,2,3 object bound to this RooAbsReal with given definition of observables and parameters. | |
| void | attachArgs (const RooAbsCollection &set) |
| Bind this node to objects in set. | |
| void | attachDataSet (const RooAbsData &set) |
| Replace server nodes with names matching the dataset variable names with those data set variables, making this PDF directly dependent on the dataset. | |
| void | attachDataStore (const RooAbsDataStore &set) |
| Replace server nodes with names matching the dataset variable names with those data set variables, making this PDF directly dependent on the dataset. | |
| const std::set< std::string > & | attributes () const |
| virtual std::list< double > * | binBoundaries (RooAbsRealLValue &obs, double xlo, double xhi) const |
| Retrieve bin boundaries if this distribution is binned in obs. | |
| RooFit::OwningPtr< RooAbsFunc > | bindVars (const RooArgSet &vars, const RooArgSet *nset=nullptr, bool clipInvalid=false) const |
| Create an interface adaptor f(vars) that binds us to the specified variables (in arbitrary order). | |
| virtual void | Browse (TBrowser *b) |
| Browse object. May be overridden for another default action. | |
| virtual bool | canComputeBatchWithCuda () const |
| ULong_t | CheckedHash () |
| Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
| virtual bool | checkObservables (const RooArgSet *nset) const |
| Overloadable function in which derived classes can implement consistency checks of the variables. | |
| template<typename... CmdArgs_t> | |
| RooFit::OwningPtr< RooFitResult > | chi2FitTo (RooDataHist &data, CmdArgs_t const &... cmdArgs) |
| Calls RooAbsReal::createChi2 and returns the fit result. | |
| virtual const char * | ClassName () const |
| Returns name of class to which the object belongs. | |
| void | Clear (Option_t *option="") override |
| Set name and title to empty strings (""). | |
| TObject * | Clone (const char *newname=nullptr) const override |
| Make a clone of an object using the Streamer facility. | |
| TObject * | clone (const char *newname=nullptr) const override |
| virtual RooAbsArg * | cloneTree (const char *newname=nullptr) const |
| Clone tree expression of objects. | |
| Int_t | Compare (const TObject *other) const override |
| Utility function used by TCollection::Sort to compare contained TObjects We implement comparison by name, resulting in alphabetical sorting by object name. | |
| virtual std::unique_ptr< RooAbsArg > | compileForNormSet (RooArgSet const &normSet, RooFit::Detail::CompileContext &ctx) const |
| void | Copy (TObject &named) const override |
| Copy this to obj. | |
| template<typename... CmdArgs_t> | |
| RooFit::OwningPtr< RooAbsReal > | createChi2 (RooDataHist &data, CmdArgs_t const &... cmdArgs) |
| Create a \( \chi^2 \) variable from a histogram and this function. | |
| RooFit::OwningPtr< RooAbsArg > | createFundamental (const char *newname=nullptr) const override |
| Create a RooRealVar fundamental object with our properties. | |
| TH1 * | createHistogram (const char *name, const RooAbsRealLValue &xvar, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const |
| Create and fill a ROOT histogram TH1, TH2 or TH3 with the values of this function. | |
| TH1 * | createHistogram (const char *name, const RooAbsRealLValue &xvar, RooLinkedList &argList) const |
| Internal method implementing createHistogram. | |
| TH1 * | createHistogram (RooStringView varNameList, Int_t xbins=0, Int_t ybins=0, Int_t zbins=0) const |
| Create and fill a ROOT histogram TH1, TH2 or TH3 with the values of this function for the variables with given names. | |
| TH1F * | createHistogram (const char *name, const char *yAxisLabel) const |
| Create an empty 1D-histogram with appropriate scale and labels for this variable. | |
| 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. | |
| TH1F * | createHistogram (const char *name, const char *yAxisLabel, double xlo, double xhi, Int_t nBins) 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, const RooAbsBinning **bins) const |
| Create an empty 2D-histogram with appropriate scale and labels for this variable (x) and the specified y variable. | |
| TH2F * | createHistogram (const char *name, const RooAbsRealLValue &yvar, const char *zAxisLabel=nullptr, double *xlo=nullptr, double *xhi=nullptr, Int_t *nBins=nullptr) 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, const RooAbsBinning **bins) const |
| TH3F * | createHistogram (const char *name, const RooAbsRealLValue &yvar, const RooAbsRealLValue &zvar, const char *tAxisLabel, double *xlo=nullptr, double *xhi=nullptr, Int_t *nBins=nullptr) 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, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const |
| TH1 * | createHistogram (const char *name, const RooLinkedList &cmdList) const |
| Create empty 1,2 or 3D histogram Arguments recognized. | |
| RooFit::OwningPtr< RooAbsReal > | createIntegral (const RooArgSet &iset, const char *rangeName) const |
| Create integral over observables in iset in range named rangeName. | |
| RooFit::OwningPtr< RooAbsReal > | createIntegral (const RooArgSet &iset, const RooArgSet &nset, const char *rangeName=nullptr) const |
| Create integral over observables in iset in range named rangeName with integrand normalized over observables in nset. | |
| RooFit::OwningPtr< RooAbsReal > | createIntegral (const RooArgSet &iset, const RooArgSet &nset, const RooNumIntConfig &cfg, const char *rangeName=nullptr) const |
| Create integral over observables in iset in range named rangeName with integrand normalized over observables in nset while using specified configuration for any numeric integration. | |
| RooFit::OwningPtr< RooAbsReal > | createIntegral (const RooArgSet &iset, const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const |
| Create an object that represents the integral of the function over one or more observables listed in iset. | |
| RooFit::OwningPtr< RooAbsReal > | createIntegral (const RooArgSet &iset, const RooNumIntConfig &cfg, const char *rangeName=nullptr) const |
| Create integral over observables in iset in range named rangeName using specified configuration for any numeric integration. | |
| RooFit::OwningPtr< RooAbsReal > | createIntegral (const RooArgSet &iset, const RooArgSet *nset=nullptr, const RooNumIntConfig *cfg=nullptr, const char *rangeName=nullptr) const override |
| Create an object that represents the integral of the function over one or more observables listed in iset. | |
| RooFit::OwningPtr< RooAbsReal > | createIntRI (const RooArgSet &iset, const RooArgSet &nset={}) |
| Utility function for createRunningIntegral. | |
| const RooAbsReal * | createPlotProjection (const RooArgSet &dependentVars, const RooArgSet *projectedVars, RooArgSet *&cloneSet, const char *rangeName=nullptr, const RooArgSet *condObs=nullptr) const |
| Utility function for plotOn() that creates a projection of a function or p.d.f to be plotted on a RooPlot. | |
| const RooAbsReal * | createPlotProjection (const RooArgSet &depVars, const RooArgSet &projVars, RooArgSet *&cloneSet) const |
| Utility function for plotOn() that creates a projection of a function or p.d.f to be plotted on a RooPlot. | |
| virtual RooFit::OwningPtr< RooAbsReal > | createProfile (const RooArgSet ¶msOfInterest) |
| Create a RooProfileLL object that eliminates all nuisance parameters in the present function. | |
| RooFit::OwningPtr< RooAbsReal > | createRunningIntegral (const RooArgSet &iset, const RooArgSet &nset={}) |
| Calls createRunningIntegral(const RooArgSet&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&). | |
| RooFit::OwningPtr< RooAbsReal > | createRunningIntegral (const RooArgSet &iset, const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) |
| Create an object that represents the running integral of the function over one or more observables listed in iset, i.e. | |
| RooFit::OwningPtr< RooAbsReal > | createScanRI (const RooArgSet &iset, const RooArgSet &nset, Int_t numScanBins, Int_t intOrder) |
| Utility function for createRunningIntegral that construct an object implementing the numeric scanning technique for calculating the running integral. | |
| std::size_t | dataToken () const |
| Returns the token for retrieving results in the BatchMode. For internal use only. | |
| virtual double | defaultErrorLevel () const |
| Int_t | defaultPrintContents (Option_t *opt) const override |
| Define default contents to print. | |
| virtual StyleOption | defaultPrintStyle (Option_t *opt) const |
| virtual void | Delete (Option_t *option="") |
| Delete this object. | |
| bool | dependsOn (const RooAbsArg &server, const RooAbsArg *ignoreArg=nullptr, bool valueOnly=false) const |
| Test whether we depend on (ie, are served by) the specified object. | |
| bool | dependsOn (const RooAbsCollection &serverList, const RooAbsArg *ignoreArg=nullptr, bool valueOnly=false) const |
| Test whether we depend on (ie, are served by) any object in the specified collection. | |
| bool | dependsOn (TNamed const *namePtr, const RooAbsArg *ignoreArg=nullptr, bool valueOnly=false) const |
| Test whether we depend on (ie, are served by) an object with a specific name. | |
| bool | dependsOnValue (const RooAbsArg &server, const RooAbsArg *ignoreArg=nullptr) const |
| Check whether this object depends on values served from the object passed as server. | |
| bool | dependsOnValue (const RooAbsCollection &serverList, const RooAbsArg *ignoreArg=nullptr) const |
| Check whether this object depends on values from an element in the serverList. | |
| RooDerivative * | derivative (RooRealVar &obs, const RooArgSet &normSet, Int_t order, double eps=0.001) |
| Return function representing first, second or third order derivative of this function. | |
| RooDerivative * | derivative (RooRealVar &obs, Int_t order=1, double eps=0.001) |
| Return function representing first, second or third order derivative of this function. | |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| Computes distance from point (px,py) to the object. | |
| virtual void | doEval (RooFit::EvalContext &) const |
| Base function for computing multiple values of a RooAbsReal. | |
| virtual void | Draw (Option_t *option="") |
| Default Draw method for all objects. | |
| virtual void | DrawClass () const |
| Draw class inheritance tree of the class to which this object belongs. | |
| virtual TObject * | DrawClone (Option_t *option="") const |
| Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1). | |
| virtual void | Dump () const |
| Dump contents of object on stdout. | |
| virtual void | enableOffsetting (bool) |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| Issue error message. | |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| Execute method on this object with the given parameter string, e.g. | |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| Execute method on this object with parameters stored in the TObjArray. | |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| Execute action corresponding to an event at (px,py). | |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| Issue fatal error message. | |
| virtual void | FillBuffer (char *&buffer) |
| Encode TNamed into output buffer. | |
| RooDataHist * | fillDataHist (RooDataHist *hist, const RooArgSet *nset, double scaleFactor, bool correctForBinVolume=false, bool showProgress=false) const |
| Fill a RooDataHist with values sampled from this function at the bin centers. | |
| TH1 * | fillHistogram (TH1 *hist, const RooArgList &plotVars, double scaleFactor=1, const RooArgSet *projectedVars=nullptr, bool scaling=true, const RooArgSet *condObs=nullptr, bool setError=true) const |
| Fill the ROOT histogram 'hist' with values sampled from this function at the bin centers. | |
| virtual TObject * | FindObject (const char *name) const |
| Must be redefined in derived classes. | |
| virtual TObject * | FindObject (const TObject *obj) const |
| Must be redefined in derived classes. | |
| double | findRoot (RooRealVar &x, double xmin, double xmax, double yval) |
| Return value of x (in range xmin,xmax) at which function equals yval. | |
| virtual void | fixAddCoefNormalization (const RooArgSet &addNormSet=RooArgSet(), bool force=true) |
| Fix the interpretation of the coefficient of any RooAddPdf component in the expression tree headed by this object to the given set of observables. | |
| virtual void | fixAddCoefRange (const char *rangeName=nullptr, bool force=true) |
| Fix the interpretation of the coefficient of any RooAddPdf component in the expression tree headed by this object to the given set of observables. | |
| virtual bool | forceAnalyticalInt (const RooAbsArg &) const |
| virtual void | forceNumInt (bool flag=true) |
| RooPlot * | frame () const |
| Create a new RooPlot on the heap with a drawing frame initialized for this object, but no plot contents. | |
| RooPlot * | frame (const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const |
| Create a new RooPlot on the heap with a drawing frame initialized for this object, but no plot contents. | |
| RooPlot * | frame (const RooLinkedList &cmdList) const |
| Back-end function for named argument frame() method. | |
| RooPlot * | frame (double lo, double hi) const |
| Create a new RooPlot on the heap with a drawing frame initialized for this object, but no plot contents. | |
| RooPlot * | frame (double lo, double hi, Int_t nbins) const |
| Create a new RooPlot on the heap with a drawing frame initialized for this object, but no plot contents. | |
| 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. | |
| RooFunctor * | functor (const RooArgList &obs, const RooArgList &pars=RooArgList(), const RooArgSet &nset=RooArgSet()) const |
| Return a RooFunctor object bound to this RooAbsReal with given definition of observables and parameters. | |
| virtual Int_t | getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const |
| Interface function getAnalyticalIntergral advertises the analytical integrals that are supported. | |
| virtual Int_t | getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=nullptr) const |
| Variant of getAnalyticalIntegral that is also passed the normalization set that should be applied to the integrand of which the integral is requested. | |
| bool | getAttribute (const Text_t *name) const |
| Check if a named attribute is set. By default, all attributes are unset. | |
| Int_t | getBin (const char *rangeName=nullptr) const override |
| virtual Int_t | getBin (const RooAbsBinning &binning) const |
| Int_t | getBin (const RooAbsBinning *ptr) const override |
| const RooAbsBinning & | getBinning (const char *name=nullptr, bool verbose=true, bool createOnTheFly=false, bool shared=true) const override |
| Const version of getBinning(). | |
| RooAbsBinning & | getBinning (const char *name=nullptr, bool verbose=true, bool createOnTheFly=false, bool shared=true) override |
| Retrieve binning of this linear transformation. | |
| std::list< std::string > | getBinningNames () const override |
| Get a list of all binning names. | |
| const RooAbsBinning * | getBinningPtr (const char *rangeName) const override |
| virtual Int_t | getBins (const char *name=nullptr) const |
| Get number of bins of currently defined range. | |
| double | getBinWidth (Int_t i, const char *rangeName=nullptr) const override |
| virtual double | getBinWidth (Int_t i, const RooAbsBinning &binning) const |
| RooFit::OwningPtr< RooArgSet > | getComponents () const |
| Create a RooArgSet with all components (branch nodes) of the expression tree headed by this object. | |
| virtual Option_t * | GetDrawOption () const |
| Get option used by the graphics system to draw this object. | |
| bool | getForceNumInt () const |
| virtual const char * | GetIconName () const |
| Returns mime type name of object. | |
| RooNumIntConfig * | getIntegratorConfig () |
| Return the numeric integration configuration used for this object. | |
| const RooNumIntConfig * | getIntegratorConfig () const |
| Return the numeric integration configuration used for this object. | |
| virtual double | getMax (const char *name=nullptr) const |
| Get maximum of currently defined range. | |
| virtual Int_t | getMaxVal (const RooArgSet &vars) const |
| Advertise capability to determine maximum value of function for given set of observables. | |
| virtual double | getMin (const char *name=nullptr) const |
| Get minimum of currently defined range. | |
| const char * | GetName () const override |
| Returns name of object. | |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| Returns string containing info about the object at position (px,py). | |
| bool | getObservables (const RooAbsCollection *depList, RooArgSet &outputSet, bool valueOnly=true) const |
| Create a list of leaf nodes in the arg tree starting with ourself as top node that match any of the names the args in the supplied argset. | |
| RooFit::OwningPtr< RooArgSet > | getObservables (const RooAbsData &data) const |
| Return the observables of this pdf given the observables defined by data. | |
| RooFit::OwningPtr< RooArgSet > | getObservables (const RooAbsData *data) const |
| Create a list of leaf nodes in the arg tree starting with ourself as top node that match any of the names of the variable list of the supplied data set (the dependents). | |
| RooFit::OwningPtr< RooArgSet > | getObservables (const RooArgSet &set, bool valueOnly=true) const |
| Given a set of possible observables, return the observables that this PDF depends on. | |
| RooFit::OwningPtr< RooArgSet > | getObservables (const RooArgSet *depList, bool valueOnly=true) const |
| Create a list of leaf nodes in the arg tree starting with ourself as top node that match any of the names the args in the supplied argset. | |
| virtual Option_t * | GetOption () const |
| RooFit::OwningPtr< RooArgSet > | getParameters (const RooAbsData &data, bool stripDisconnected=true) const |
| Return the parameters of this p.d.f when used in conjunction with dataset 'data'. | |
| RooFit::OwningPtr< RooArgSet > | getParameters (const RooAbsData *data, bool stripDisconnected=true) const |
| Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of the names of the variable list of the supplied data set (the dependents). | |
| RooFit::OwningPtr< RooArgSet > | getParameters (const RooArgSet &observables, bool stripDisconnected=true) const |
| Return the parameters of the p.d.f given the provided set of observables. | |
| RooFit::OwningPtr< RooArgSet > | getParameters (const RooArgSet *observables, bool stripDisconnected=true) const |
| Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of the names the args in the supplied argset. | |
| virtual bool | getParameters (const RooArgSet *observables, RooArgSet &outputSet, bool stripDisconnected=true) const |
| Fills a list with leaf nodes in the arg tree starting with ourself as top node that don't match any of the names the args in the supplied argset. | |
| const char * | getPlotLabel () const |
| Get the label associated with the variable. | |
| double | getPropagatedError (const RooFitResult &fr, const RooArgSet &nset={}) const |
| Propagates parameter uncertainties to an uncertainty estimate for this RooAbsReal. | |
| RooAbsProxy * | getProxy (Int_t index) const |
| Return the nth proxy from the proxy list. | |
| std::pair< double, double > | getRange (const char *name=nullptr) const |
| Get low and high bound of the variable. | |
| const Text_t * | getStringAttribute (const Text_t *key) const |
| Get string attribute mapped under key 'key'. | |
| const char * | GetTitle () const override |
| Returns title of object. | |
| TString | getTitle (bool appendUnit=false) const |
| Return this variable's title string. | |
| bool | getTransientAttribute (const Text_t *name) const |
| Check if a named attribute is set. | |
| virtual UInt_t | GetUniqueID () const |
| Return the unique object id. | |
| const Text_t * | getUnit () const |
| double | getVal (const RooArgSet &normalisationSet) const |
| Like getVal(const RooArgSet*), but always requires an argument for normalisation. | |
| double | getVal (const RooArgSet *normalisationSet=nullptr) const |
| Evaluate object. | |
| double | getVal (RooArgSet &&) const |
| Calling RooAbsReal::getVal() with an r-value reference is a common performance trap, because this usually happens when implicitly constructing the RooArgSet to be used as the parameter (for example, in calls like pdf.getVal(x)). | |
| virtual double | getValV (const RooArgSet *normalisationSet=nullptr) const |
| Return value of object. | |
| RooFit::OwningPtr< RooArgSet > | getVariables (bool stripDisconnected=true) const |
| Return RooArgSet with all variables (tree leaf nodes of expression tree). | |
| virtual void | gradient (double *) const |
| void | graphVizTree (const char *fileName, const char *delimiter="\n", bool useTitle=false, bool useLatex=false) |
| Create a GraphViz .dot file visualizing the expression tree headed by this RooAbsArg object. | |
| void | graphVizTree (std::ostream &os, const char *delimiter="\n", bool useTitle=false, bool useLatex=false) |
| Write the GraphViz representation of the expression tree headed by this RooAbsArg object to the given ostream. | |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| Execute action in response of a timer timing out. | |
| bool | hasBinning (const char *name) const override |
| Returns true if binning with given name exists.If a given binning exists on the input variable, it will also exists on this linear transformation. | |
| bool | hasClients () const |
| bool | hasDataToken () const |
| virtual bool | hasGradient () const |
| ULong_t | Hash () const override |
| Return hash value for this object. | |
| virtual bool | hasHessian () const |
| Bool_t | HasInconsistentHash () const |
| Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
| bool | hasMax (const char *name=nullptr) const |
| Check if variable has an upper bound. | |
| bool | hasMin (const char *name=nullptr) const |
| Check if variable has a lower bound. | |
| bool | hasRange (const char *name) const override |
| Check if variable has a binning with given name. | |
| virtual void | hessian (double *) const |
| virtual bool | importWorkspaceHook (RooWorkspace &ws) |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| Issue info message. | |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| Returns kTRUE if object inherits from class "classname". | |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| Returns kTRUE if object inherits from TClass cl. | |
| bool | inRange (const char *name) const override |
| Check if current value is inside range with given name. | |
| bool | inRange (double value, const char *rangeName, double *clippedValue=nullptr) const |
| Return true if the input value is within our fit range. | |
| void | inRange (std::span< const double > values, std::string const &rangeName, std::vector< bool > &out) const |
| Vectorized version of RooAbsRealLValue::inRange(double, const char*, double*). | |
| virtual void | Inspect () const |
| Dump contents of this object in a graphics canvas. | |
| void | InvertBit (UInt_t f) |
| TClass * | IsA () const override |
| virtual bool | isBinnedDistribution (const RooArgSet &) const |
| Tests if the distribution is binned. Unless overridden by derived classes, this always returns false. | |
| virtual bool | isCategory () const |
| bool | isConstant () const |
| Check if the "Constant" attribute is set. | |
| virtual bool | isDerived () const |
| Does value or shape of this arg depend on any other arg? | |
| Bool_t | IsDestructed () const |
| IsDestructed. | |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| Default equal comparison (objects are equal if they have the same address in memory). | |
| virtual Bool_t | IsFolder () const |
| Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
| bool | isIdentical (const RooAbsArg &other, bool assumeSameType=false) const override |
| bool | isJacobianOK (const RooArgSet &depList) const override |
| Returns true if Jacobian term associated with current expression tree is indeed constant. | |
| bool | isLValue () const override |
| Is this argument an l-value, i.e., can it appear on the left-hand side of an assignment expression? | |
| virtual bool | isOffsetting () const |
| Bool_t | IsOnHeap () const |
| virtual bool | isReducerNode () const |
| bool | isSelectedComp () const |
| If true, the current pdf is a selected component (for use in plotting). | |
| bool | IsSortable () const override |
| bool | isValidReal (double value, bool printError=false) const override |
| Check if given value is valid. | |
| Bool_t | IsZombie () const |
| double | jacobian () const override |
| Return value of Jacobian associated with the transformation. | |
| bool | localNoDirtyInhibit () const |
| void | logEvalError (const char *message, const char *serverValueString=nullptr) const |
| Log evaluation error message. | |
| void | ls (Option_t *option="") const override |
| List TNamed name and title. | |
| virtual double | maxVal (Int_t code) const |
| Return maximum value for set of observables identified by code assigned in getMaxVal. | |
| void | MayNotUse (const char *method) const |
| Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). | |
| RooAbsMoment * | mean (RooRealVar &obs) |
| RooAbsMoment * | mean (RooRealVar &obs, const RooArgSet &nset) |
| virtual Int_t | minTrialSamples (const RooArgSet &) const |
| RooAbsMoment * | moment (RooRealVar &obs, const RooArgSet &normObs, Int_t order, bool central, bool takeRoot, bool intNormObs) |
| Return function representing moment of p.d.f (normalized w.r.t given observables) of given order. | |
| RooAbsMoment * | moment (RooRealVar &obs, Int_t order, bool central, bool takeRoot) |
| Return function representing moment of function of given order. | |
| const TNamed * | namePtr () const |
| De-duplicated pointer to this object's name. | |
| virtual Bool_t | Notify () |
| This method must be overridden to handle object notification (the base implementation is no-op). | |
| Int_t | numBins (const char *rangeName=nullptr) const override |
| virtual Int_t | numBins (const RooAbsBinning &binning) const |
| Int_t | numProxies () const |
| Return the number of registered proxies. | |
| bool | observableOverlaps (const RooAbsData *dset, const RooAbsArg &testArg) const |
| Test if any of the dependents of the arg tree (as determined by getObservables) overlaps with those of the testArg. | |
| bool | observableOverlaps (const RooArgSet *depList, const RooAbsArg &testArg) const |
| Test if any of the dependents of the arg tree (as determined by getObservables) overlaps with those of the testArg. | |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| Use this method to declare a method obsolete. | |
| virtual double | offset () const |
| void | operator delete (void *, size_t) |
| Operator delete for sized deallocation. | |
| void | operator delete (void *ptr) |
| Operator delete. | |
| void | operator delete (void *ptr, void *vp) |
| Only called by placement new when throwing an exception. | |
| void | operator delete[] (void *, size_t) |
| Operator delete [] for sized deallocation. | |
| void | operator delete[] (void *ptr) |
| Operator delete []. | |
| void | operator delete[] (void *ptr, void *vp) |
| Only called by placement new[] when throwing an exception. | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| virtual RooAbsArg & | operator= (double newValue) |
| Assignment operator from a double. | |
| bool | operator== (const RooAbsArg &other) const override |
| Equality operator when comparing to another RooAbsArg. | |
| bool | operator== (double value) const |
| Equality operator comparing to a double. | |
| bool | overlaps (const RooAbsArg &testArg, bool valueOnly=false) const |
| Test if any of the nodes of tree are shared with that of the given tree. | |
| const RooArgSet * | ownedComponents () const |
| virtual void | Paint (Option_t *option="") |
| This method must be overridden if a class wants to paint itself. | |
| virtual RooPlot * | plotOn (RooPlot *frame, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}, const RooCmdArg &arg9={}, const RooCmdArg &arg10={}) const |
| Plot (project) PDF on specified frame. | |
| virtual RooPlot * | plotOn (RooPlot *frame, RooLinkedList &cmdList) const |
| Internal back-end function of plotOn() with named arguments. | |
| virtual std::list< double > * | plotSamplingHint (RooAbsRealLValue &obs, double xlo, double xhi) const |
| Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable obs. | |
| virtual void | Pop () |
| Pop on object drawn in a pad to the top of the display list. | |
| virtual void | preferredObservableScanOrder (const RooArgSet &obs, RooArgSet &orderedObs) const |
| Interface method for function objects to indicate their preferred order of observables for scanning their values into a (multi-dimensional) histogram or RooDataSet. | |
| void | Print (Option_t *options=nullptr) const override |
| Print the object to the defaultPrintStream(). | |
| void | printAddress (std::ostream &os) const override |
| Print address of this RooAbsArg. | |
| void | printArgs (std::ostream &os) const override |
| Print object arguments, ie its proxies. | |
| void | printClassName (std::ostream &os) const override |
| Print object class name. | |
| void | printCompactTree (const char *indent="", const char *fileName=nullptr, const char *namePat=nullptr, RooAbsArg *client=nullptr) |
| Print tree structure of expression tree on stdout, or to file if filename is specified. | |
| void | printCompactTree (std::ostream &os, const char *indent="", const char *namePat=nullptr, RooAbsArg *client=nullptr) |
| Print tree structure of expression tree on given ostream. | |
| virtual void | printCompactTreeHook (std::ostream &os, const char *ind="") |
| Hook function interface for object to insert additional information when printed in the context of a tree structure. | |
| void | printComponentTree (const char *indent="", const char *namePat=nullptr, Int_t nLevel=999) |
| Print tree structure of expression tree on given ostream, only branch nodes are printed. | |
| void | printDirty (bool depth=true) const |
| Print information about current value dirty state information. | |
| virtual void | printExtras (std::ostream &os) const |
| Interface to print extras of object. | |
| virtual void | printMetaArgs (std::ostream &) const |
| void | printMultiline (std::ostream &os, Int_t contents, bool verbose=false, TString indent="") const override |
| Structure printing. | |
| void | printName (std::ostream &os) const override |
| Print object name. | |
| virtual void | printStream (std::ostream &os, Int_t contents, StyleOption style, TString indent="") const |
| Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'. | |
| void | printTitle (std::ostream &os) const override |
| Print object title. | |
| void | printTree (std::ostream &os, TString indent="") const override |
| Print object tree structure. | |
| void | printValue (std::ostream &os) const override |
| Print object value. | |
| void | randomize (const char *rangeName=nullptr) override |
| Set a new value sampled from a uniform distribution over the fit range. | |
| virtual void | randomize (const RooAbsBinning &binning) |
| Set a new value sampled from a uniform distribution over the fit range. | |
| virtual Int_t | Read (const char *name) |
| Read contents of object with specified name from the current directory. | |
| bool | readFromStream (std::istream &is, bool compact, bool verbose=false) override |
| Read object contents from stream. | |
| bool | recursiveCheckObservables (const RooArgSet *nset) const |
| Recursively call checkObservables on all nodes in the expression tree. | |
| virtual void | RecursiveRemove (TObject *obj) |
| Recursively remove this object from a list. | |
| void | removeStringAttribute (const Text_t *key) |
| Delete a string attribute with a given key. | |
| void | ResetBit (UInt_t f) |
| void | resetDataToken () |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| Save this object in the file specified by filename. | |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| Save a primitive as a C++ statement(s) on output stream "out". | |
| void | selectComp (bool flag) |
| void | setAttribute (const Text_t *name, bool value=true) |
| Set (default) or clear a named boolean attribute of this object. | |
| void | setBin (Int_t ibin, const char *rangeName=nullptr) override |
| Set value to center of bin 'ibin' of binning 'rangeName' (or of default binning if no range is specified). | |
| virtual void | setBin (Int_t ibin, const RooAbsBinning &binning) |
| Set value to center of bin 'ibin' of binning 'binning'. | |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| Set or unset the user status bits as specified in f. | |
| void | setCachedValue (double value, bool notifyClients=true) final |
| Overwrite the value stored in this object's cache. | |
| void | setConstant (bool value=true) |
| virtual bool | setData (RooAbsData &, bool=true) |
| void | setDataToken (std::size_t index) |
| Sets the token for retrieving results in the BatchMode. For internal use only. | |
| virtual void | SetDrawOption (Option_t *option="") |
| Set drawing option for object. | |
| void | setIntegratorConfig () |
| Remove the specialized numeric integration configuration associated with this object. | |
| void | setIntegratorConfig (const RooNumIntConfig &config) |
| Set the given integrator configuration as default numeric integration configuration for this object. | |
| void | setLocalNoDirtyInhibit (bool flag) const |
| void | SetName (const char *name) override |
| Set the name of the TNamed. | |
| void | SetNameTitle (const char *name, const char *title) override |
| Set all the TNamed parameters (name and title). | |
| void | setParameterizeIntegral (const RooArgSet ¶mVars) |
| void | setPlotLabel (const char *label) |
| Set the label associated with this variable. | |
| void | setProhibitServerRedirect (bool flag) |
| void | setStringAttribute (const Text_t *key, const Text_t *value) |
| Associate string 'value' to this object under key 'key'. | |
| virtual void | SetTitle (const char *title="") |
| Set the title of the TNamed. | |
| void | setTransientAttribute (const Text_t *name, bool value=true) |
| Set (default) or clear a named boolean attribute of this object. | |
| virtual void | SetUniqueID (UInt_t uid) |
| Set the unique object id. | |
| void | setUnit (const char *unit) |
| void | setVal (double value) override |
| Assign given value to linear transformation: sets input variable to (value-offset)/slope If slope is zerom an error message is printed and no assignment is made. | |
| virtual void | setVal (double value, const char *) |
| Set the current value of the object. | |
| void | setWorkspace (RooWorkspace &ws) |
| RooAbsMoment * | sigma (RooRealVar &obs) |
| RooAbsMoment * | sigma (RooRealVar &obs, const RooArgSet &nset) |
| virtual Int_t | Sizeof () const |
| Return size of the TNamed part of the TObject. | |
| RooNumIntConfig * | specialIntegratorConfig () const |
| Returns the specialized integrator configuration for this RooAbsReal. | |
| RooNumIntConfig * | specialIntegratorConfig (bool createOnTheFly) |
| Returns the specialized integrator configuration for this RooAbsReal. | |
| void | Streamer (TBuffer &) override |
| Stream an object of class RooAbsArg. | |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| const std::map< std::string, std::string > & | stringAttributes () const |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| Issue system error message. | |
| Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| const std::set< std::string > & | transientAttributes () const |
| virtual void | UseCurrentStyle () |
| Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. | |
| double | volume (const char *rangeName) const override |
| virtual double | volume (const RooAbsBinning &binning) const |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| Issue warning message. | |
| RooWorkspace * | workspace () const |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| Write this object to the current directory. | |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
| Write this object to the current directory. | |
| void | writeToStream (std::ostream &os, bool compact) const override |
| Write object contents to stream. | |
Client-Server Interface | |
| const RefCountList_t & | clients () const |
| List of all clients of this object. | |
| const RefCountList_t & | valueClients () const |
| List of all value clients of this object. Value clients receive value updates. | |
| const RefCountList_t & | shapeClients () const |
| List of all shape clients of this object. | |
| const RefCountList_t & | servers () const |
| List of all servers of this object. | |
| RooAbsArg * | findServer (const char *name) const |
| Return server of this with name name. Returns nullptr if not found. | |
| RooAbsArg * | findServer (const RooAbsArg &arg) const |
| Return server of this that has the same name as arg. Returns nullptr if not found. | |
| RooAbsArg * | findServer (Int_t index) const |
| Return i-th server from server list. | |
| bool | isValueServer (const RooAbsArg &arg) const |
| Check if this is serving values to arg. | |
| bool | isValueServer (const char *name) const |
| Check if this is serving values to an object with name name. | |
| bool | isShapeServer (const RooAbsArg &arg) const |
| Check if this is serving shape to arg. | |
| bool | isShapeServer (const char *name) const |
| Check if this is serving shape to an object with name name. | |
| void | leafNodeServerList (RooAbsCollection *list, const RooAbsArg *arg=nullptr, bool recurseNonDerived=false) const |
| Fill supplied list with all leaf nodes of the arg tree, starting with ourself as top node. | |
| void | branchNodeServerList (RooAbsCollection *list, const RooAbsArg *arg=nullptr, bool recurseNonDerived=false) const |
| Fill supplied list with all branch nodes of the arg tree starting with ourself as top node. | |
| void | treeNodeServerList (RooAbsCollection *list, const RooAbsArg *arg=nullptr, bool doBranch=true, bool doLeaf=true, bool valueOnly=false, bool recurseNonDerived=false) const |
| Fill supplied list with nodes of the arg tree, following all server links, starting with ourself as top node. | |
| virtual bool | isFundamental () const |
| Is this object a fundamental type that can be added to a dataset? | |
| bool | redirectServers (const RooAbsCollection &newServerList, bool mustReplaceAll=false, bool nameChange=false, bool isRecursionStep=false) |
| Replace all direct servers of this object with the new servers in newServerList. | |
| bool | redirectServers (std::unordered_map< RooAbsArg *, RooAbsArg * > const &replacements) |
| Replace some servers of this object. | |
| bool | recursiveRedirectServers (const RooAbsCollection &newSet, bool mustReplaceAll=false, bool nameChange=false, bool recurseInNewSet=true) |
| Recursively replace all servers with the new servers in newSet. | |
| virtual void | serverNameChangeHook (const RooAbsArg *, const RooAbsArg *) |
| void | addServer (RooAbsArg &server, bool valueProp=true, bool shapeProp=false, std::size_t refCount=1) |
| Register another RooAbsArg as a server to us, ie, declare that we depend on it. | |
| void | addServerList (RooAbsCollection &serverList, bool valueProp=true, bool shapeProp=false) |
| Register a list of RooAbsArg as servers to us by calling addServer() for each arg in the list. | |
| void | replaceServer (RooAbsArg &oldServer, RooAbsArg &newServer, bool valueProp, bool shapeProp) |
| Replace 'oldServer' with 'newServer', specifying whether the new server has value or shape server properties. | |
| void | changeServer (RooAbsArg &server, bool valueProp, bool shapeProp) |
| Change dirty flag propagation mask for specified server. | |
| void | removeServer (RooAbsArg &server, bool force=false) |
| Unregister another RooAbsArg as a server to us, ie, declare that we no longer depend on its value and shape. | |
| RooAbsArg * | findNewServer (const RooAbsCollection &newSet, bool nameChange) const |
| Find the new server in the specified set that matches the old server. | |
Optimisation interface | |
| virtual void | optimizeCacheMode (const RooArgSet &observables) |
| Activate cache mode optimization with given definition of observables. | |
| virtual void | optimizeCacheMode (const RooArgSet &observables, RooArgSet &optNodes, RooLinkedList &processedNodes) |
| Activate cache mode optimization with given definition of observables. | |
| bool | findConstantNodes (const RooArgSet &observables, RooArgSet &cacheList) |
| Find branch nodes with all-constant parameters, and add them to the list of nodes that can be cached with a dataset in a test statistic calculation. | |
| bool | findConstantNodes (const RooArgSet &observables, RooArgSet &cacheList, RooLinkedList &processedNodes) |
| Find branch nodes with all-constant parameters, and add them to the list of nodes that can be cached with a dataset in a test statistic calculation. | |
| virtual void | constOptimizeTestStatistic (ConstOpCode opcode, bool doAlsoTrackingOpt=true) |
| Interface function signaling a request to perform constant term optimization. | |
| virtual CacheMode | canNodeBeCached () const |
| virtual void | setCacheAndTrackHints (RooArgSet &) |
| bool | isShapeDirty () const |
| bool | isValueDirty () const |
| bool | isValueDirtyAndClear () const |
| bool | isValueOrShapeDirtyAndClear () const |
| void | registerCache (RooAbsCache &cache) |
| Register RooAbsCache with this object. | |
| void | unRegisterCache (RooAbsCache &cache) |
| Unregister a RooAbsCache. Called from the RooAbsCache destructor. | |
| Int_t | numCaches () const |
| Return number of registered caches. | |
| RooAbsCache * | getCache (Int_t index) const |
| Return registered cache object by index. | |
| OperMode | operMode () const |
| Query the operation mode of this node. | |
| void | setOperMode (OperMode mode, bool recurseADirty=true) |
| Set the operation mode of this node. | |
| void | setValueDirty () |
| Mark the element dirty. This forces a re-evaluation when a value is requested. | |
| void | setShapeDirty () |
| Notify that a shape-like property (e.g. binning) has changed. | |
| const char * | aggregateCacheUniqueSuffix () const |
| virtual const char * | cacheUniqueSuffix () const |
| void | wireAllCaches () |
| RooExpensiveObjectCache & | expensiveObjectCache () const |
| virtual void | setExpensiveObjectCache (RooExpensiveObjectCache &cache) |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static void | clearEvalErrorLog () |
| Clear the stack of evaluation error messages. | |
| static 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. | |
| static TH1 * | createHistogram (const char *name, RooArgList &vars, const char *tAxisLabel, double *xlo, double *xhi, Int_t *nBins) |
| Create 1-, 2- or 3-d ROOT histogram with labels taken from the variables in 'vars' and the with range and binning specified in xlo,xhi and nBins. | |
| static const char * | DeclFileName () |
| static RooNumIntConfig * | defaultIntegratorConfig () |
| Returns the default numeric integration configuration for all RooAbsReals. | |
| static std::ostream & | defaultPrintStream (std::ostream *os=nullptr) |
| Return a reference to the current default stream to use in Print(). | |
| static std::map< constRooAbsArg *, std::pair< std::string, std::list< RooAbsReal::EvalError > > >::iterator | evalErrorIter () |
| static ErrorLoggingMode | evalErrorLoggingMode () |
| Return current evaluation error logging mode. | |
| static Longptr_t | GetDtorOnly () |
| Return destructor only flag. | |
| static Bool_t | GetObjectStat () |
| Get status of object stat flag. | |
| static bool | hideOffset () |
| static void | logEvalError (const RooAbsReal *originator, const char *origName, const char *message, const char *serverValueString=nullptr) |
| Interface to insert remote error logging messages received by RooRealMPFE into current error logging stream. | |
| static void | nameFieldLength (Int_t newLen) |
| Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to given amount. | |
| static Int_t | numEvalErrorItems () |
| static Int_t | numEvalErrors () |
| Return the number of logged evaluation errors since the last clearing. | |
| static void | printEvalErrors (std::ostream &os=std::cout, Int_t maxPerNode=10000000) |
| Print all outstanding logged evaluation error on the given ostream. | |
| static void | setDirtyInhibit (bool flag) |
| Control global dirty inhibit mode. | |
| static void | SetDtorOnly (void *obj) |
| Set destructor only flag. | |
| static void | setEvalErrorLoggingMode (ErrorLoggingMode m) |
| Set evaluation error logging mode. | |
| static void | setHideOffset (bool flag) |
| static void | SetObjectStat (Bool_t stat) |
| Turn on/off tracking of objects in the TObjectTable. | |
| static void | verboseDirty (bool flag) |
| Activate verbose messaging related to dirty flag propagation. | |
Protected Types | |
| enum | { kOnlyPrepStep = (1ULL << (3)) } |
Protected Member Functions | |
| void | attachToStore (RooAbsDataStore &store) |
| Attach this argument to the data store such that it reads data from there. | |
| void | attachToTree (TTree &t, Int_t bufSize=32000) override |
| Attach object to a branch of given TTree. | |
| void | attachToVStore (RooVectorDataStore &vstore) override |
| TString | cleanBranchName () const |
| Construct a mangled name from the actual name that is free of any math symbols that might be interpreted by TTree. | |
| void | clearShapeDirty () const |
| void | clearValueAndShapeDirty () const |
| void | clearValueDirty () const |
| void | copyCache (const RooAbsArg *source, bool valueOnly=false, bool setValDirty=true) override |
| Copy cache of another RooAbsArg to our cache. | |
| RooFit::OwningPtr< RooAbsReal > | createIntObj (const RooArgSet &iset, const RooArgSet *nset, const RooNumIntConfig *cfg, const char *rangeName) const |
| Internal utility function for createIntegral() that creates the actual integral object. | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| Interface to ErrorHandler (protected). | |
| double | evaluate () const override |
| Calculate current value of this object. | |
| void | fillTreeBranch (TTree &t) override |
| Fill the tree branch that associated with this object with its current value. | |
| void | findInnerMostIntegration (const RooArgSet &allObs, RooArgSet &innerObs, const char *rangeName) const |
| Utility function for createIntObj() that aids in the construct of recursive integrals over functions with multiple observables with parameterized ranges. | |
| bool | fitRangeOKForPlotting () const |
| Check if fit range is usable as plot range, i.e. | |
| virtual void | getParametersHook (const RooArgSet *, RooArgSet *, bool) const |
| void | graphVizAddConnections (std::set< std::pair< RooAbsArg *, RooAbsArg * > > &) |
| Utility function that inserts all point-to-point client-server connections between any two RooAbsArgs in the expression tree headed by this object in the linkSet argument. | |
| bool | inhibitDirty () const |
| TString | integralNameSuffix (const RooArgSet &iset, const RooArgSet *nset=nullptr, const char *rangeName=nullptr, bool omitEmpty=false) const |
| Construct string with unique suffix name to give to integral object that encodes integrated observables, normalization observables and the integration range name. | |
| virtual void | ioStreamerPass2 () |
| Method called by workspace container to finalize schema evolution issues that cannot be handled in a single ioStreamer pass. | |
| bool | isValid () const override |
| Check if current value is valid. | |
| void | makeProjectionSet (const RooAbsArg *plotVar, const RooArgSet *allVars, RooArgSet &projectedVars, bool silent) const |
| Utility function for plotOn() that constructs the set of observables to project when plotting ourselves as function of 'plotVar'. | |
| void | MakeZombie () |
| template<typename... Proxies> | |
| bool | matchArgs (const RooArgSet &allDeps, RooArgSet &analDeps, const RooArgProxy &a, const Proxies &... proxies) const |
| bool | matchArgs (const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgSet &set) const |
| Utility function for use in getAnalyticalIntegral(). | |
| bool | matchArgsByName (const RooArgSet &allArgs, RooArgSet &matchedArgs, const TList &nameList) const |
| Check if allArgs contains matching elements for each name in nameList. | |
| virtual void | operModeHook () |
| virtual void | optimizeDirtyHook (const RooArgSet *) |
| virtual RooPlot * | plotAsymOn (RooPlot *frame, const RooAbsCategoryLValue &asymCat, PlotOpt o) const |
| virtual RooPlot * | plotOn (RooPlot *frame, PlotOpt o) const |
| Plotting engine function for internal use. | |
| void | plotOnCompSelect (RooArgSet *selNodes) const |
| Helper function for plotting of composite p.d.fs. | |
| RooPlot * | plotOnWithErrorBand (RooPlot *frame, const RooFitResult &fr, double Z, const RooArgSet *params, const RooLinkedList &argList, bool method1) const |
| Plot function or PDF on frame with support for visualization of the uncertainty encoded in the given fit result fr. | |
| bool | plotSanityChecks (RooPlot *frame) const |
| Utility function for plotOn(), perform general sanity check on frame to ensure safe plotting operations. | |
| void | printAttribList (std::ostream &os) const |
| Print the attribute list. | |
| bool | redirectServersHook (const RooAbsCollection &newServerList, bool mustReplaceAll, bool nameChange, bool isRecursiveStep) override |
| Function that is called at the end of redirectServers(). | |
| void | registerProxy (RooArgProxy &proxy) |
| Register an RooArgProxy in the proxy list. | |
| void | registerProxy (RooListProxy &proxy) |
| Register an RooListProxy in the proxy list. | |
| void | registerProxy (RooSetProxy &proxy) |
| Register an RooSetProxy in the proxy list. | |
| void | SavePrimitiveNameTitle (std::ostream &out, const char *variable_name) |
| Save object name and title into the output stream "out". | |
| virtual void | selectNormalization (const RooArgSet *depSet=nullptr, bool force=false) |
| Interface function to force use of a given set of observables to interpret function value. | |
| virtual void | selectNormalizationRange (const char *rangeName=nullptr, bool force=false) |
| Interface function to force use of a given normalization range to interpret function value. | |
| void | setProxyNormSet (const RooArgSet *nset) |
| Forward a change in the cached normalization argset to all the registered proxies. | |
| void | setShapeDirty (const RooAbsArg *source) |
| Notify that a shape-like property (e.g. binning) has changed. | |
| void | setTreeBranchStatus (TTree &t, bool active) override |
| (De)Activate associated tree branch | |
| virtual void | setValFast (double value) |
| void | setValueDirty (const RooAbsArg *source) |
| Force element to re-evaluate itself when a value is requested. | |
| void | syncCache (const RooArgSet *set=nullptr) override |
| double | traceEval (const RooArgSet *set) const |
| Calculate current value of object, with error tracing wrapper. | |
| void | unRegisterProxy (RooArgProxy &proxy) |
| Remove proxy from proxy list. | |
| void | unRegisterProxy (RooListProxy &proxy) |
| Remove proxy from proxy list. | |
| void | unRegisterProxy (RooSetProxy &proxy) |
| Remove proxy from proxy list. | |
Static Protected Member Functions | |
| static void | globalSelectComp (bool flag) |
| Global switch controlling the activation of the selectComp() functionality. | |
| static void | ioStreamerPass2Finalize () |
| Method called by workspace container to finalize schema evolution issues that cannot be handled in a single ioStreamer pass. | |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| Save object constructor in the output stream "out". | |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| Save invocation of primitive Draw() method Skipped if option contains "nodraw" string. | |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0) |
| Save array in the output stream "out" as vector. | |
Protected Attributes | |
| RooLinkedList | _altBinning |
| ! | |
| RooLinTransBinning | _binning |
| std::set< std::string > | _boolAttrib |
| std::set< std::string > | _boolAttribTransient |
| ! Transient boolean attributes (not copied in ctor) | |
| std::vector< RooAbsCache * > | _cacheList |
| ! list of caches | |
| RefCountList_t | _clientList |
| RefCountList_t | _clientListShape |
| RefCountList_t | _clientListValue |
| std::size_t | _dataToken = std::numeric_limits<std::size_t>::max() |
| ! | |
| bool | _deleteWatch = false |
| ! Delete watch flag | |
| RooExpensiveObjectCache * | _eocache {nullptr} |
| ! Pointer to global cache manager for expensive components. | |
| bool | _fast = false |
| bool | _forceNumInt = false |
| Force numerical integration if flag set. | |
| bool | _isConstant = false |
| ! Cached isConstant status | |
| TString | _label |
| Plot label for objects value. | |
| RooFit::UniqueId< RooArgSet >::Value_t | _lastNormSetId = RooFit::UniqueId<RooArgSet>::nullval |
| ! | |
| bool | _localNoInhibitDirty = false |
| ! Prevent 'AlwaysDirty' mode for this node | |
| RooWorkspace * | _myws = nullptr |
| ! In which workspace do I live, if any | |
| const TNamed * | _namePtr = nullptr |
| ! De-duplicated name pointer, equal for all objects with the same name. | |
| RooRealProxy | _offset |
| Offset of transformation. | |
| OperMode | _operMode = Auto |
| RooArgSet * | _ownedComponents = nullptr |
| ! Set of owned component | |
| Int_t | _plotBins = 100 |
| Number of plot bins. | |
| double | _plotMax = 0.0 |
| Maximum of plot range. | |
| double | _plotMin = 0.0 |
| Minimum of plot range. | |
| bool | _prohibitServerRedirect = false |
| ! Prohibit server redirects – Debugging tool | |
| RooRefArray | _proxyList |
| ProxyListCache | _proxyListCache |
| ! cache of the list of proxies. Avoids type casting. | |
| bool | _selectComp = true |
| ! Component selection flag for RooAbsPdf::plotCompOn | |
| RefCountList_t | _serverList |
| bool | _shapeDirty = true |
| RooRealProxy | _slope |
| Slope of transformation. | |
| std::unique_ptr< RooNumIntConfig > | _specIntegratorConfig |
| std::map< std::string, std::string > | _stringAttrib |
| TreeReadBuffer * | _treeReadBuffer = nullptr |
| ! A buffer for reading values from trees | |
| TString | _unit |
| Unit for objects value. | |
| double | _value = 0.0 |
| Cache for current value of object. | |
| bool | _valueDirty = true |
| RooTemplateProxy< RooAbsRealLValue > | _var |
| Input observable. | |
| TString | fName |
| TString | fTitle |
Static Protected Attributes | |
| static bool | _globalSelectComp = false |
| static bool | _hideOffset = true |
| Offset hiding flag. | |
| static bool | _inhibitDirty |
| static Int_t | _nameLength |
| static bool | _verboseDirty |
Private Member Functions | |
| double | _DEBUG_getVal (const RooArgSet *normalisationSet) const |
| Debug version of getVal(), which is slow and does error checking. | |
| void | addParameters (RooAbsCollection ¶ms, const RooArgSet *nset=nullptr, bool stripDisconnected=true) const |
| Add all parameters of the function and its daughters to params. | |
| bool | callRedirectServersHook (RooAbsCollection const &newSet, bool mustReplaceAll, bool nameChange, bool isRecursionStep) |
| Private helper function for RooAbsArg::redirectServers(). | |
| std::unique_ptr< RooFitResult > | chi2FitToImpl (RooDataHist &data, const RooLinkedList &cmdList) |
| std::unique_ptr< RooAbsReal > | createChi2Impl (RooDataHist &data, const RooLinkedList &cmdList) |
| RefCountListLegacyIterator_t * | makeLegacyIterator (const RefCountList_t &list) const |
| void | substituteServer (RooAbsArg *oldServer, RooAbsArg *newServer) |
| Private helper function for RooAbsArg::redirectServers(). | |
Static Private Member Functions | |
| static void | AddToTObjectTable (TObject *) |
| Private helper function which will dispatch to TObjectTable::AddObj. | |
Private Attributes | |
| UInt_t | fBits |
| bit field status word | |
| UInt_t | fUniqueID |
| object unique identifier | |
Static Private Attributes | |
| static Longptr_t | fgDtorOnly = 0 |
| object for which to call dtor only (i.e. no delete) | |
| static Bool_t | fgObjectStat = kTRUE |
| if true keep track of objects in TObjectTable | |
#include <RooLinearVar.h>
|
inherited |
Definition at line 78 of file RooAbsArg.h.
|
inherited |
Definition at line 79 of file RooAbsArg.h.
|
inherited |
Definition at line 65 of file RooAbsReal.h.
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
| Enumerator | |
|---|---|
| Always | |
| NotAdvised | |
| Never | |
Definition at line 317 of file RooAbsArg.h.
|
inherited |
| Enumerator | |
|---|---|
| Activate | |
| DeActivate | |
| ConfigChange | |
| ValueChange | |
Definition at line 311 of file RooAbsArg.h.
|
inherited |
| Enumerator | |
|---|---|
| kName | |
| kClassName | |
| kValue | |
| kArgs | |
| kExtras | |
| kAddress | |
| kTitle | |
| kCollectionHeader | |
Definition at line 33 of file RooPrintable.h.
|
inherited |
|
inherited |
| Enumerator | |
|---|---|
| PrintErrors | |
| CollectErrors | |
| CountErrors | |
| Ignore | |
Definition at line 314 of file RooAbsReal.h.
|
inherited |
|
inherited |
| Enumerator | |
|---|---|
| Auto | |
| AClean | |
| ADirty | |
Definition at line 322 of file RooAbsArg.h.
|
inherited |
| Enumerator | |
|---|---|
| Raw | |
| Relative | |
| NumEvent | |
| RelativeExpected | |
Definition at line 273 of file RooAbsReal.h.
|
inherited |
| Enumerator | |
|---|---|
| kInline | |
| kSingleLine | |
| kStandard | |
| kVerbose | |
| kTreeStructure | |
Definition at line 34 of file RooPrintable.h.
|
inline |
Definition at line 32 of file RooLinearVar.h.
| RooLinearVar::RooLinearVar | ( | const char * | name, |
| const char * | title, | ||
| RooAbsRealLValue & | variable, | ||
| const RooAbsReal & | slope, | ||
| const RooAbsReal & | offset, | ||
| const char * | unit = "" ) |
Constructor with RooAbsRealLValue variable and RooAbsReal slope and offset.
Definition at line 56 of file RooLinearVar.cxx.
| RooLinearVar::RooLinearVar | ( | const RooLinearVar & | other, |
| const char * | name = nullptr ) |
Copy constructor.
Definition at line 88 of file RooLinearVar.cxx.
|
override |
Destructor.
Definition at line 102 of file RooLinearVar.cxx.
Debug version of getVal(), which is slow and does error checking.
Definition at line 4187 of file RooAbsReal.cxx.
|
inherited |
Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.
Definition at line 1149 of file TObject.cxx.
|
inherited |
Take ownership of the contents of 'comps'.
Definition at line 2010 of file RooAbsArg.cxx.
|
inherited |
Take ownership of the contents of 'comps'.
Different from the overload that takes the RooArgSet by const&, this version can also take an owning RooArgSet without error, because the ownership will not be ambiguous afterwards.
Definition at line 2022 of file RooAbsArg.cxx.
|
inherited |
Take ownership of the contents of 'comps'.
Different from the overload that takes the RooArgSet by const&, this version can also take an owning RooArgSet without error, because the ownership will not be ambiguous afterwards.
Definition at line 2032 of file RooAbsArg.cxx.
|
inlineinherited |
Definition at line 482 of file RooAbsArg.h.
|
privateinherited |
Add all parameters of the function and its daughters to params.
| [in] | params | Collection that stores all parameters. Add all new parameters to this. |
| [in] | nset | Normalisation set (optional). If a value depends on this set, it's not a parameter. |
| [in] | stripDisconnected | Passed on to getParametersHook(). |
Definition at line 544 of file RooAbsArg.cxx.
|
inherited |
Register another RooAbsArg as a server to us, ie, declare that we depend on it.
| server | The server to be registered. |
| valueProp | In addition to the basic client-server relationship, declare dependence on the server's value. |
| shapeProp | In addition to the basic client-server relationship, declare dependence on the server's shape. |
| refCount | Optionally add with higher reference count (if multiple components depend on it) |
Definition at line 307 of file RooAbsArg.cxx.
|
inherited |
Register a list of RooAbsArg as servers to us by calling addServer() for each arg in the list.
Definition at line 344 of file RooAbsArg.cxx.
|
staticprivateinherited |
Private helper function which will dispatch to TObjectTable::AddObj.
Included here to avoid circular dependency between header files.
Definition at line 195 of file TObject.cxx.
|
inherited |
Definition at line 2072 of file RooAbsArg.cxx.
|
virtualinherited |
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
This functions will only be called with codes returned by getAnalyticalIntegral, except code zero.
Reimplemented in RooAddition, RooArgusBG, RooBernstein, RooBifurGauss, RooBinSamplingPdf, RooBreitWigner, RooCBShape, RooChebychev, RooChiSquarePdf, RooConvCoefVar, RooCrystalBall, RooDstD0BG, RooEfficiency, RooExponential, RooFit::Detail::RooFixedProdPdf, RooGamma, RooGaussExpTails, RooGaussian, RooGaussModel, RooGExpModel, RooHistFunc, RooHistPdf, RooHypatia2, RooJohnson, RooKeysPdf, RooLandau, RooLegacyExpPoly, RooLegendre, RooLognormal, RooMultiVarGaussian, RooNDKeysPdf, RooNonCentralChiSquare, RooNovosibirsk, RooParametricStepFunction, RooPoisson, RooPolynomial, RooPolyVar, RooPowerSum, RooProduct, RooSpHarmonic, RooStepFunction, RooStudentT, RooTruthModel, RooUniform, and RooWrapperPdf.
Definition at line 391 of file RooAbsReal.cxx.
|
virtualinherited |
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
This functions will only be called with codes returned by getAnalyticalIntegral, except code zero.
Reimplemented in ParamHistFunc, PiecewiseInterpolation, RooAbsAnaConvPdf, RooAbsCachedPdf, RooAbsCachedReal, RooAbsPdf, RooAddModel, RooAddPdf, RooBinSamplingPdf, RooExtendPdf, RooFit::Detail::RooFixedProdPdf, RooFit::Detail::RooNormalizedPdf, RooLagrangianMorphFunc, RooParamHistFunc, RooProdPdf, RooProjectedPdf, RooRealSumFunc, RooRealSumPdf, RooSimultaneous, and RooWrapperPdf.
Definition at line 377 of file RooAbsReal.cxx.
|
virtualinherited |
Append graphics object to current pad.
In case no current pad is set yet, create a default canvas with the name "c1".
Definition at line 204 of file TObject.cxx.
|
virtualinherited |
Disables or enables the usage of squared weights.
Needs to be overloaded in the likelihood classes for which this is relevant.
Reimplemented in ROOT::Experimental::XRooFit::ProgressMonitor.
Definition at line 2244 of file RooAbsArg.cxx.
|
inherited |
Return a ROOT TF1,2,3 object bound to this RooAbsReal with given definition of observables and parameters.
Definition at line 3801 of file RooAbsReal.cxx.
|
inherited |
Bind this node to objects in set.
Search the set for objects that have the same name as our servers, and attach ourselves to those. After this operation, this node is computing its values based on the new servers. This can be used to e.g. read values from
Definition at line 1490 of file RooAbsArg.cxx.
|
inherited |
Replace server nodes with names matching the dataset variable names with those data set variables, making this PDF directly dependent on the dataset.
Definition at line 1503 of file RooAbsArg.cxx.
|
inherited |
Replace server nodes with names matching the dataset variable names with those data set variables, making this PDF directly dependent on the dataset.
Definition at line 1511 of file RooAbsArg.cxx.
|
protectedinherited |
Attach this argument to the data store such that it reads data from there.
Definition at line 2054 of file RooAbsArg.cxx.
|
overrideprotectedvirtualinherited |
Attach object to a branch of given TTree.
By default it will register the internal value cache RooAbsReal::_value as branch buffer for a double tree branch with the same name as this object. If no double branch is found with the name of this object, this method looks for a Float_t Int_t, UChar_t and UInt_t, etc branch. If any of these are found, a TreeReadBuffer that branch is created, and saved in _treeReadBuffer. TreeReadBuffer::operator double() can be used to convert the values. This is used by copyCache().
Implements RooAbsArg.
Reimplemented in RooRealVar.
Definition at line 3014 of file RooAbsReal.cxx.
|
overrideprotectedvirtualinherited |
|
inlineinherited |
Definition at line 258 of file RooAbsArg.h.
|
virtualinherited |
Retrieve bin boundaries if this distribution is binned in obs.
| [in] | obs | Observable to retrieve boundaries for. |
| [in] | xlo | Beginning of range. |
| [in] | xhi | End of range. |
Reimplemented in ParamHistFunc, PdfWrapper, PiecewiseInterpolation, RooAddition, RooAddPdf, RooBinSamplingPdf, RooBinWidthFunction, RooFormulaVar, RooHistFunc, RooHistPdf, RooLagrangianMorphFunc, RooLinearCombination, RooMomentMorphFunc, RooParamHistFunc, RooProdPdf, RooProduct, RooRealSumFunc, RooRealSumPdf, and RooWrapperPdf.
Definition at line 3454 of file RooAbsReal.cxx.
|
inherited |
Create an interface adaptor f(vars) that binds us to the specified variables (in arbitrary order).
For example, calling bindVars({x1,x3}) on an object F(x1,x2,x3,x4) returns an object f(x1,x3) that is evaluated using the current values of x2 and x4. The caller takes ownership of the returned adaptor.
Definition at line 2966 of file RooAbsReal.cxx.
|
inherited |
Fill supplied list with all branch nodes of the arg tree starting with ourself as top node.
A branch node is node that has one or more servers declared.
Definition at line 451 of file RooAbsArg.cxx.
|
virtualinherited |
Browse object. May be overridden for another default action.
Reimplemented in RooPlot, ROOT::Experimental::XRooFit::xRooNode, ROOT::Internal::THnBaseBrowsable, TApplicationRemote, TASImage, TAxis3D, TBaseClass, TBranch, TBranchClones, TBranchElement, TBranchObject, TBranchSTL, TBrowserObject, TCanvas, TChain, TClass, TCollection, TCollectionPropertyBrowsable, TDatabasePDG, TDirectory, TDirectoryFile, TEfficiency, TF1, TFolder, TGenerator, TGeoManager, TGeometry, TGeoNode, TGeoOverlap, TGeoTrack, TGeoVolume, TGraph2D, TGraph, TH1, THbookBranch, THbookFile, THbookKey, THnBase, THStack, TKey, TKeyMapFile, TLeaf, TMacro, TMapFile, TMultiDimFit, TMultiGraph, TNode, TNtuple, TNtupleD, TPad, TPair, TParticleClassPDG, TPrincipal, TRecorder, TRemoteObject, TROOT, TRootIconList, TSPlot, TStyle, TSystemDirectory, TSystemFile, TTask, TTree, TTreePerfStats, and TVirtualBranchBrowsable.
Definition at line 218 of file TObject.cxx.
|
inlinevirtualinherited |
Definition at line 434 of file RooAbsArg.h.
|
privateinherited |
Private helper function for RooAbsArg::redirectServers().
Definition at line 988 of file RooAbsArg.cxx.
|
inlinevirtualinherited |
Reimplemented in RooAddModel, RooAddPdf, RooArgusBG, RooBernstein, RooBifurGauss, RooBMixDecay, RooBreitWigner, RooBukinPdf, RooCBShape, RooChebychev, RooChiSquarePdf, RooDstD0BG, RooExponential, RooFit::Detail::RooFixedProdPdf, RooFit::Detail::RooNormalizedPdf, RooGamma, RooGaussian, RooGaussModel, RooJohnson, RooLandau, RooLegacyExpPoly, RooLognormal, RooNovosibirsk, RooPoisson, RooPolynomial, RooPolyVar, RooPowerSum, RooRatio, RooTruthModel, and RooVoigtian.
Definition at line 513 of file RooAbsArg.h.
|
inlinevirtualinherited |
Reimplemented in RooAddPdf, RooLagrangianMorphFunc, RooProdPdf, RooProduct, RooRealSumFunc, and RooRealSumPdf.
Definition at line 346 of file RooAbsArg.h.
Change dirty flag propagation mask for specified server.
Definition at line 412 of file RooAbsArg.cxx.
|
inlineinherited |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();
(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.
Overloadable function in which derived classes can implement consistency checks of the variables.
If this function returns true, indicating an error, the fitter or generator will abort.
Reimplemented in RooAddModel, RooAddPdf, RooLagrangianMorphFunc, RooRealSumFunc, and RooRealSumPdf.
Definition at line 687 of file RooAbsArg.cxx.
|
inlineinherited |
Calls RooAbsReal::createChi2 and returns the fit result.
The RooAbsReal::chi2FitTo() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
Perform a \( \chi^2 \) fit to given histogram. By default the fit is executed through the MINUIT commands MIGRAD, HESSE in succession
The following named arguments are supported:
| Type of CmdArg | Effect on \( \chi^2 \) |
|---|---|
| DataError() | Choose between:
|
| Extended(bool flag) | Only applicable when fitting a RooAbsPdf. Scale the normalized pdf by the number of events predicted by the model instead of scaling by the total data weight. This imposes a constraint on the predicted number of events analogous to the extended term in a likelihood fit.
|
| Range(const char* name) | Fit only data inside range with given name |
| Range(double lo, double hi) | Fit only data inside given range. A range named "fit" is created on the fly on all observables. Multiple comma separated range names can be specified. |
| NumCPU(int num) | Parallelize NLL calculation on num CPUs |
| IntegrateBins() | Integrate PDF within each bin. This sets the desired precision. |
| Verbose() | Verbose output of GOF framework |
| SumCoefRange() | Set the range in which to interpret the coefficients of RooAddPdf components |
| SplitRange() | Fit ranges used in different categories get named after the category. Using Range("range"), SplitRange() as switches, different ranges could be set like this: myVariable.setRange("range_pi0", 135, 210);
myVariable.setRange("range_gamma", 50, 210);
|
| ConditionalObservables(Args_t &&... argsOrArgSet) | Define projected observables. Arguments can either be multiple RooRealVar or a single RooArgSet containing them. |
| Options to control flow of fit procedure | |
| InitialHesse(bool flag) | Flag controls if HESSE before MIGRAD as well, off by default |
| Hesse(bool flag) | Flag controls if HESSE is run after MIGRAD, on by default |
| Minos(bool flag) | Flag controls if MINOS is run after HESSE, on by default |
| Minos(const RooArgSet& set) | Only run MINOS on given subset of arguments |
| Save(bool flag) | Flag controls if RooFitResult object is produced and returned, off by default |
| Strategy(Int_t flag) | Set Minuit strategy (0 through 2, default is 1) |
| Options to control informational output | |
| Verbose(bool flag) | Flag controls if verbose output is printed (NLL, parameter changes during fit |
| Timer(bool flag) | Time CPU and wall clock consumption of fit steps, off by default |
| PrintLevel(Int_t level) | Set Minuit print level (-1 through 3, default is 1). At -1 all RooFit informational messages are suppressed as well |
| Warnings(bool flag) | Enable or disable MINUIT warnings (enabled by default) |
| PrintEvalErrors(Int_t numErr) | Control number of p.d.f evaluation errors printed per likelihood evaluation. A negative value suppress output completely, a zero value will only print the error count per p.d.f component, a positive value is will print details of each error up to numErr messages per p.d.f component. |
Definition at line 184 of file RooAbsReal.h.
|
privateinherited |
Definition at line 4014 of file RooAbsReal.cxx.
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 69 of file RooLinearVar.h.
|
virtualinherited |
Returns name of class to which the object belongs.
Definition at line 227 of file TObject.cxx.
|
protectedinherited |
Construct a mangled name from the actual name that is free of any math symbols that might be interpreted by TTree.
Definition at line 1845 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Set name and title to empty strings ("").
Reimplemented from TObject.
Reimplemented in TPrincipal, TProcessID, TStreamerInfo, TTask, TVirtualFitter, and TVirtualStreamerInfo.
Definition at line 63 of file TNamed.cxx.
|
staticinherited |
Clear the stack of evaluation error messages.
Definition at line 3436 of file RooAbsReal.cxx.
|
inlineprotectedinherited |
Definition at line 542 of file RooAbsArg.h.
|
inlineprotectedinherited |
Definition at line 535 of file RooAbsArg.h.
|
inlineprotectedinherited |
Definition at line 541 of file RooAbsArg.h.
|
inlineinherited |
List of all clients of this object.
Definition at line 137 of file RooAbsArg.h.
|
inlineoverridevirtualinherited |
Make a clone of an object using the Streamer facility.
If the object derives from TNamed, this function is called by TNamed::Clone. TNamed::Clone uses the optional argument to set a new name to the newly created object.
If the object class has a DirectoryAutoAdd function, it will be called at the end of the function with the parameter gDirectory. This usually means that the object will be appended to the current ROOT directory.
Reimplemented from TObject.
Definition at line 88 of file RooAbsArg.h.
|
inlineoverridevirtual |
Implements RooAbsArg.
Definition at line 35 of file RooLinearVar.h.
|
virtualinherited |
Clone tree expression of objects.
All tree nodes will be owned by the head node return by cloneTree()
Definition at line 2040 of file RooAbsArg.cxx.
Utility function used by TCollection::Sort to compare contained TObjects We implement comparison by name, resulting in alphabetical sorting by object name.
Reimplemented from TObject.
Definition at line 1519 of file RooAbsArg.cxx.
|
virtualinherited |
Reimplemented in RooAbsAnaConvPdf, RooAbsCachedPdf, RooAbsPdf, RooAddPdf, RooBinWidthFunction, RooConstraintSum, RooFormulaVar, RooProdPdf, RooProjectedPdf, RooRealIntegral, RooRealSumFunc, RooRealSumPdf, and RooSimultaneous.
Definition at line 2252 of file RooAbsArg.cxx.
|
virtualinherited |
Interface function signaling a request to perform constant term optimization.
This default implementation takes no action other than to forward the calls to all servers
Reimplemented in ROOT::Experimental::XRooFit::ProgressMonitor.
Definition at line 1719 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Copy this to obj.
Reimplemented from TObject.
Reimplemented in TPieSlice, TProfile2D, TProfile3D, TProfile, TStyle, TSystemDirectory, TSystemFile, TText, and TXTRU.
Definition at line 93 of file TNamed.cxx.
|
overrideprotectedvirtualinherited |
Copy cache of another RooAbsArg to our cache.
Reimplemented from RooAbsReal.
Reimplemented in RooRealVar.
Definition at line 377 of file RooAbsRealLValue.cxx.
|
inlineinherited |
Create a \( \chi^2 \) variable from a histogram and this function.
The RooAbsReal::createChi2() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
See also RooAbsReal::chi2FitTo for the list of possible command arguments to this function.
It calculates:
\begin{align*} \chi^2 &= \sum_{\mathrm{bins}} \left( \frac{N_\mathrm{PDF,bin} - N_\mathrm{Data,bin}}{\Delta_\mathrm{bin}} \right)^2 N_\mathrm{PDF,bin} &= \begin{cases} \mathrm{pdf}(\text{bin centre}) \cdot V_\mathrm{bin} \cdot N_\mathrm{Data,tot} &\text{normal PDF} \mathrm{pdf}(\text{bin centre}) \cdot V_\mathrm{bin} \cdot N_\mathrm{Data,expected} &\text{extended PDF} \end{cases} \Delta_\mathrm{bin} &= \begin{cases} \sqrt{N_\mathrm{PDF,bin}} &\text{if } \mathtt{DataError == RooAbsData::Expected} \mathtt{data{\rightarrow}weightError()} &\text{otherwise} \end{cases} \end{align*}
If the dataset doesn't have user-defined errors, errors are assumed to be \( \sqrt{N} \). In extended PDF mode, N_tot (total number of data events) is substituted with N_expected, the expected number of events that the PDF predicts.
| data | Histogram with data |
| arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8 | ordered arguments |
Definition at line 190 of file RooAbsReal.h.
|
privateinherited |
Definition at line 4062 of file RooAbsReal.cxx.
|
overridevirtualinherited |
Create a RooRealVar fundamental object with our properties.
The new object will be created without any fit limits.
Implements RooAbsArg.
Definition at line 3116 of file RooAbsReal.cxx.
|
inherited |
Create and fill a ROOT histogram TH1, TH2 or TH3 with the values of this function.
The RooAbsReal::createHistogram() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
| [in] | name | Name of the ROOT histogram |
| [in] | xvar | Observable to be std::mapped on x axis of ROOT histogram |
| [in] | arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8 | Arguments according to list below |
| Effect on histogram creation | |
|---|---|
| IntrinsicBinning() | Apply binning defined by function or pdf (as advertised via binBoundaries() method) |
| Binning(const char* name) | Apply binning with given name to x axis of histogram |
| Binning(RooAbsBinning& binning) | Apply specified binning to x axis of histogram |
| Binning(int nbins, [double lo, double hi]) | Apply specified binning to x axis of histogram |
| ConditionalObservables(Args_t &&... argsOrArgSet) | Do not normalise PDF over following observables when projecting PDF into histogram. |
| Scaling(bool) | Apply density-correction scaling (multiply by bin volume), default is true |
| Extended(bool) | Plot event yield instead of probability density (for extended pdfs only) |
| YVar(const RooAbsRealLValue& var,...) | Observable to be std::mapped on y axis of ROOT histogram. The YVar() and ZVar() arguments can be supplied with optional Binning() arguments to control the binning of the Y and Z axes, e.g. TH1 * createHistogram(const char *name, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const Definition RooAbsRealLValue.cxx:506 |
| ZVar(const RooAbsRealLValue& var,...) | Observable to be std::mapped on z axis of ROOT histogram |
Definition at line 1268 of file RooAbsReal.cxx.
|
inherited |
Internal method implementing createHistogram.
Definition at line 1280 of file RooAbsReal.cxx.
|
inherited |
Create and fill a ROOT histogram TH1, TH2 or TH3 with the values of this function for the variables with given names.
| [in] | varNameList | List of variables to use for x, y, z axis, separated by ':' |
| [in] | xbins | Number of bins for first variable |
| [in] | ybins | Number of bins for second variable |
| [in] | zbins | Number of bins for third variable |
For a greater degree of control use RooAbsReal::createHistogram(const char *, const RooAbsRealLValue&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&) const
Definition at line 1177 of file RooAbsReal.cxx.
|
inherited |
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.
Definition at line 659 of file RooAbsRealLValue.cxx.
|
inherited |
Create an empty 1D-histogram with appropriate scale and labels for this variable.
Definition at line 699 of file RooAbsRealLValue.cxx.
|
inherited |
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.
Definition at line 686 of file RooAbsRealLValue.cxx.
|
inherited |
Create an empty 2D-histogram with appropriate scale and labels for this variable (x) and the specified y variable.
Definition at line 775 of file RooAbsRealLValue.cxx.
|
inherited |
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.
Definition at line 717 of file RooAbsRealLValue.cxx.
|
inherited |
Definition at line 850 of file RooAbsRealLValue.cxx.
|
inherited |
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.
Definition at line 791 of file RooAbsRealLValue.cxx.
|
inherited |
The RooAbsRealLValue::createHistogram() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
Definition at line 506 of file RooAbsRealLValue.cxx.
|
inherited |
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
Definition at line 550 of file RooAbsRealLValue.cxx.
|
staticinherited |
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.
Definition at line 895 of file RooAbsRealLValue.cxx.
|
staticinherited |
Create 1-, 2- or 3-d ROOT histogram with labels taken from the variables in 'vars' and the with range and binning specified in xlo,xhi and nBins.
The dimensions of the arrays xlo,xhi, nBins should match the number of objects in vars.
Definition at line 869 of file RooAbsRealLValue.cxx.
|
inlineinherited |
Create integral over observables in iset in range named rangeName.
Definition at line 204 of file RooAbsReal.h.
|
inlineinherited |
Create integral over observables in iset in range named rangeName with integrand normalized over observables in nset.
Definition at line 208 of file RooAbsReal.h.
|
inlineinherited |
Create integral over observables in iset in range named rangeName with integrand normalized over observables in nset while using specified configuration for any numeric integration.
Definition at line 213 of file RooAbsReal.h.
|
inherited |
Create an object that represents the integral of the function over one or more observables listed in iset.
The RooAbsReal::createIntegral() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
The actual integration calculation is only performed when the returned object is evaluated. The name of the integral object is automatically constructed from the name of the input function, the variables it integrates and the range integrates over.
The following named arguments are accepted
| Effect on integral creation | |
|---|---|
| NormSet(const RooArgSet&) | Specify normalization set, mostly useful when working with PDFs |
| NumIntConfig(const RooNumIntConfig&) | Use given configuration for any numeric integration, if necessary |
| Range(const char* name) | Integrate only over given range. Multiple ranges may be specified by passing multiple Range() arguments |
Definition at line 511 of file RooAbsReal.cxx.
|
inlineinherited |
Create integral over observables in iset in range named rangeName using specified configuration for any numeric integration.
Definition at line 217 of file RooAbsReal.h.
|
overridevirtualinherited |
Create an object that represents the integral of the function over one or more observables listed in iset.
The actual integration calculation is only performed when the return object is evaluated. The name of the integral object is automatically constructed from the name of the input function, the variables it integrates and the range integrates over. If nset is specified the integrand is request to be normalized over nset (only meaningful when the integrand is a pdf). If rangename is specified the integral is performed over the named range, otherwise it is performed over the domain of each integrated observable. If cfg is specified it will be used to configure any numeric integration aspect of the integral. It will not force the integral to be performed numerically, which is decided automatically by RooRealIntegral.
Reimplemented from RooAbsReal.
Definition at line 1028 of file RooAbsRealLValue.cxx.
|
protectedinherited |
Internal utility function for createIntegral() that creates the actual integral object.
Definition at line 587 of file RooAbsReal.cxx.
|
inherited |
Utility function for createRunningIntegral.
It creates an object implementing the standard (analytical) integration technique for calculating the running integral.
Definition at line 3717 of file RooAbsReal.cxx.
|
inherited |
Utility function for plotOn() that creates a projection of a function or p.d.f to be plotted on a RooPlot.
Create a new object \( G \) that represents the normalized projection:
\[ G[x,p] = \frac{\int F[x,y,p] \; \mathrm{d}\{y\}} {\int F[x,y,p] \; \mathrm{d}\{x\} \, \mathrm{d}\{y\}} \]
where \( F[x,y,p] \) is the function we represent, and \( \{ p \} \) are the remaining variables ("parameters").
| [in] | dependentVars | Dependent variables over which to normalise, \( \{x\} \). |
| [in] | projectedVars | Variables to project out, \( \{ y \} \). |
| [out] | cloneSet | Will be set to a RooArgSet*, which will contain a clone of *this plus its projection integral object. The latter will also be returned. The caller takes ownership of this set. |
| [in] | rangeName | Optional range for projection integrals |
| [in] | condObs | Conditional observables, which are not integrated for normalisation, even if they are in dependentVars or projectedVars. |
Definition at line 813 of file RooAbsReal.cxx.
|
inherited |
Utility function for plotOn() that creates a projection of a function or p.d.f to be plotted on a RooPlot.
Definition at line 784 of file RooAbsReal.cxx.
|
virtualinherited |
Create a RooProfileLL object that eliminates all nuisance parameters in the present function.
The nuisance parameters are defined as all parameters of the function except the stated paramsOfInterest
Reimplemented in RooProfileLL.
Definition at line 468 of file RooAbsReal.cxx.
|
inherited |
Calls createRunningIntegral(const RooArgSet&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&, const RooCmdArg&).
Definition at line 3596 of file RooAbsReal.cxx.
|
inherited |
Create an object that represents the running integral of the function over one or more observables listed in iset, i.e.
The RooAbsReal::createRunningIntegral() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
\[ \int_{x_\mathrm{lo}}^x f(x') \, \mathrm{d}x' \]
The actual integration calculation is only performed when the return object is evaluated. The name of the integral object is automatically constructed from the name of the input function, the variables it integrates and the range integrates over. The default strategy to calculate the running integrals is
The choice of strategy can be changed with the ScanAll() argument, which forces the use of the scanning technique implemented in RooNumRunningInt for all use cases, and with the ScanNone() argument which forces the 'integrate each evaluation' technique for all use cases. The sampling granularity for the scanning technique can be controlled with the ScanParameters technique which allows to specify the number of samples to be taken, and to which order the resulting running integral should be interpolated. The default values are 1000 samples and 2nd order interpolation.
The following named arguments are accepted
| Effect on integral creation | |
|---|---|
| SupNormSet(const RooArgSet&) | Observables over which should be normalized in addition to the integration observables |
| ScanParameters(Int_t nbins, Int_t intOrder) | Parameters for scanning technique of making CDF: number of sampled bins and order of interpolation applied on numeric cdf |
| ScanNum() | Apply scanning technique if cdf integral involves numeric integration |
| ScanAll() | Always apply scanning technique |
| ScanNone() | Never apply scanning technique |
Definition at line 3640 of file RooAbsReal.cxx.
|
inherited |
Utility function for createRunningIntegral that construct an object implementing the numeric scanning technique for calculating the running integral.
Definition at line 3700 of file RooAbsReal.cxx.
|
inlineinherited |
Returns the token for retrieving results in the BatchMode. For internal use only.
Definition at line 635 of file RooAbsArg.h.
|
inlinestatic |
Definition at line 69 of file RooLinearVar.h.
|
inlinevirtualinherited |
Reimplemented in RooAddition, RooFit::TestStatistics::RooRealL, RooFormulaVar, and ROOT::Experimental::XRooFit::ProgressMonitor.
Definition at line 245 of file RooAbsReal.h.
|
staticinherited |
Returns the default numeric integration configuration for all RooAbsReals.
Definition at line 3182 of file RooAbsReal.cxx.
Define default contents to print.
Reimplemented from RooPrintable.
Reimplemented in RooRealVar.
Definition at line 1379 of file RooAbsArg.cxx.
|
staticinherited |
Return a reference to the current default stream to use in Print().
Use the optional parameter to specify a new default stream (a reference to the old one is still returned). This method allows subclasses to provide an inline implementation of Print() without pulling in iostream.h.
Definition at line 268 of file RooPrintable.cxx.
|
virtualinherited |
Reimplemented in RooAbsGenContext, RooFitResult, RooNumGenConfig, and RooNumIntConfig.
Definition at line 237 of file RooPrintable.cxx.
|
virtualinherited |
Delete this object.
Typically called as a command via the interpreter. Normally use "delete" operator when object has been allocated on the heap.
Reimplemented in RooLinkedList, TAxis, TBtree, TCanvas, TClonesArray, TCollection, TDirectory, TDirectoryFile, TExMap, TFile, TGFrame, TGItemContext, TGTextEdit, THashList, THashTable, TKey, TKeySQL, TKeyXML, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TMap, TMVA::Results, TObjArray, TObjectTable, TOrdCollection, TProtoClass, TQCommand, TRefArray, TSystemDirectory, TSystemFile, TThread, TTree, TTreeViewer, TViewPubDataMembers, and TViewPubFunctions.
Definition at line 268 of file TObject.cxx.
|
inlineinherited |
Test whether we depend on (ie, are served by) the specified object.
Note that RooAbsArg objects are considered equivalent if they have the same name.
Definition at line 122 of file RooAbsArg.h.
|
inherited |
Test whether we depend on (ie, are served by) any object in the specified collection.
Uses the dependsOn(RooAbsArg&) member function.
Definition at line 717 of file RooAbsArg.cxx.
|
inherited |
Test whether we depend on (ie, are served by) an object with a specific name.
Definition at line 731 of file RooAbsArg.cxx.
|
inlineinherited |
Check whether this object depends on values served from the object passed as server.
| server | Test if server serves values to this. |
| ignoreArg | Ignore values served by this object. |
Definition at line 113 of file RooAbsArg.h.
|
inlineinherited |
Check whether this object depends on values from an element in the serverList.
| serverList | Test if one of the elements in this list serves values to this. |
| ignoreArg | Ignore values served by this object. |
Definition at line 104 of file RooAbsArg.h.
|
inherited |
Return function representing first, second or third order derivative of this function.
Definition at line 3887 of file RooAbsReal.cxx.
|
inherited |
Return function representing first, second or third order derivative of this function.
Definition at line 3877 of file RooAbsReal.cxx.
Computes distance from point (px,py) to the object.
This member function must be implemented for each graphics primitive. This default function returns a big number (999999).
Reimplemented in TASImage, TAxis3D, TAxis, TBox, TBRIK, TColorWheel, TCrown, TCurlyArc, TCurlyLine, TDiamond, TEfficiency, TEllipse, TF1, TF2, TF3, TFileDrawMap, TGenerator, TGeoBBox, TGeoCompositeShape, TGeoCone, TGeoConeSeg, TGeoEltu, TGeoHalfSpace, TGeoHype, TGeoNode, TGeoOverlap, TGeoParaboloid, TGeoPcon, TGeoPgon, TGeoScaledShape, TGeoShape, TGeoShapeAssembly, TGeoSphere, TGeoTessellated, TGeoTorus, TGeoTrack, TGeoTube, TGeoTubeSeg, TGeoVGShape, TGeoVolume, TGeoXtru, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLScenePad, TGLTH3Composition, TGLViewer, TGraph2D, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TH1, THistPainter, THStack, TLine, TMarker3DBox, TMarker, TMultiGraph, TNode, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPCON, TPie, TPieSlice, TPoints3DABC, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TScatter2D, TScatter, TSPHE, TSpider, TSpline, TStyle, TText, TTreePerfStats, TTUBE, TTUBS, TVirtualHistPainter, and TXTRU.
Definition at line 284 of file TObject.cxx.
|
protectedvirtualinherited |
Interface to ErrorHandler (protected).
Reimplemented in TThread, and TTreeViewer.
Definition at line 1059 of file TObject.cxx.
|
virtualinherited |
Base function for computing multiple values of a RooAbsReal.
| ctx | An evaluation context object |
Reimplemented in ParamHistFunc, PiecewiseInterpolation, RooAbsCachedPdf, RooAddition, RooAddModel, RooAddPdf, RooArgusBG, RooBernstein, RooBifurGauss, RooBinSamplingPdf, RooBinWidthFunction, RooBMixDecay, RooBreitWigner, RooBukinPdf, RooCBShape, RooChebychev, RooChiSquarePdf, RooConstraintSum, RooDstD0BG, RooExponential, RooFit::Detail::RooFixedProdPdf, RooFit::Detail::RooNormalizedPdf, RooFormulaVar, RooGamma, RooGaussian, RooGaussModel, RooGenericPdf, RooHistFunc, RooHistPdf, RooHypatia2, RooJohnson, RooLandau, RooLegacyExpPoly, RooLegendre, RooLognormal, RooNovosibirsk, RooPoisson, RooPolynomial, RooPolyVar, RooPowerSum, RooProduct, RooRatio, RooRealSumPdf, RooStats::HistFactory::FlexibleInterpVar, RooTruthModel, and RooVoigtian.
Definition at line 4111 of file RooAbsReal.cxx.
|
virtualinherited |
Default Draw method for all objects.
Reimplemented in RooAbsData, RooPlot, RooStats::HypoTestInverterPlot, RooStats::SamplingDistPlot, ROOT::Experimental::XRooFit::xRooNLLVar::xRooHypoPoint, ROOT::Experimental::XRooFit::xRooNLLVar::xRooHypoSpace, ROOT::Experimental::XRooFit::xRooNode, ROOT::RGeoPainter, TArrow, TASImage, TBox, TBrowser, TButton, TCanvas, TChain, TClass, TClassTree, TCollection, TColorWheel, TDiamond, TDirectory, TEfficiency, TEllipse, TEveGeoNode, TEveGeoTopNode, TF1, TF2, TF3, TFile, TFITSHDU, TFrame, TGenerator, TGeoBatemanSol, TGeometry, TGeoNode, TGeoOverlap, TGeoPainter, TGeoParallelWorld, TGeoPhysicalNode, TGeoPolygon, TGeoShape, TGeoTrack, TGeoVGShape, TGeoVolume, TGItemContext, TGListTree, TGPicture, TGraph2D, TGraph, TGraphPolar, TGraphPolargram, TGraphStruct, TGraphTime, TH1, THelix, THStack, TLegend, TMarker, TMatrixTBase< Element >, TMatrixTBase< Double_t >, TMatrixTBase< Float_t >, TMultiDimFit, TMultiGraph, TMultiLayerPerceptron, TNode, TNodeDiv, TPad, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TPave, TPaveLabel, TPavesText, TPaveText, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TRatioPlot, TSpider, TSpline, TStructViewer, TStructViewerGUI, TTree, TTreePerfStats, TVectorT< Element >, TVectorT< Double_t >, TVectorT< Float_t >, TVirtualPad, and TWbox.
Definition at line 293 of file TObject.cxx.
|
virtualinherited |
Draw class inheritance tree of the class to which this object belongs.
If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:
Reimplemented in TGFrame, TSystemDirectory, and TSystemFile.
Definition at line 308 of file TObject.cxx.
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
If pad was not selected - gPad will be used.
Reimplemented in TAxis, TCanvas, TGFrame, TSystemDirectory, and TSystemFile.
Definition at line 319 of file TObject.cxx.
|
virtualinherited |
Dump contents of object on stdout.
Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed
The following output is the Dump of a TArrow object:
Reimplemented in TClass, TCollection, TGFrame, TGPack, and TSystemFile.
Definition at line 367 of file TObject.cxx.
|
virtualinherited |
Definition at line 4237 of file RooAbsReal.cxx.
|
virtualinherited |
Issue error message.
Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.
Reimplemented in TFitResult.
Definition at line 1098 of file TObject.cxx.
|
staticinherited |
Definition at line 179 of file RooAbsReal.cxx.
|
staticinherited |
Return current evaluation error logging mode.
Definition at line 4070 of file RooAbsReal.cxx.
|
overrideprotectedvirtual |
Calculate current value of this object.
Implements RooAbsReal.
Definition at line 112 of file RooLinearVar.cxx.
|
virtualinherited |
Execute method on this object with the given parameter string, e.g.
"3.14,1,\"text\"".
Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.
Definition at line 378 of file TObject.cxx.
|
virtualinherited |
Execute method on this object with parameters stored in the TObjArray.
The TObjArray should contain an argv vector like:
Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.
Definition at line 398 of file TObject.cxx.
Execute action corresponding to an event at (px,py).
This method must be overridden if an object can react to graphics events.
Reimplemented in TASImage, TASPaletteEditor::LimitLine, TAxis3D, TAxis, TBox, TButton, TCanvas, TCrown, TCurlyArc, TCurlyLine, TDiamond, TEfficiency, TEllipse, TF1, TF2, TF3, TFrame, TGenerator, TGeoManager, TGeoNode, TGeoOverlap, TGeoShape, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLEventHandler, TGLHistPainter, TGLParametricEquation, TGLScenePad, TGLTH3Composition, TGLViewer, TGraph2D, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TGroupButton, TH1, THistPainter, TLine, TLink, TMarker3DBox, TMarker, TNode, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TScatter2D, TScatter, TSliderBox, TSpider, TSpline, TText, TTreePerfStats, TView3D, TView, TVirtualHistPainter, and TWbox.
Definition at line 415 of file TObject.cxx.
|
inherited |
Definition at line 2063 of file RooAbsArg.cxx.
|
virtualinherited |
Issue fatal error message.
Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.
Definition at line 1126 of file TObject.cxx.
|
virtualinherited |
Encode TNamed into output buffer.
Reimplemented in TDirectoryFile, TFile, TKey, TKeySQL, TKeyXML, TSQLFile, and TXMLFile.
Definition at line 103 of file TNamed.cxx.
|
inherited |
Fill a RooDataHist with values sampled from this function at the bin centers.
If extendedMode is true, the p.d.f. values is multiplied by the number of expected events in each bin
An optional scaling by a given scaleFactor can be performed. Returns a pointer to the input RooDataHist, or zero in case of an error.
If correctForBinSize is true the RooDataHist is filled with the functions density (function value times the bin volume) rather than function value.
If showProgress is true a process indicator is printed on stdout in steps of one percent, which is mostly useful for the sampling of expensive functions such as likelihoods
Definition at line 1118 of file RooAbsReal.cxx.
|
inherited |
Fill the ROOT histogram 'hist' with values sampled from this function at the bin centers.
Our value is calculated by first integrating out any variables in projectedVars and then scaling the result by scaleFactor. Returns a pointer to the input histogram, or zero in case of an error. The input histogram can be any TH1 subclass, and therefore of arbitrary dimension. Variables are matched with the (x,y,...) dimensions of the input histogram according to the order in which they appear in the input plotVars list. If scaleForDensity is true the histogram is filled with a the functions density rather than the functions value (i.e. the value at the bin center is multiplied with bin volume)
Definition at line 944 of file RooAbsReal.cxx.
|
overrideprotectedvirtualinherited |
Fill the tree branch that associated with this object with its current value.
Implements RooAbsArg.
Reimplemented in RooRealVar.
Definition at line 3085 of file RooAbsReal.cxx.
|
inherited |
Find branch nodes with all-constant parameters, and add them to the list of nodes that can be cached with a dataset in a test statistic calculation.
Definition at line 1633 of file RooAbsArg.cxx.
|
inherited |
Find branch nodes with all-constant parameters, and add them to the list of nodes that can be cached with a dataset in a test statistic calculation.
Definition at line 1649 of file RooAbsArg.cxx.
|
protectedinherited |
Utility function for createIntObj() that aids in the construct of recursive integrals over functions with multiple observables with parameterized ranges.
This function finds in a given set allObs over which integration is requested the largeset subset of observables that can be integrated simultaneously. This subset consists of observables with fixed ranges and observables with parameterized ranges whose parameterization does not depend on any observable that is also integrated.
Definition at line 698 of file RooAbsReal.cxx.
|
inherited |
Find the new server in the specified set that matches the old server.
| [in] | newSet | Search this set by name for a new server. |
| [in] | nameChange | If true, search for an item with the bool attribute "ORIGNAME:<oldName>" set. Use <object>.setAttribute("ORIGNAME:<oldName>") to set this attribute. |
Definition at line 1053 of file RooAbsArg.cxx.
|
virtualinherited |
Must be redefined in derived classes.
This function is typically used with TCollections, but can also be used to find an object by name inside this object.
Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.
Definition at line 425 of file TObject.cxx.
Must be redefined in derived classes.
This function is typically used with TCollections, but can also be used to find an object inside this object.
Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.
Definition at line 435 of file TObject.cxx.
|
inherited |
Return value of x (in range xmin,xmax) at which function equals yval.
(Calculation is performed with Brent root finding algorithm)
Definition at line 3939 of file RooAbsReal.cxx.
|
inlineinherited |
Return server of this with name name. Returns nullptr if not found.
Definition at line 147 of file RooAbsArg.h.
Return server of this that has the same name as arg. Returns nullptr if not found.
Definition at line 153 of file RooAbsArg.h.
Return i-th server from server list.
Definition at line 155 of file RooAbsArg.h.
|
protectedinherited |
Check if fit range is usable as plot range, i.e.
it is neither open ended, nor empty
Definition at line 476 of file RooAbsRealLValue.cxx.
|
virtualinherited |
Fix the interpretation of the coefficient of any RooAddPdf component in the expression tree headed by this object to the given set of observables.
If the force flag is false, the normalization choice is only fixed for those RooAddPdf components that have the default 'automatic' interpretation of coefficients (i.e. the interpretation is defined by the observables passed to getVal()). If force is true, also RooAddPdf that already have a fixed interpretation are changed to a new fixed interpretation.
Definition at line 3544 of file RooAbsReal.cxx.
|
virtualinherited |
Fix the interpretation of the coefficient of any RooAddPdf component in the expression tree headed by this object to the given set of observables.
If the force flag is false, the normalization range choice is only fixed for those RooAddPdf components that currently use the default full domain to interpret their coefficients. If force is true, also RooAddPdf that already have a fixed interpretation range are changed to a new fixed interpretation range.
Definition at line 3565 of file RooAbsReal.cxx.
Reimplemented in ParamHistFunc, RooAbsAnaConvPdf, RooAbsCachedPdf, RooAbsCachedReal, RooAddition, RooAddModel, RooAddPdf, RooBinSamplingPdf, RooExtendPdf, RooFit::Detail::RooFixedProdPdf, RooFit::Detail::RooNormalizedPdf, RooHistFunc, RooHistPdf, RooLagrangianMorphFunc, RooParamHistFunc, RooProdPdf, RooProduct, RooProjectedPdf, RooRealSumFunc, RooRealSumPdf, RooSimultaneous, and RooWrapperPdf.
Definition at line 170 of file RooAbsReal.h.
|
inlinevirtualinherited |
Definition at line 175 of file RooAbsReal.h.
|
inherited |
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.
Definition at line 357 of file RooAbsRealLValue.cxx.
|
inherited |
Create a new RooPlot on the heap with a drawing frame initialized for this object, but no plot contents.
The RooAbsRealLValue::frame() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
Use x.frame() as the first argument to a y.plotOn(...) method, for example. The caller is responsible for deleting the returned object.
| Optional arguments | |
|---|---|
| Range(double lo, double hi) | Make plot frame for the specified range |
| Range(const char* name) | Make plot frame for range with the specified name |
| Bins(Int_t nbins) | Set default binning for datasets to specified number of bins |
| AutoRange(const RooAbsData& data, double margin) | Specifies range so that all points in given data set fit inside the range with given margin. |
| AutoSymRange(const RooAbsData& data, double margin) | Specifies range so that all points in given data set fit inside the range and center of range coincides with mean of distribution in given dataset. |
| Name(const char* name) | Give specified name to RooPlot object |
| Title(const char* title) | Give specified title to RooPlot object |
Definition at line 199 of file RooAbsRealLValue.cxx.
|
inherited |
Back-end function for named argument frame() method.
Definition at line 216 of file RooAbsRealLValue.cxx.
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.
Definition at line 317 of file RooAbsRealLValue.cxx.
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.
Definition at line 304 of file RooAbsRealLValue.cxx.
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.
Definition at line 332 of file RooAbsRealLValue.cxx.
|
inherited |
Return a RooFunctor object bound to this RooAbsReal with given definition of observables and parameters.
Definition at line 3777 of file RooAbsReal.cxx.
|
virtualinherited |
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
'integSet' is the set of dependents for which integration is requested. The function should copy the subset of dependents it can analytically integrate to anaIntSet and return a unique identification code for this integration configuration. If no integration can be performed, zero should be returned.
Reimplemented in RooAddition, RooArgusBG, RooBernstein, RooBifurGauss, RooBinSamplingPdf, RooBreitWigner, RooCBShape, RooChebychev, RooChiSquarePdf, RooConvCoefVar, RooCrystalBall, RooDstD0BG, RooEfficiency, RooExponential, RooFit::Detail::RooFixedProdPdf, RooGamma, RooGaussExpTails, RooGaussian, RooGaussModel, RooGExpModel, RooHistFunc, RooHistPdf, RooHypatia2, RooJohnson, RooKeysPdf, RooLandau, RooLegacyExpPoly, RooLegendre, RooLognormal, RooMultiVarGaussian, RooNDKeysPdf, RooNonCentralChiSquare, RooNovosibirsk, RooParametricStepFunction, RooPoisson, RooPolynomial, RooPolyVar, RooPowerSum, RooSpHarmonic, RooStepFunction, RooStudentT, RooTruthModel, RooUniform, and RooWrapperPdf.
Definition at line 365 of file RooAbsReal.cxx.
|
virtualinherited |
Variant of getAnalyticalIntegral that is also passed the normalization set that should be applied to the integrand of which the integral is requested.
For certain operator p.d.f it is useful to overload this function rather than analyticalIntegralWN() as the additional normalization information may be useful in determining a more efficient decomposition of the requested integral.
Reimplemented in ParamHistFunc, PiecewiseInterpolation, RooAbsAnaConvPdf, RooAbsCachedPdf, RooAbsCachedReal, RooAddModel, RooAddPdf, RooBinSamplingPdf, RooExtendPdf, RooFit::Detail::RooFixedProdPdf, RooFit::Detail::RooNormalizedPdf, RooLagrangianMorphFunc, RooParamHistFunc, RooProdPdf, RooProduct, RooProjectedPdf, RooRealSumFunc, RooRealSumPdf, RooSimultaneous, and RooWrapperPdf.
Definition at line 348 of file RooAbsReal.cxx.
Check if a named attribute is set. By default, all attributes are unset.
Definition at line 243 of file RooAbsArg.cxx.
|
inlineoverridevirtualinherited |
Implements RooAbsLValue.
Definition at line 50 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Definition at line 60 of file RooAbsRealLValue.h.
|
inlineoverridevirtualinherited |
Implements RooAbsLValue.
Definition at line 57 of file RooAbsRealLValue.h.
|
overridevirtual |
Const version of getBinning().
Implements RooAbsRealLValue.
Definition at line 237 of file RooLinearVar.cxx.
|
overridevirtual |
Retrieve binning of this linear transformation.
A RooLinearVar does not have its own binnings but uses linearly transformed binnings of the input variable. If a given binning exists on the input variable, it will also exist on this linear transformation, and a binning adaptor object is created on the fly.
Implements RooAbsRealLValue.
Definition at line 205 of file RooLinearVar.cxx.
|
overridevirtual |
Get a list of all binning names.
An empty name implies the default binning. A 0 pointer should be passed to getBinning in this case.
Implements RooAbsLValue.
Definition at line 246 of file RooLinearVar.cxx.
|
inlineoverridevirtualinherited |
Implements RooAbsLValue.
Definition at line 56 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Get number of bins of currently defined range.
| name | Optionally, request number of bins for range with given name. |
Definition at line 78 of file RooAbsRealLValue.h.
|
inlineoverridevirtualinherited |
Implements RooAbsLValue.
Definition at line 52 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Definition at line 62 of file RooAbsRealLValue.h.
|
inherited |
Return registered cache object by index.
Definition at line 1902 of file RooAbsArg.cxx.
|
inherited |
Create a RooArgSet with all components (branch nodes) of the expression tree headed by this object.
Definition at line 675 of file RooAbsArg.cxx.
|
virtualinherited |
Get option used by the graphics system to draw this object.
Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.
Reimplemented in TBrowser, TFitEditor, TGedFrame, TGFileBrowser, TRootBrowser, and TRootBrowserLite.
Definition at line 445 of file TObject.cxx.
|
staticinherited |
Return destructor only flag.
Definition at line 1196 of file TObject.cxx.
|
inlineinherited |
Definition at line 180 of file RooAbsReal.h.
|
virtualinherited |
Returns mime type name of object.
Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.
Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TASImage, TBranch, TBranchElement, TGeoVolume, TGMainFrame, TKey, TMethodBrowsable, TSystemFile, and TVirtualBranchBrowsable.
Definition at line 472 of file TObject.cxx.
|
inherited |
Return the numeric integration configuration used for this object.
If a specialized configuration was associated with this object, that configuration is returned, otherwise the default configuration for all RooAbsReals is returned
Definition at line 3231 of file RooAbsReal.cxx.
|
inherited |
Return the numeric integration configuration used for this object.
If a specialized configuration was associated with this object, that configuration is returned, otherwise the default configuration for all RooAbsReals is returned
Definition at line 3219 of file RooAbsReal.cxx.
|
inlinevirtualinherited |
Get maximum of currently defined range.
| name | Optionally, request maximum of range with given name. |
Definition at line 84 of file RooAbsRealLValue.h.
Advertise capability to determine maximum value of function for given set of observables.
If no direct generator method is provided, this information will assist the accept/reject generator to operate more efficiently as it can skip the initial trial sampling phase to empirically find the function maximum
Reimplemented in RooBinSamplingPdf, RooCBShape, RooCrystalBall, RooFFTConvPdf, RooHistFunc, RooHistPdf, RooKeysPdf, RooLegendre, RooSpHarmonic, RooStudentT, and RooWrapperPdf.
Definition at line 3282 of file RooAbsReal.cxx.
|
inlinevirtualinherited |
Get minimum of currently defined range.
| name | Optionally, request minimum of range with given name. |
Definition at line 81 of file RooAbsRealLValue.h.
|
inlineoverridevirtualinherited |
Returns string containing info about the object at position (px,py).
This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).
Reimplemented in TASImage, TAxis3D, TColorWheel, TF1, TF2, TFileDrawMap, TGeoNode, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph, TH1, THistPainter, TNode, TPaletteAxis, TParallelCoordVar, and TVirtualHistPainter.
Definition at line 491 of file TObject.cxx.
|
staticinherited |
Get status of object stat flag.
Definition at line 1181 of file TObject.cxx.
|
inherited |
Create a list of leaf nodes in the arg tree starting with ourself as top node that match any of the names the args in the supplied argset.
Returns true only if something went wrong. The complement of this function is getParameters().
| [in] | dataList | Set of leaf nodes to match. |
| [out] | outputSet | Output set. |
| [in] | valueOnly | If this parameter is true, we only match leaves that depend on the value of any arg in dataList. |
Definition at line 644 of file RooAbsArg.cxx.
|
inherited |
Return the observables of this pdf given the observables defined by data.
Definition at line 602 of file RooAbsArg.cxx.
|
inherited |
Create a list of leaf nodes in the arg tree starting with ourself as top node that match any of the names of the variable list of the supplied data set (the dependents).
The caller of this function is responsible for deleting the returned argset. The complement of this function is getParameters().
Definition at line 613 of file RooAbsArg.cxx.
|
inherited |
Given a set of possible observables, return the observables that this PDF depends on.
Definition at line 596 of file RooAbsArg.cxx.
|
inherited |
Create a list of leaf nodes in the arg tree starting with ourself as top node that match any of the names the args in the supplied argset.
The caller of this function is responsible for deleting the returned argset. The complement of this function is getParameters().
Definition at line 627 of file RooAbsArg.cxx.
|
inlinevirtualinherited |
Reimplemented in TArrow, TAxis3D, TFile, TGaxis, TGeoVolume, TH1, THelix, TLegendEntry, TMapFile, TNode, TPave, TPoints3DABC, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPSocket, TSelector, TSocket, and TUDPSocket.
|
inherited |
Return the parameters of this p.d.f when used in conjunction with dataset 'data'.
Definition at line 515 of file RooAbsArg.cxx.
|
inherited |
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of the names of the variable list of the supplied data set (the dependents).
The caller of this function is responsible for deleting the returned argset. The complement of this function is getObservables()
Definition at line 509 of file RooAbsArg.cxx.
|
inherited |
Return the parameters of the p.d.f given the provided set of observables.
Definition at line 521 of file RooAbsArg.cxx.
|
inherited |
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of the names the args in the supplied argset.
The caller of this function is responsible for deleting the returned argset. The complement of this function is getObservables().
Definition at line 532 of file RooAbsArg.cxx.
|
virtualinherited |
Fills a list with leaf nodes in the arg tree starting with ourself as top node that don't match any of the names the args in the supplied argset.
Returns true only if something went wrong. The complement of this function is getObservables().
| [in] | observables | Set of leaves to ignore because they are observables and not parameters. |
| [out] | outputSet | Output set. |
| [in] | stripDisconnected | Allow pdf to strip parameters from list before adding it. |
Reimplemented in RooStats::HistFactory::RooBarlowBeestonLL, and ROOT::Experimental::XRooFit::ProgressMonitor.
Definition at line 583 of file RooAbsArg.cxx.
|
inlineprotectedvirtualinherited |
Reimplemented in RooMultiPdf, and RooMultiReal.
Definition at line 533 of file RooAbsArg.h.
|
inherited |
Get the label associated with the variable.
Definition at line 403 of file RooAbsReal.cxx.
|
inherited |
Propagates parameter uncertainties to an uncertainty estimate for this RooAbsReal.
Estimates the uncertainty \(\sigma_f(x;\theta)\) on a function \(f(x;\theta)\) represented by this RooAbsReal. Here, \(\theta\) is a vector of parameters with uncertainties \(\sigma_\theta\), and \(x\) are usually observables. The uncertainty is estimated by linearly propagating the parameter uncertainties using the correlation matrix from a fit result.
The square of the uncertainty on \(f(x;\theta)\) is calculated as follows:
\[ \sigma_f(x)^2 = \Delta f_i(x) \cdot \mathrm{Corr}_{i, j} \cdot \Delta f_j(x), \]
where \( \Delta f_i(x) = \frac{1}{2} \left(f(x;\theta_i + \sigma_{\theta_i}) - f(x; \theta_i - \sigma_{\theta_i}) \right) \) is the vector of function variations when changing the parameters one at a time, and \( \mathrm{Corr}_{i,j} = \left(\sigma_{\theta_i} \sigma_{\theta_j}\right)^{-1} \cdot \mathrm{Cov}_{i,j} \) is the correlation matrix from the fit result.
Definition at line 2432 of file RooAbsReal.cxx.
|
inherited |
Return the nth proxy from the proxy list.
Definition at line 1271 of file RooAbsArg.cxx.
|
inlineinherited |
Get low and high bound of the variable.
| name | Optional range name. If not given, the default range will be used. |
Definition at line 88 of file RooAbsRealLValue.h.
Get string attribute mapped under key 'key'.
Returns null pointer if no attribute exists under that key
Definition at line 269 of file RooAbsArg.cxx.
|
inlineoverridevirtualinherited |
Return this variable's title string.
If appendUnit is true and this variable has units, also append a string " (<unit>)".
Definition at line 282 of file RooAbsReal.cxx.
Check if a named attribute is set.
By default, all attributes are unset.
Definition at line 295 of file RooAbsArg.cxx.
|
virtualinherited |
Return the unique object id.
Definition at line 480 of file TObject.cxx.
|
inlineinherited |
Definition at line 149 of file RooAbsReal.h.
Like getVal(const RooArgSet*), but always requires an argument for normalisation.
Definition at line 130 of file RooAbsReal.h.
Evaluate object.
Returns either cached value or triggers a recalculation. The recalculation happens by calling getValV(), which in the end calls the virtual evaluate() functions of the respective PDFs.
| [in] | normalisationSet | getValV() reacts differently depending on the value of the normalisation set. If the set is nullptr, an unnormalised value is returned. |
To normalise the result properly, a RooArgSet has to be passed, which contains the variables to normalise over. These are integrated over their current ranges to compute the normalisation constant, and the unnormalised result is divided by this value.
Definition at line 107 of file RooAbsReal.h.
Calling RooAbsReal::getVal() with an r-value reference is a common performance trap, because this usually happens when implicitly constructing the RooArgSet to be used as the parameter (for example, in calls like pdf.getVal(x)).
Creating the RooArgSet can cause quite some overhead, especially when the evaluated object is just a simple variable. Even worse, many RooFit objects internally cache information using the uniqueId() of the normalization set as the key. So by constructing normalization sets in place, RooFits caching logic is broken.
To avoid these kind of problems, getVal() will just throw an error when it's called with an r-value reference. This also catches the cases where one uses it in Python, implicitly creating the normalization set from a Python list or set.
Definition at line 4265 of file RooAbsReal.cxx.
Return value of object.
If the cache is clean, return the cached value, otherwise recalculate on the fly and refill the cache
Reimplemented in RooAbsCachedPdf, RooAbsCachedReal, RooAbsHiddenReal, RooAbsPdf, RooAddPdf, RooConstVar, RooConvCoefVar, RooErrorVar, RooFit::Detail::RooNormalizedPdf, RooMomentMorph, RooMomentMorphFunc, RooRealIntegral, RooRealVar, RooResolutionModel, and ROOT::Experimental::XRooFit::ProgressMonitor.
Definition at line 297 of file RooAbsReal.cxx.
|
inherited |
Return RooArgSet with all variables (tree leaf nodes of expression tree).
Definition at line 1909 of file RooAbsArg.cxx.
|
staticprotectedinherited |
Global switch controlling the activation of the selectComp() functionality.
Definition at line 2952 of file RooAbsReal.cxx.
|
inlinevirtualinherited |
Definition at line 386 of file RooAbsReal.h.
|
protectedinherited |
Utility function that inserts all point-to-point client-server connections between any two RooAbsArgs in the expression tree headed by this object in the linkSet argument.
Definition at line 2000 of file RooAbsArg.cxx.
|
inherited |
Create a GraphViz .dot file visualizing the expression tree headed by this RooAbsArg object.
Use the GraphViz tool suite to make e.g. a gif or ps file from the .dot file. If a node derives from RooAbsReal, its current (unnormalised) value is printed as well.
Based on concept developed by Kyle Cranmer.
Definition at line 1922 of file RooAbsArg.cxx.
|
inherited |
Write the GraphViz representation of the expression tree headed by this RooAbsArg object to the given ostream.
If a node derives from RooAbsReal, its current (unnormalised) value is printed as well.
Based on concept developed by Kyle Cranmer.
Definition at line 1940 of file RooAbsArg.cxx.
Execute action in response of a timer timing out.
This method must be overridden if an object has to react to timers.
Reimplemented in TGCommandPlugin, TGDNDManager, TGFileContainer, TGHtml, TGLEventHandler, TGPopupMenu, TGraphTime, TGScrollBar, TGShutter, TGTextEdit, TGTextEditor, TGTextEntry, TGTextView, TGToolTip, TGuiBldDragManager, TGWindow, and TTreeViewer.
Definition at line 516 of file TObject.cxx.
|
overridevirtual |
Returns true if binning with given name exists.If a given binning exists on the input variable, it will also exists on this linear transformation.
Implements RooAbsRealLValue.
Definition at line 262 of file RooLinearVar.cxx.
|
inlineinherited |
Definition at line 128 of file RooAbsArg.h.
|
inlineinherited |
Definition at line 636 of file RooAbsArg.h.
|
inlinevirtualinherited |
Definition at line 384 of file RooAbsReal.h.
|
inlineoverridevirtualinherited |
Return hash value for this object.
Note: If this routine is overloaded in a derived class, this derived class should also add
Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like
Reimplemented from TObject.
|
inlinevirtualinherited |
Definition at line 385 of file RooAbsReal.h.
|
inlineinherited |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
missing call to RecursiveRemove in destructor).
Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)
|
inlineinherited |
Check if variable has an upper bound.
Definition at line 95 of file RooAbsRealLValue.h.
|
inlineinherited |
Check if variable has a lower bound.
Definition at line 93 of file RooAbsRealLValue.h.
|
inlineoverridevirtualinherited |
Check if variable has a binning with given name.
Reimplemented from RooAbsArg.
Definition at line 97 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Definition at line 389 of file RooAbsReal.h.
|
staticinherited |
Definition at line 189 of file RooAbsReal.cxx.
|
inlinevirtualinherited |
Reimplemented in RooHistFunc, and RooHistPdf.
Definition at line 507 of file RooAbsArg.h.
|
virtualinherited |
Issue info message.
Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.
Definition at line 1072 of file TObject.cxx.
|
virtualinherited |
Returns kTRUE if object inherits from class "classname".
Reimplemented in TClass.
Definition at line 549 of file TObject.cxx.
Returns kTRUE if object inherits from TClass cl.
Reimplemented in TClass.
Definition at line 557 of file TObject.cxx.
|
protectedinherited |
Definition at line 100 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Check if current value is inside range with given name.
Multiple comma-separated ranges can be passed. In this case, it will be checked if the value is in any of these ranges.
Reimplemented from RooAbsArg.
Definition at line 487 of file RooAbsRealLValue.cxx.
|
inherited |
Return true if the input value is within our fit range.
Otherwise, return false and write a clipped value into clippedValPtr if it is non-zero.
Definition at line 82 of file RooAbsRealLValue.cxx.
|
inherited |
Vectorized version of RooAbsRealLValue::inRange(double, const char*, double*).
Definition at line 111 of file RooAbsRealLValue.cxx.
|
virtualinherited |
Dump contents of this object in a graphics canvas.
Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.
The following picture is the Inspect of a histogram object:
Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TGFrame, TInspectorObject, and TSystemFile.
Definition at line 570 of file TObject.cxx.
|
protectedinherited |
Construct string with unique suffix name to give to integral object that encodes integrated observables, normalization observables and the integration range name.
Definition at line 752 of file RooAbsReal.cxx.
|
protectedvirtualinherited |
Method called by workspace container to finalize schema evolution issues that cannot be handled in a single ioStreamer pass.
A second pass is typically needed when evolving data member of RooAbsArg-derived classes that are container classes with references to other members, which may not yet be 'live' in the first ioStreamer() evolution pass.
Classes may overload this function, but must call the base method in the overloaded call to ensure base evolution is handled properly
Reimplemented in RooHistFunc, and RooProduct.
Definition at line 2145 of file RooAbsArg.cxx.
|
staticprotectedinherited |
Method called by workspace container to finalize schema evolution issues that cannot be handled in a single ioStreamer pass.
This static finalize method is called after ioStreamerPass2() is called on each directly listed object in the workspace. It's purpose is to complete schema evolution of any objects in the workspace that are not directly listed as content elements (e.g. analytical convolution tokens )
Definition at line 2169 of file RooAbsArg.cxx.
|
inlineoverridevirtual |
Reimplemented from RooAbsRealLValue.
Definition at line 69 of file RooLinearVar.h.
Tests if the distribution is binned. Unless overridden by derived classes, this always returns false.
Reimplemented in ParamHistFunc, PdfWrapper, PiecewiseInterpolation, RooAddition, RooAddPdf, RooBinSamplingPdf, RooBinWidthFunction, RooHistFunc, RooHistPdf, RooLagrangianMorphFunc, RooMomentMorphFunc, RooParamHistFunc, RooProdPdf, RooProduct, RooRealSumFunc, RooRealSumPdf, and RooWrapperPdf.
Definition at line 343 of file RooAbsReal.h.
|
inlinevirtualinherited |
Reimplemented in RooAbsCategory.
Definition at line 521 of file RooAbsArg.h.
|
inlineinherited |
Check if the "Constant" attribute is set.
Definition at line 283 of file RooAbsArg.h.
|
inlinevirtualinherited |
Does value or shape of this arg depend on any other arg?
Reimplemented in RooCategory, RooConstVar, and RooRealVar.
Definition at line 97 of file RooAbsArg.h.
|
inlineinherited |
IsDestructed.
Default equal comparison (objects are equal if they have the same address in memory).
More complicated classes might want to override this function.
Reimplemented in TGObject, TObjString, TPair, and TQCommand.
Definition at line 589 of file TObject.cxx.
|
virtualinherited |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Reimplemented in ROOT::Experimental::XRooFit::xRooNode, ROOT::Internal::THnBaseBrowsable, TApplicationRemote, TAxis3D, TBaseClass, TBranch, TBranchClones, TBranchElement, TBranchObject, TBranchSTL, TBrowserObject, TCanvas, TClass, TCollection, TDatabasePDG, TDirectory, TFolder, TGeoManager, TGeometry, TGeoNode, TGeoNodeMatrix, TGeoOverlap, TGeoTrack, TGeoVolume, THbookFile, THbookKey, THnBase, TKey, TMapFile, TMultiDimFit, TNode, TPad, TPair, TParticleClassPDG, TPrincipal, TRemoteObject, TROOT, TRootIconList, TSPlot, TSystemDirectory, TTask, TTree, and TVirtualBranchBrowsable.
Definition at line 579 of file TObject.cxx.
|
inlinevirtualinherited |
Is this object a fundamental type that can be added to a dataset?
Fundamental-type subclasses override this method to return true. Note that this test is subtlely different from the dynamic isDerived() test, e.g. a constant is not derived but is also not fundamental.
Reimplemented in RooCategory, RooErrorVar, RooRealVar, and RooStringVar.
Definition at line 175 of file RooAbsArg.h.
|
overridevirtualinherited |
Implements RooAbsArg.
Definition at line 267 of file RooAbsReal.cxx.
Returns true if Jacobian term associated with current expression tree is indeed constant.
Reimplemented from RooAbsRealLValue.
Definition at line 144 of file RooLinearVar.cxx.
|
inlineoverridevirtualinherited |
Is this argument an l-value, i.e., can it appear on the left-hand side of an assignment expression?
LValues are also special since they can potentially be analytically integrated and generated.
Reimplemented from RooAbsArg.
Definition at line 103 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Definition at line 367 of file RooAbsReal.h.
|
inlinevirtualinherited |
Definition at line 514 of file RooAbsArg.h.
|
inherited |
If true, the current pdf is a selected component (for use in plotting).
Definition at line 2942 of file RooAbsReal.cxx.
|
inlineinherited |
Definition at line 350 of file RooAbsArg.h.
|
inlineinherited |
Check if this is serving shape to an object with name name.
Definition at line 163 of file RooAbsArg.h.
Check if this is serving shape to arg.
Definition at line 161 of file RooAbsArg.h.
|
inlineoverridevirtualinherited |
Reimplemented from TObject.
Definition at line 290 of file RooAbsArg.h.
|
inlineoverrideprotectedvirtualinherited |
Check if current value is valid.
Reimplemented from RooAbsArg.
Reimplemented in RooRealIntegral.
Definition at line 445 of file RooAbsReal.h.
|
overridevirtualinherited |
Check if given value is valid.
Reimplemented from RooAbsReal.
Definition at line 133 of file RooAbsRealLValue.cxx.
|
inlineinherited |
Definition at line 356 of file RooAbsArg.h.
|
inlineinherited |
Definition at line 372 of file RooAbsArg.h.
|
inlineinherited |
Definition at line 390 of file RooAbsArg.h.
|
inlineinherited |
Check if this is serving values to an object with name name.
Definition at line 159 of file RooAbsArg.h.
Check if this is serving values to arg.
Definition at line 157 of file RooAbsArg.h.
|
overridevirtual |
Return value of Jacobian associated with the transformation.
Reimplemented from RooAbsRealLValue.
Definition at line 168 of file RooLinearVar.cxx.
|
inherited |
Fill supplied list with all leaf nodes of the arg tree, starting with ourself as top node.
A leaf node is node that has no servers declared.
Definition at line 443 of file RooAbsArg.cxx.
|
inlineinherited |
Definition at line 632 of file RooAbsArg.h.
|
inherited |
Log evaluation error message.
Evaluation errors may be routed through a different protocol than generic RooFit warning message (which go straight through RooMsgService) because evaluation errors can occur in very large numbers in the use of likelihood evaluations. In logEvalError mode, controlled by global method enableEvalErrorLogging() messages reported through this function are not printed but all stored in a list, along with server values at the time of reporting. Error messages logged in this way can be printed in a structured way, eliminating duplicates and with the ability to truncate the list by printEvalErrors. This is the standard mode of error logging during MINUIT operations. If enableEvalErrorLogging() is false, all errors reported through this method are passed for immediate printing through RooMsgService. A string with server names and values is constructed automatically for error logging purposes, unless a custom string with similar information is passed as argument.
Definition at line 3358 of file RooAbsReal.cxx.
|
staticinherited |
Interface to insert remote error logging messages received by RooRealMPFE into current error logging stream.
Definition at line 3302 of file RooAbsReal.cxx.
|
overridevirtualinherited |
List TNamed name and title.
Reimplemented from TObject.
Reimplemented in ROOT::Experimental::XRooFit::xRooBrowser, TNode, TROOT, TStreamerBase, TStreamerElement, TStreamerInfo, TStreamerSTL, TTask, TText, and TVirtualStreamerInfo.
Definition at line 112 of file TNamed.cxx.
|
privateinherited |
Definition at line 2185 of file RooAbsArg.cxx.
|
protectedinherited |
Utility function for plotOn() that constructs the set of observables to project when plotting ourselves as function of 'plotVar'.
'allVars' is the list of variables that must be projected, but may contain variables that we do not depend on. If 'silent' is cleared, warnings about inconsistent input parameters will be printed.
Definition at line 2889 of file RooAbsReal.cxx.
|
inlineprotectedinherited |
Definition at line 425 of file RooAbsReal.h.
|
protectedinherited |
Utility function for use in getAnalyticalIntegral().
If the contents of 'refset' occur in set 'allDeps' then the arguments held in 'refset' are copied from allDeps to analDeps.
Definition at line 3131 of file RooAbsReal.cxx.
|
protectedinherited |
Check if allArgs contains matching elements for each name in nameList.
If it does, add the corresponding args from allArgs to matchedArgs and return true. Otherwise return false and do not change matchedArgs.
Definition at line 3151 of file RooAbsReal.cxx.
Return maximum value for set of observables identified by code assigned in getMaxVal.
Reimplemented in RooBinSamplingPdf, RooCBShape, RooCrystalBall, RooFFTConvPdf, RooHistFunc, RooHistPdf, RooKeysPdf, RooLegendre, RooSpHarmonic, RooStudentT, and RooWrapperPdf.
Definition at line 3291 of file RooAbsReal.cxx.
|
inherited |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
Definition at line 1160 of file TObject.cxx.
|
inlineinherited |
Definition at line 356 of file RooAbsReal.h.
|
inlineinherited |
Definition at line 357 of file RooAbsReal.h.
Reimplemented in RooBinSamplingPdf, and RooWrapperPdf.
Definition at line 238 of file RooAbsReal.h.
|
inherited |
Return function representing moment of p.d.f (normalized w.r.t given observables) of given order.
| [in] | obs | Observable to calculate the moments for |
| [in] | normObs | Normalise w.r.t. these observables |
| [in] | order | Order of the moment |
| [in] | central | If true, the central moment is given by \( \langle (x- \langle x \rangle )^2 \rangle \) |
| [in] | takeRoot | Calculate the square root |
| [in] | intNormObs | If true, the moment of the function integrated over all normalization observables is returned. |
Definition at line 3922 of file RooAbsReal.cxx.
|
inherited |
Return function representing moment of function of given order.
| [in] | obs | Observable to calculate the moments for |
| [in] | order | Order of the moment |
| [in] | central | If true, the central moment is given by \( \langle (x- \langle x \rangle )^2 \rangle \) |
| [in] | takeRoot | Calculate the square root |
Definition at line 3903 of file RooAbsReal.cxx.
|
staticinherited |
Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to given amount.
Definition at line 59 of file RooPrintable.cxx.
|
inlineinherited |
De-duplicated pointer to this object's name.
This can be used for fast name comparisons. like if (namePtr() == other.namePtr()).
Definition at line 502 of file RooAbsArg.h.
|
virtualinherited |
This method must be overridden to handle object notification (the base implementation is no-op).
Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.
For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.
Reimplemented in h1analysis, h1analysisTreeReader, TARInterruptHandler, TASInputHandler, TASInterruptHandler, TASLogHandler, TASSigPipeHandler, TBlinkTimer, TBranchElement, TBranchRef, TBreakLineCom, TBrowserTimer, TCollection, TDelCharCom, TDelTextCom, TFileHandler, TGContainerKeyboardTimer, TGContainerScrollTimer, TGInputHandler, TGLRedrawTimer, TGTextEditHist, TGuiBldDragManagerRepeatTimer, TIdleTimer, TInsCharCom, TInsTextCom, TInterruptHandler, TLeafObject, TMessageHandler, TNotifyLink< Type >, TNotifyLink< RNoCleanupNotifierHelper >, TNotifyLink< ROOT::Detail::TBranchProxy >, TNotifyLink< TTreeReader >, TPopupDelayTimer, TProcessEventTimer, TRefTable, TRepeatTimer, TSBRepeatTimer, TSelector, TSelectorDraw, TSelectorEntries, TSignalHandler, TSingleShotCleaner, TSocketHandler, TStdExceptionHandler, TSysEvtHandler, TTermInputHandler, TThreadTimer, TTimeOutTimer, TTimer, TTipDelayTimer, TTree, TTreeFormula, TTreeFormulaManager, TTreeReader, TViewTimer, and TViewUpdateTimer.
Definition at line 618 of file TObject.cxx.
|
inlineoverridevirtualinherited |
Implements RooAbsLValue.
Definition at line 51 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Definition at line 61 of file RooAbsRealLValue.h.
|
inherited |
Return number of registered caches.
Definition at line 1895 of file RooAbsArg.cxx.
|
staticinherited |
Definition at line 174 of file RooAbsReal.cxx.
|
staticinherited |
Return the number of logged evaluation errors since the last clearing.
Definition at line 3518 of file RooAbsReal.cxx.
|
inherited |
Return the number of registered proxies.
Definition at line 1281 of file RooAbsArg.cxx.
|
inherited |
Test if any of the dependents of the arg tree (as determined by getObservables) overlaps with those of the testArg.
Definition at line 775 of file RooAbsArg.cxx.
|
inherited |
Test if any of the dependents of the arg tree (as determined by getObservables) overlaps with those of the testArg.
Definition at line 783 of file RooAbsArg.cxx.
|
inherited |
Use this method to declare a method obsolete.
Specify as of which version the method is obsolete and as from which version it will be removed.
Definition at line 1169 of file TObject.cxx.
|
inlinevirtualinherited |
Definition at line 368 of file RooAbsReal.h.
|
inherited |
Operator delete for sized deallocation.
Definition at line 1234 of file TObject.cxx.
|
inherited |
Operator delete.
Definition at line 1212 of file TObject.cxx.
|
inherited |
Only called by placement new when throwing an exception.
Definition at line 1266 of file TObject.cxx.
|
inherited |
Operator delete [] for sized deallocation.
Definition at line 1245 of file TObject.cxx.
|
inherited |
Operator delete [].
Definition at line 1223 of file TObject.cxx.
|
inherited |
Only called by placement new[] when throwing an exception.
Definition at line 1274 of file TObject.cxx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Assignment operator from a double.
Reimplemented from RooAbsRealLValue.
Definition at line 46 of file RooAbsRealLValue.cxx.
Equality operator when comparing to another RooAbsArg.
Only functional when the other arg is a RooAbsReal
Implements RooAbsArg.
Definition at line 258 of file RooAbsReal.cxx.
Equality operator comparing to a double.
Definition at line 247 of file RooAbsReal.cxx.
|
inlineinherited |
Query the operation mode of this node.
Definition at line 419 of file RooAbsArg.h.
|
inlineprotectedvirtualinherited |
Reimplemented in RooCachedReal.
Definition at line 526 of file RooAbsArg.h.
|
virtualinherited |
Activate cache mode optimization with given definition of observables.
The cache operation mode of all objects in the expression tree will modified such that all nodes that depend directly or indirectly on any of the listed observables will be set to ADirty, as they are expected to change every time. This save change tracking overhead for nodes that are a priori known to change every time
Definition at line 1556 of file RooAbsArg.cxx.
|
virtualinherited |
Activate cache mode optimization with given definition of observables.
The cache operation mode of all objects in the expression tree will modified such that all nodes that depend directly or indirectly on any of the listed observables will be set to ADirty, as they are expected to change every time. This save change tracking overhead for nodes that are a priori known to change every time
Definition at line 1574 of file RooAbsArg.cxx.
|
inlineprotectedvirtualinherited |
Definition at line 528 of file RooAbsArg.h.
Test if any of the nodes of tree are shared with that of the given tree.
Definition at line 764 of file RooAbsArg.cxx.
|
inlineinherited |
Definition at line 486 of file RooAbsArg.h.
|
virtualinherited |
This method must be overridden if a class wants to paint itself.
The difference between Paint() and Draw() is that when a object draws itself it is added to the display list of the pad in which it is drawn (and automatically redrawn whenever the pad is redrawn). While paint just draws the object without adding it to the pad display list.
Reimplemented in ROOT::Experimental::RTreeMapPainter, ROOT::RGeoPainter, TAnnotation, TArrow, TASImage, TASPaletteEditor::LimitLine, TASPaletteEditor::PaintPalette, TAxis3D, TBits, TBox, TButton, TCanvas, TClassTree, TCollection, TColorWheel, TCrown, TDiamond, TDirectory, TEfficiency, TEllipse, TEveArrow, TEveCaloViz, TEveDigitSet, TEveGeoShape, TEveGeoTopNode, TEvePlot3D, TEvePointSet, TEveProjectionAxes, TEveScene, TEveShape, TEveStraightLineSet, TEveText, TEveTriangleSet, TExec, TF1, TF2, TF3, TFile, TFileDrawMap, TFrame, TGaxis, TGenerator, TGeoBoolNode, TGeoIntersection, TGeoNode, TGeoOverlap, TGeoPainter, TGeoPhysicalNode, TGeoShape, TGeoSubtraction, TGeoTrack, TGeoUnion, TGeoVGShape, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph2D, TGraph2DPainter, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TGraphTime, TH1, THistPainter, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TNode, TNodeDiv, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TRatioPlot, TScatter2D, TScatter, TShape, TSpectrum2Painter, TSpider, TSpline, TSQLFile, TStyle, TText, TTreePerfStats, TVirtualGeoPainter, TVirtualGeoTrack, TVirtualHistPainter, TVirtualPad, TWbox, and TXMLFile.
Definition at line 631 of file TObject.cxx.
|
protectedvirtualinherited |
Definition at line 2176 of file RooAbsReal.cxx.
|
virtualinherited |
Plot (project) PDF on specified frame.
The RooAbsReal::plotOn() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArgs of the function.
If a PDF is plotted in an empty frame, it will show a unit normalized curve in the frame variable, taken at the present value of other observables defined for this PDF.
| [in] | frame | pointer to RooPlot |
| [in] | arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10 | Ordered arguments |
If a PDF is plotted in a frame in which a dataset has already been plotted, it will show a projected curve integrated over all variables that were present in the shown dataset except for the one on the x-axis. The normalization of the curve will also be adjusted to the event count of the plotted dataset. An informational message will be printed for each projection step that is performed.
This function takes the following named arguments
| Projection control | |
|---|---|
| Slice(const RooArgSet& set) | Override default projection behaviour by omitting observables listed in set from the projection, i.e. by not integrating over these. Slicing is usually only sensible in discrete observables, by e.g. creating a slice of the PDF at the current value of the category observable. |
| Slice(RooCategory& cat, const char* label) | Override default projection behaviour by omitting the specified category observable from the projection, i.e., by not integrating over all states of this category. The slice is positioned at the given label value. To pass multiple Slice() commands, please use the Slice(std::map<RooCategory*, std::string> const&) argument explained below. |
| Slice(std::map<RooCategory*, std::string> const&) | Omits multiple categories from the projection, as explianed above. Can be used with initializer lists for convenience, e.g. RooPlot * frame(const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={}) const Create a new RooPlot on the heap with a drawing frame initialized for this object,... Definition RooAbsRealLValue.cxx:199 |
| Project(const RooArgSet& set) | Override default projection behaviour by projecting over observables given in the set, ignoring the default projection behavior. Advanced use only. |
| ProjWData(const RooAbsData& d) | Override default projection technique (integration). For observables present in given dataset projection of PDF is achieved by constructing an average over all observable values in given set. Consult RooFit plotting tutorial for further explanation of meaning & use of this technique |
| ProjWData(const RooArgSet& s, const RooAbsData& d) | As above but only consider subset 's' of observables in dataset 'd' for projection through data averaging |
| ProjectionRange(const char* rn) | Override default range of projection integrals to a different range specified by given range name. This technique allows you to project a finite width slice in a real-valued observable |
| NumCPU(Int_t ncpu) | Number of CPUs to use simultaneously to calculate data-weighted projections (only in combination with ProjWData) |
| Misc content control | |
| PrintEvalErrors(Int_t numErr) | Control number of p.d.f evaluation errors printed per curve. A negative value suppress output completely, a zero value will only print the error count per p.d.f component, a positive value is will print details of each error up to numErr messages per p.d.f component. |
| EvalErrorValue(double value) | Set curve points at which (pdf) evaluation errors occur to specified value. By default the function value is plotted. |
| Normalization(double scale, ScaleType code) | Adjust normalization by given scale factor. Interpretation of number depends on code:
|
| Name(const chat* name) | Give curve specified name in frame. Useful if curve is to be referenced later |
| Asymmetry(const RooCategory& c) | Show the asymmetry of the PDF in given two-state category [F(+)-F(-)] / [F(+)+F(-)] rather than the PDF projection. Category must have two states with indices -1 and +1 or three states with indices -1,0 and +1. |
| ShiftToZero(bool flag) | Shift entire curve such that lowest visible point is at exactly zero. Mostly useful when plotting \( -\log(L) \) or \( \chi^2 \) distributions |
| AddTo(const char* name, double_t wgtSelf, double_t wgtOther) | Add constructed projection to already existing curve with given name and relative weight factors |
| Components(const char* names) | When plotting sums of PDFs, plot only the named components (e.g. only the signal of a signal+background model). |
| Components(const RooArgSet& compSet) | As above, but pass a RooArgSet of the components themselves. |
| Plotting control | |
| DrawOption(const char* opt) | Select ROOT draw option for resulting TGraph object. Currently supported options are "F" (fill), "L" (line), and "P" (points).
|
| LineStyle(Int_t style) | Select line style by ROOT line style code, default is solid |
| LineColor(Int_t color) | Select line color by ROOT color code, default is blue |
| LineWidth(Int_t width) | Select line with in pixels, default is 3 |
| MarkerStyle(Int_t style) | Select the ROOT marker style, default is 21 |
| MarkerColor(Int_t color) | Select the ROOT marker color, default is black |
| MarkerSize(double size) | Select the ROOT marker size |
| FillStyle(Int_t style) | Select fill style, default is not filled. If a filled style is selected, also use VLines() to add vertical downward lines at end of curve to ensure proper closure. Add DrawOption("F") for filled drawing. |
| FillColor(Int_t color) | Select fill color by ROOT color code |
| Range(const char* name) | Only draw curve in range defined by given name |
| Range(double lo, double hi) | Only draw curve in specified range |
| VLines() | Add vertical lines to y=0 at end points of curve |
| Precision(double eps) | Control precision of drawn curve w.r.t to scale of plot, default is 1e-3. Higher precision will result in more and more densely spaced curve points |
| Invisible(bool flag) | Add curve to frame, but do not display. Useful in combination AddTo() |
| VisualizeError(const RooFitResult& fitres, double Z=1, bool linearMethod=true) | Visualize the uncertainty on the parameters, as given in fitres, at 'Z' sigma'. The linear method is fast but may not be accurate in the presence of strong correlations (~>0.9) and at Z>2 due to linear and Gaussian approximations made. Intervals from the sampling method can be asymmetric, and may perform better in the presence of strong correlations, but may take (much) longer to calculate |
| VisualizeError(const RooFitResult& fitres, const RooArgSet& param, double Z=1, bool linearMethod=true) | Visualize the uncertainty on the subset of parameters 'param', as given in fitres, at 'Z' sigma' |
VisualizeError() uses plotOnWithErrorBand(). Documentation of the latter:
Reimplemented in RooAbsPdf, and RooSimultaneous.
Definition at line 1609 of file RooAbsReal.cxx.
Plotting engine function for internal use.
Plot ourselves on given frame. If frame contains a histogram, all dimensions of the plotted function that occur in the previously plotted dataset are projected via partial integration, otherwise no projections are performed. Optionally, certain projections can be performed by summing over the values present in a provided dataset ('projData'), to correctly project out data dependents that are not properly described by the PDF (e.g. per-event errors).
The functions value can be multiplied with an optional scale factor. The interpretation of the scale factor is unique for generic real functions, for PDFs there are various interpretations possible, which can be selection with 'stype' (see RooAbsPdf::plotOn() for details).
The default projection behaviour can be overridden by supplying an optional set of dependents to project via RooFit command arguments.
Reimplemented in RooAbsPdf, and RooSimultaneous.
Definition at line 1877 of file RooAbsReal.cxx.
|
virtualinherited |
Internal back-end function of plotOn() with named arguments.
Reimplemented in RooAbsPdf, and RooSimultaneous.
Definition at line 1625 of file RooAbsReal.cxx.
|
protectedinherited |
Helper function for plotting of composite p.d.fs.
Given a set of selected components that should be plotted, find all nodes that (in)directly depend on these selected nodes. Mark all directly and indirectly selected nodes as 'selected' using the selectComp() method
Definition at line 1436 of file RooAbsReal.cxx.
|
protectedinherited |
Plot function or PDF on frame with support for visualization of the uncertainty encoded in the given fit result fr.
| [in] | frame | RooPlot to plot on |
| [in] | fr | The RooFitResult, where errors can be extracted |
| [in] | Z | The desired significance (width) of the error band |
| [in] | params | If non-zero, consider only the subset of the parameters in fr for the error evaluation |
| [in] | argList | Optional RooCmdArg that can be applied to a regular plotOn() operation |
| [in] | linMethod | By default (linMethod=true), a linearized error is shown. |
The linearized error is calculated as follows:
\[ \mathrm{error}(x) = Z * F_a(x) * \mathrm{Corr}(a,a') * F_{a'}^\mathrm{T}(x), \]
where
\[ F_a(x) = \frac{ f(x,a+\mathrm{d}a) - f(x,a-\mathrm{d}a) }{2}, \]
with \( f(x) \) the plotted curve and \( \mathrm{d}a \) taken from the fit result, and \( \mathrm{Corr}(a,a') \) = the correlation matrix from the fit result, and \( Z \) = requested signifance ( \( Z \sigma \) band)
The linear method is fast (required 2*N evaluations of the curve, where N is the number of parameters), but may not be accurate in the presence of strong correlations (~>0.9) and at Z>2 due to linear and Gaussian approximations made
Alternatively, a more robust error is calculated using a sampling method. In this method a number of curves is calculated with variations of the parameter values, as drawn from a multi-variate Gaussian p.d.f. that is constructed from the fit results covariance matrix. The error(x) is determined by calculating a central interval that capture N% of the variations for each value of x, where N% is controlled by Z (i.e. Z=1 gives N=68%). The number of sampling curves is chosen to be such that at least 30 curves are expected to be outside the N% interval, and is minimally 100 (e.g. Z=1->Ncurve=100, Z=2->Ncurve=659, Z=3->Ncurve=11111) Intervals from the sampling method can be asymmetric, and may perform better in the presence of strong correlations, but may take (much) longer to calculate.
Definition at line 2573 of file RooAbsReal.cxx.
|
virtualinherited |
Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable obs.
| [in] | obs | Observable to retrieve sampling hint for. |
| [in] | xlo | Beginning of range. |
| [in] | xhi | End of range. |
Reimplemented in ParamHistFunc, PiecewiseInterpolation, RooAddition, RooAddPdf, RooBinSamplingPdf, RooBinWidthFunction, RooFormulaVar, RooHistFunc, RooHistPdf, RooLagrangianMorphFunc, RooLinearCombination, RooMomentMorphFunc, RooParametricStepFunction, RooParamHistFunc, RooProdPdf, RooProduct, RooRangeBoolean, RooRealIntegral, RooRealSumFunc, RooRealSumPdf, RooStepFunction, and RooWrapperPdf.
Definition at line 3465 of file RooAbsReal.cxx.
Utility function for plotOn(), perform general sanity check on frame to ensure safe plotting operations.
Definition at line 2846 of file RooAbsReal.cxx.
|
virtualinherited |
Pop on object drawn in a pad to the top of the display list.
I.e. it will be drawn last and on top of all other primitives.
Reimplemented in TFrame, TPad, and TVirtualPad.
Definition at line 640 of file TObject.cxx.
|
virtualinherited |
Interface method for function objects to indicate their preferred order of observables for scanning their values into a (multi-dimensional) histogram or RooDataSet.
The observables to be ordered are offered in argument 'obs' and should be copied in their preferred order into argument 'orderedObs', This default implementation indicates no preference and copies the original order of 'obs' into 'orderedObs'
Reimplemented in RooCachedPdf, and RooIntegralMorph.
Definition at line 3584 of file RooAbsReal.cxx.
|
inlineoverridevirtualinherited |
Print the object to the defaultPrintStream().
| [in] | options | V print verbose. T print a tree structure with all children. |
Reimplemented from TObject.
Definition at line 238 of file RooAbsArg.h.
|
overridevirtualinherited |
Print address of this RooAbsArg.
Reimplemented from RooPrintable.
Definition at line 1350 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Print object arguments, ie its proxies.
Reimplemented from RooPrintable.
Reimplemented in RooCFunction1Binding< VO, VI >, RooCFunction1PdfBinding< VO, VI >, RooCFunction2Binding< VO, VI1, VI2 >, RooCFunction2PdfBinding< VO, VI1, VI2 >, RooCFunction3Binding< VO, VI1, VI2, VI3 >, RooCFunction3PdfBinding< VO, VI1, VI2, VI3 >, RooCFunction4Binding< VO, VI1, VI2, VI3, VI4 >, RooCFunction4PdfBinding< VO, VI1, VI2, VI3, VI4 >, RooFunctor1DBinding, RooFunctor1DPdfBinding, RooFunctorBinding, RooFunctorPdfBinding, RooLinearCombination, RooTFnBinding, and RooTFnPdfBinding.
Definition at line 1357 of file RooAbsArg.cxx.
|
protectedinherited |
Print the attribute list.
Definition at line 1471 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Print object class name.
Reimplemented from RooPrintable.
Definition at line 1344 of file RooAbsArg.cxx.
|
inherited |
Print tree structure of expression tree on stdout, or to file if filename is specified.
If namePat is not "*", only nodes with names matching the pattern will be printed. The client argument is used in recursive calls to properly display the value or shape nature of the client-server links. It should be zero in calls initiated by users.
Definition at line 1756 of file RooAbsArg.cxx.
|
inherited |
Print tree structure of expression tree on given ostream.
If namePat is not "*", only nodes with names matching the pattern will be printed. The client argument is used in recursive calls to properly display the value or shape nature of the client-server links. It should be zero in calls initiated by users.
Definition at line 1771 of file RooAbsArg.cxx.
|
virtualinherited |
Hook function interface for object to insert additional information when printed in the context of a tree structure.
This default implementation prints nothing
Reimplemented in RooNumConvolution.
Definition at line 1872 of file RooAbsArg.cxx.
|
inherited |
Print tree structure of expression tree on given ostream, only branch nodes are printed.
Lead nodes (variables) will not be shown
If namePat is not "*", only nodes with names matching the pattern will be printed.
Definition at line 1818 of file RooAbsArg.cxx.
|
inherited |
Print information about current value dirty state information.
If depth flag is true, information is recursively printed for all nodes in this arg tree.
Definition at line 1528 of file RooAbsArg.cxx.
|
staticinherited |
Print all outstanding logged evaluation error on the given ostream.
If maxPerNode is zero, only the number of errors for each source (object with unique name) is listed. If maxPerNode is greater than zero, up to maxPerNode detailed error messages are shown per source of errors. A truncation message is shown if there were more errors logged than shown.
Definition at line 3476 of file RooAbsReal.cxx.
|
virtualinherited |
Interface to print extras of object.
Reimplemented in RooRealVar.
Definition at line 159 of file RooPrintable.cxx.
|
inlinevirtualinherited |
Reimplemented in RooAddition, RooAddModel, RooAddPdf, RooFFTConvPdf, RooFormulaVar, RooGenericPdf, RooLagrangianMorphFunc, RooMappedCategory, RooNumConvPdf, RooProdPdf, RooProduct, RooProjectedPdf, RooRealIntegral, RooRealSumFunc, and RooRealSumPdf.
Definition at line 249 of file RooAbsArg.h.
|
overridevirtualinherited |
Structure printing.
Reimplemented from RooAbsReal.
Reimplemented in RooRealVar.
Definition at line 387 of file RooAbsRealLValue.cxx.
|
overridevirtualinherited |
|
virtualinherited |
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
Each message is prefixed by string 'indent' when printed
Definition at line 71 of file RooPrintable.cxx.
|
overridevirtualinherited |
|
overridevirtualinherited |
Print object tree structure.
Reimplemented from RooPrintable.
Definition at line 1448 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Print object value.
Reimplemented from RooPrintable.
Reimplemented in RooRealVar.
Definition at line 442 of file RooAbsReal.cxx.
|
overridevirtualinherited |
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.
Implements RooAbsLValue.
Definition at line 414 of file RooAbsRealLValue.cxx.
|
virtualinherited |
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.
Definition at line 464 of file RooAbsRealLValue.cxx.
|
virtualinherited |
Read contents of object with specified name from the current directory.
First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().
Reimplemented in TBuffer, TKey, TKeySQL, and TKeyXML.
Definition at line 673 of file TObject.cxx.
|
overridevirtual |
Read object contents from stream.
Reimplemented from RooAbsRealLValue.
Definition at line 178 of file RooLinearVar.cxx.
Recursively call checkObservables on all nodes in the expression tree.
Definition at line 694 of file RooAbsArg.cxx.
|
inherited |
Recursively replace all servers with the new servers in newSet.
This substitutes objects that we receive values from (also indirectly through other objects) with new objects that have the same name.
Copied from redirectServers:
This substitutes objects that we receive values from with new objects that have the same name. See: recursiveRedirectServers() Use recursive version if servers that are only indirectly serving this object should be replaced as well. See: redirectServers() If only the direct servers of an object need to be replaced.
Note that changing the types of objects is generally allowed, but can be wrong if the interface of an object changes. For example, one can reparametrise a model by substituting a variable with a function:
\[ f(x\, |\, a) = a \cdot x \rightarrow f(x\, |\, b) = (2.1 \cdot b) \cdot x \]
If an object, however, expects a PDF, and this is substituted with a function that isn't normalised, wrong results might be obtained or it might even crash the program. The types of the objects being substituted are not checked.
| [in] | newSetOrig | Set of new servers that should be used instead of the current servers. |
| [in] | mustReplaceAll | A warning is printed and error status is returned if not all servers could be substituted successfully. |
| [in] | nameChange | If false, an object named "x" is only replaced with an object also named "x" in newSetOrig. If the object in newSet is called differently, set nameChange to true and use setAttribute() on the x object: objectToReplaceX.setAttribute("ORIGNAME:x")
|
| [in] | isRecursionStep | Internal switch used when called from recursiveRedirectServers(). |
| newSet | Roo collection | |
| recurseInNewSet | be recursive |
Definition at line 1138 of file RooAbsArg.cxx.
|
virtualinherited |
Recursively remove this object from a list.
Typically implemented by classes that can contain multiple references to a same object.
Reimplemented in RooAbsCollection, RooAbsData, RooLinkedList, RooMCStudy, ROOT::Internal::TCheckHashRecursiveRemoveConsistency, ROOT::RBrowserDataCleanup, RooWorkspace, TBrowser, TChain, TCling, TCollection, TDialogCanvas, TDirectory, TEfficiency, TFileMerger, TFitEditor, TFolder, TFriendElement, TGedEditor, TGeometry, TGFileBrowser, TGraph2D, TGraph, TH1, TH1Editor, TH2Editor, THashList, THistPainter, THStack, TInspectCanvas, TLegend, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TMultiGraph, TNode, TObjArray, TObjectRefSpy, TObjectSpy, TPad, TProcessID, TROOT, TRootBrowser, TRootBrowserHistory, TRootBrowserLite, TRootContextMenu, TTree, TTreePlayer, TViewPubDataMembers, TViewPubFunctions, and TVirtualPad.
Definition at line 684 of file TObject.cxx.
|
inherited |
Replace all direct servers of this object with the new servers in newServerList.
This substitutes objects that we receive values from with new objects that have the same name. See: recursiveRedirectServers() Use recursive version if servers that are only indirectly serving this object should be replaced as well. See: redirectServers() If only the direct servers of an object need to be replaced.
Note that changing the types of objects is generally allowed, but can be wrong if the interface of an object changes. For example, one can reparametrise a model by substituting a variable with a function:
\[ f(x\, |\, a) = a \cdot x \rightarrow f(x\, |\, b) = (2.1 \cdot b) \cdot x \]
If an object, however, expects a PDF, and this is substituted with a function that isn't normalised, wrong results might be obtained or it might even crash the program. The types of the objects being substituted are not checked.
| [in] | newSetOrig | Set of new servers that should be used instead of the current servers. |
| [in] | mustReplaceAll | A warning is printed and error status is returned if not all servers could be substituted successfully. |
| [in] | nameChange | If false, an object named "x" is only replaced with an object also named "x" in newSetOrig. If the object in newSet is called differently, set nameChange to true and use setAttribute() on the x object: objectToReplaceX.setAttribute("ORIGNAME:x")
|
| [in] | isRecursionStep | Internal switch used when called from recursiveRedirectServers(). |
Definition at line 885 of file RooAbsArg.cxx.
|
inherited |
Replace some servers of this object.
If there are proxies that correspond to the replaced servers, these proxies are adjusted as well.
| [in] | replacements | Map that specifies which args replace which servers. |
Definition at line 1003 of file RooAbsArg.cxx.
|
overrideprotectedvirtualinherited |
Function that is called at the end of redirectServers().
Can be overloaded to inject some class-dependent behavior after server redirection, e.g. resetting of caches. The return value is meant to be an error flag, so in case something goes wrong the function should return true. If you overload this function, don't forget to also call the function of the base class.
See: redirectServers() For a detailed explanation of the function parameters.
Reimplemented from RooAbsArg.
Reimplemented in RooAddPdf, RooDerivative, RooFormulaVar, RooGenericPdf, RooNumConvolution, RooProdPdf, RooProfileLL, RooProjectedPdf, RooRealIntegral, and RooResolutionModel.
Definition at line 4227 of file RooAbsReal.cxx.
|
inherited |
Register RooAbsCache with this object.
This function is called by RooAbsCache constructors for objects that are a datamember of this RooAbsArg. By registering itself the RooAbsArg is aware of all its cache data members and will forward server change and cache mode change calls to the cache objects, which in turn can forward them their contents
Definition at line 1881 of file RooAbsArg.cxx.
|
protectedinherited |
Register an RooArgProxy in the proxy list.
This function is called by owned proxies upon creation. After registration, this arg will forward pointer changes from serverRedirects and updates in cached normalization sets to the proxies immediately after they occur. The proxied argument is also added as value and/or shape server
Definition at line 1173 of file RooAbsArg.cxx.
|
protectedinherited |
Register an RooListProxy in the proxy list.
This function is called by owned proxies upon creation. After registration, this arg will forward pointer changes from serverRedirects and updates in cached normalization sets to the proxies immediately after they occur.
Definition at line 1240 of file RooAbsArg.cxx.
|
protectedinherited |
Register an RooSetProxy in the proxy list.
This function is called by owned proxies upon creation. After registration, this arg will forward pointer changes from serverRedirects and updates in cached normalization sets to the proxies immediately after they occur.
Definition at line 1211 of file RooAbsArg.cxx.
Unregister another RooAbsArg as a server to us, ie, declare that we no longer depend on its value and shape.
Definition at line 356 of file RooAbsArg.cxx.
|
inherited |
Delete a string attribute with a given key.
Definition at line 261 of file RooAbsArg.cxx.
|
inherited |
Replace 'oldServer' with 'newServer', specifying whether the new server has value or shape server properties.
If you want to safely replace a server, you should use RooAbsArg::redirectServers(), which replaces the server in-place at the same position of the server list, keeps the same value and shape server properties, and also updates the corresponding proxies.
Definition at line 397 of file RooAbsArg.cxx.
|
inlineinherited |
Definition at line 638 of file RooAbsArg.h.
|
virtualinherited |
Save this object in the file specified by filename.
otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.
The function is available via the object context menu.
Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TClassTree, TFolder, TGeoVolume, TGObject, TGraph, TH1, TPad, TPaveClass, TSpline3, TSpline5, TSpline, TTreePerfStats, and TVirtualPad.
Definition at line 708 of file TObject.cxx.
|
virtualinherited |
Save a primitive as a C++ statement(s) on output stream "out".
Reimplemented in TAnnotation, TArc, TArrow, TASImage, TAxis3D, TBox, TButton, TCanvas, TChain, TCrown, TCurlyArc, TCurlyLine, TCutG, TDiamond, TEfficiency, TEllipse, TExec, TF12, TF1, TF2, TF3, TFrame, TGaxis, TGButton, TGButtonGroup, TGCanvas, TGCheckButton, TGColorSelect, TGColumnLayout, TGComboBox, TGCompositeFrame, TGContainer, TGDockableFrame, TGDoubleHSlider, TGDoubleVSlider, TGedMarkerSelect, TGedPatternSelect, TGeoArb8, TGeoBBox, TGeoBoolNode, TGeoCombiTrans, TGeoCompositeShape, TGeoCone, TGeoConeSeg, TGeoCtub, TGeoDecayChannel, TGeoElementRN, TGeoEltu, TGeoGtra, TGeoHalfSpace, TGeoHMatrix, TGeoHype, TGeoIdentity, TGeoIntersection, TGeoMaterial, TGeoMedium, TGeoMixture, TGeoPara, TGeoParaboloid, TGeoPatternCylPhi, TGeoPatternCylR, TGeoPatternParaX, TGeoPatternParaY, TGeoPatternParaZ, TGeoPatternSphPhi, TGeoPatternSphR, TGeoPatternSphTheta, TGeoPatternTrapZ, TGeoPatternX, TGeoPatternY, TGeoPatternZ, TGeoPcon, TGeoPgon, TGeoRotation, TGeoScaledShape, TGeoShapeAssembly, TGeoSphere, TGeoSubtraction, TGeoTessellated, TGeoTorus, TGeoTranslation, TGeoTrap, TGeoTrd1, TGeoTrd2, TGeoTube, TGeoTubeSeg, TGeoUnion, TGeoVolume, TGeoXtru, TGFileContainer, TGFont, TGFrame, TGFSComboBox, TGGC, TGGroupFrame, TGHButtonGroup, TGHorizontal3DLine, TGHorizontalFrame, TGHorizontalLayout, TGHProgressBar, TGHScrollBar, TGHSlider, TGHSplitter, TGHtml, TGIcon, TGLabel, TGLayoutHints, TGLineStyleComboBox, TGLineWidthComboBox, TGListBox, TGListDetailsLayout, TGListLayout, TGListTree, TGListView, TGLVContainer, TGMainFrame, TGMatrixLayout, TGMdiFrame, TGMdiMainFrame, TGMdiMenuBar, TGMenuBar, TGMenuTitle, TGNumberEntry, TGNumberEntryField, TGPictureButton, TGPopupMenu, TGProgressBar, TGRadioButton, TGraph2D, TGraph2DAsymmErrors, TGraph2DErrors, TGraph, TGraphAsymmErrors, TGraphBentErrors, TGraphEdge, TGraphErrors, TGraphMultiErrors, TGraphNode, TGraphPolar, TGraphPolargram, TGraphStruct, TGroupButton, TGRowLayout, TGShapedFrame, TGShutter, TGShutterItem, TGSplitFrame, TGStatusBar, TGTab, TGTabLayout, TGTableLayout, TGTableLayoutHints, TGTextButton, TGTextEdit, TGTextEntry, TGTextLBEntry, TGTextView, TGTileLayout, TGToolBar, TGTransientFrame, TGTripleHSlider, TGTripleVSlider, TGVButtonGroup, TGVertical3DLine, TGVerticalFrame, TGVerticalLayout, TGVFileSplitter, TGVProgressBar, TGVScrollBar, TGVSlider, TGVSplitter, TGXYLayout, TGXYLayoutHints, TH1, TH2Poly, THelix, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TPad, TPaletteAxis, TParallelCoord, TParallelCoordVar, TPave, TPaveClass, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPieSlice, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TProfile2D, TProfile3D, TProfile, TRootContainer, TRootEmbeddedCanvas, TScatter2D, TScatter, TSlider, TSliderBox, TSpline3, TSpline5, TStyle, TText, TTreePerfStats, and TWbox.
Definition at line 858 of file TObject.cxx.
|
staticprotectedinherited |
Save object constructor in the output stream "out".
Can be used as first statement when implementing SavePrimitive() method for the object
Definition at line 777 of file TObject.cxx.
|
staticprotectedinherited |
Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
Definition at line 845 of file TObject.cxx.
|
protectedinherited |
Save object name and title into the output stream "out".
Definition at line 135 of file TNamed.cxx.
|
staticprotectedinherited |
Save array in the output stream "out" as vector.
Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()
Definition at line 796 of file TObject.cxx.
|
inlineinherited |
Definition at line 374 of file RooAbsReal.h.
|
protectedvirtualinherited |
Interface function to force use of a given set of observables to interpret function value.
Needed for functions or p.d.f.s whose shape depends on the choice of normalization such as RooAddPdf
Reimplemented in RooAddModel, RooAddPdf, and RooSimultaneous.
Definition at line 3265 of file RooAbsReal.cxx.
|
protectedvirtualinherited |
Interface function to force use of a given normalization range to interpret function value.
Needed for functions or p.d.f.s whose shape depends on the choice of normalization such as RooAddPdf
Reimplemented in RooAddModel, RooAddPdf, RooBernstein, RooChebychev, RooProdPdf, and RooSimultaneous.
Definition at line 3273 of file RooAbsReal.cxx.
|
inlinevirtualinherited |
Definition at line 197 of file RooAbsArg.h.
|
inlineinherited |
List of all servers of this object.
Definition at line 145 of file RooAbsArg.h.
Set (default) or clear a named boolean attribute of this object.
Definition at line 224 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Set value to center of bin 'ibin' of binning 'rangeName' (or of default binning if no range is specified).
Implements RooAbsLValue.
Definition at line 434 of file RooAbsRealLValue.cxx.
|
virtualinherited |
Set value to center of bin 'ibin' of binning 'binning'.
Definition at line 452 of file RooAbsRealLValue.cxx.
Set or unset the user status bits as specified in f.
Definition at line 888 of file TObject.cxx.
|
inlinevirtualinherited |
Reimplemented in RooAbsAnaConvPdf, RooAddPdf, RooLagrangianMorphFunc, RooProdPdf, RooProduct, RooRealSumFunc, and RooRealSumPdf.
Definition at line 347 of file RooAbsArg.h.
|
inlinefinalvirtualinherited |
Overwrite the value stored in this object's cache.
This can be used to fake a computation that resulted in value.
| [in] | value | Value to write. |
| [in] | notifyClients | If true, notify users of this object that its value changed. This is the default. |
Reimplemented from RooAbsArg.
Definition at line 561 of file RooAbsReal.h.
|
inlineinherited |
Definition at line 111 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Reimplemented in RooAddition, RooConstraintSum, and ROOT::Experimental::XRooFit::ProgressMonitor.
Definition at line 364 of file RooAbsReal.h.
|
inherited |
Sets the token for retrieving results in the BatchMode. For internal use only.
Definition at line 2261 of file RooAbsArg.cxx.
|
staticinherited |
Control global dirty inhibit mode.
When set to true no value or shape dirty flags are propagated and cache is always considered to be dirty.
Definition at line 210 of file RooAbsArg.cxx.
|
virtualinherited |
Set drawing option for object.
This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().
Reimplemented in RooPlot, TAxis, TBrowser, TGedFrame, TGFrame, TPad, TPaveStats, TRootBrowserLite, TSystemDirectory, and TSystemFile.
Definition at line 871 of file TObject.cxx.
|
staticinherited |
Set destructor only flag.
Definition at line 1204 of file TObject.cxx.
|
staticinherited |
Set evaluation error logging mode.
Options are
PrintErrors - Print each error through RooMsgService() as it occurs CollectErrors - Accumulate errors, but do not print them. A subsequent call to printEvalErrors() will print a summary CountErrors - Accumulate error count, but do not print them.
Definition at line 4084 of file RooAbsReal.cxx.
|
inlinevirtualinherited |
Reimplemented in RooRealVar.
Definition at line 439 of file RooAbsArg.h.
|
staticinherited |
Definition at line 188 of file RooAbsReal.cxx.
|
inherited |
Remove the specialized numeric integration configuration associated with this object.
Definition at line 3254 of file RooAbsReal.cxx.
|
inherited |
Set the given integrator configuration as default numeric integration configuration for this object.
Definition at line 3243 of file RooAbsReal.cxx.
|
inlineinherited |
Definition at line 631 of file RooAbsArg.h.
|
overridevirtualinherited |
Set the name of the TNamed.
WARNING: if the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.
Reimplemented from TNamed.
Definition at line 2097 of file RooAbsArg.cxx.
|
overridevirtualinherited |
Set all the TNamed parameters (name and title).
WARNING: if the name is changed and the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.
Reimplemented from TNamed.
Definition at line 2109 of file RooAbsArg.cxx.
|
staticinherited |
Turn on/off tracking of objects in the TObjectTable.
Definition at line 1188 of file TObject.cxx.
Set the operation mode of this node.
Change cache operation mode to given mode.
If recurseAdirty is true, then a mode change to AlwaysDirty will automatically be propagated recursively to all client nodes
Definition at line 1730 of file RooAbsArg.cxx.
|
inherited |
Definition at line 4092 of file RooAbsReal.cxx.
|
inherited |
Set the label associated with this variable.
Definition at line 413 of file RooAbsReal.cxx.
|
inlineinherited |
Definition at line 488 of file RooAbsArg.h.
|
protectedinherited |
Forward a change in the cached normalization argset to all the registered proxies.
Definition at line 1289 of file RooAbsArg.cxx.
|
inlineinherited |
Notify that a shape-like property (e.g. binning) has changed.
Definition at line 431 of file RooAbsArg.h.
|
protectedinherited |
Notify that a shape-like property (e.g. binning) has changed.
Mark this object as having changed its shape, and propagate this status change to all of our clients.
Definition at line 831 of file RooAbsArg.cxx.
Associate string 'value' to this object under key 'key'.
Definition at line 250 of file RooAbsArg.cxx.
|
virtualinherited |
Set the title of the TNamed.
Reimplemented in Axis2, RooPlot, ROOT::Experimental::XRooFit::xRooNode, ROOT::TSchemaRule::TSources, TASImage, TEfficiency, TF1, TGraph2D, TGraph, TH1, THnBase, TParallelCoordVar, TSystemDirectory, and TSystemFile.
Definition at line 173 of file TNamed.cxx.
Set (default) or clear a named boolean attribute of this object.
Definition at line 277 of file RooAbsArg.cxx.
(De)Activate associated tree branch
Implements RooAbsArg.
Definition at line 3102 of file RooAbsReal.cxx.
|
virtualinherited |
Set the unique object id.
Definition at line 899 of file TObject.cxx.
|
inlineinherited |
Definition at line 153 of file RooAbsReal.h.
|
overridevirtual |
Assign given value to linear transformation: sets input variable to (value-offset)/slope If slope is zerom an error message is printed and no assignment is made.
Implements RooAbsRealLValue.
Definition at line 123 of file RooLinearVar.cxx.
|
inlinevirtual |
Set the current value of the object.
The rangeName is ignored. Can be overridden by derived classes to e.g. check if the value fits in the given range.
Reimplemented from RooAbsRealLValue.
Definition at line 43 of file RooAbsRealLValue.h.
|
inlineprotectedvirtualinherited |
Reimplemented in RooRealVar.
Definition at line 159 of file RooAbsRealLValue.h.
|
inlineinherited |
Mark the element dirty. This forces a re-evaluation when a value is requested.
Definition at line 425 of file RooAbsArg.h.
|
protectedinherited |
Force element to re-evaluate itself when a value is requested.
Mark this object as having changed its value, and propagate this status change to all of our clients.
If the object is not in automatic dirty state propagation mode, this call has no effect.
Definition at line 792 of file RooAbsArg.cxx.
|
inlineinherited |
Definition at line 490 of file RooAbsArg.h.
|
inlineinherited |
List of all shape clients of this object.
Shape clients receive property information such as changes of a value range.
Definition at line 142 of file RooAbsArg.h.
|
inlineinherited |
Definition at line 358 of file RooAbsReal.h.
|
inlineinherited |
Definition at line 359 of file RooAbsReal.h.
|
virtualinherited |
Return size of the TNamed part of the TObject.
Reimplemented in TDirectory, TDirectoryFile, TFile, TKey, TSQLFile, and TXMLFile.
Definition at line 182 of file TNamed.cxx.
|
inherited |
Returns the specialized integrator configuration for this RooAbsReal.
If this object has no specialized configuration, a null pointer is returned.
Definition at line 3192 of file RooAbsReal.cxx.
|
inherited |
Returns the specialized integrator configuration for this RooAbsReal.
If this object has no specialized configuration, a null pointer is returned, unless createOnTheFly is true in which case a clone of the default integrator configuration is created, installed as specialized configuration, and returned
Definition at line 3204 of file RooAbsReal.cxx.
|
overridevirtual |
Stream an object of class RooAbsArg.
Reimplemented from RooAbsRealLValue.
|
inline |
Definition at line 69 of file RooLinearVar.h.
|
inlineinherited |
Definition at line 267 of file RooAbsArg.h.
Private helper function for RooAbsArg::redirectServers().
Definition at line 970 of file RooAbsArg.cxx.
|
inlineoverrideprotectedvirtualinherited |
|
virtualinherited |
Issue system error message.
Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.
Definition at line 1112 of file TObject.cxx.
Calculate current value of object, with error tracing wrapper.
Definition at line 316 of file RooAbsReal.cxx.
|
inlineinherited |
Definition at line 276 of file RooAbsArg.h.
|
inherited |
Fill supplied list with nodes of the arg tree, following all server links, starting with ourself as top node.
| [in] | list | Output list |
| [in] | arg | Start searching at this element of the tree. |
| [in] | doBranch | Add branch nodes to the list. |
| [in] | doLeaf | Add leaf nodes to the list. |
| [in] | valueOnly | Only check if an element is a value server (no shape server). |
| [in] | recurseFundamental |
Definition at line 465 of file RooAbsArg.cxx.
|
inherited |
Unregister a RooAbsCache. Called from the RooAbsCache destructor.
Definition at line 1888 of file RooAbsArg.cxx.
|
protectedinherited |
Remove proxy from proxy list.
This functions is called by owned proxies upon their destruction.
Definition at line 1199 of file RooAbsArg.cxx.
|
protectedinherited |
Remove proxy from proxy list.
This functions is called by owned proxies upon their destruction.
Definition at line 1262 of file RooAbsArg.cxx.
|
protectedinherited |
Remove proxy from proxy list.
This functions is called by owned proxies upon their destruction.
Definition at line 1228 of file RooAbsArg.cxx.
|
virtualinherited |
|
inlineinherited |
List of all value clients of this object. Value clients receive value updates.
Definition at line 139 of file RooAbsArg.h.
|
staticinherited |
Activate verbose messaging related to dirty flag propagation.
Definition at line 217 of file RooAbsArg.cxx.
|
inlineoverridevirtualinherited |
Implements RooAbsLValue.
Definition at line 53 of file RooAbsRealLValue.h.
|
inlinevirtualinherited |
Definition at line 63 of file RooAbsRealLValue.h.
|
virtualinherited |
Issue warning message.
Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.
Definition at line 1084 of file TObject.cxx.
|
inherited |
Definition at line 2086 of file RooAbsArg.cxx.
|
inlineinherited |
Definition at line 491 of file RooAbsArg.h.
|
virtualinherited |
Write this object to the current directory.
For more see the const version of this method.
Reimplemented in ROOT::TBufferMergerFile, TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.
Definition at line 989 of file TObject.cxx.
|
virtualinherited |
Write this object to the current directory.
The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".
Writing an object to a file involves the following steps:
Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.
If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().
The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.
An object is read from the file into memory via TKey::Read() or via TObject::Read().
The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.
Reimplemented in TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.
Definition at line 964 of file TObject.cxx.
|
overridevirtual |
Write object contents to stream.
Reimplemented from RooAbsRealLValue.
Definition at line 188 of file RooLinearVar.cxx.
|
protected |
!
Definition at line 64 of file RooLinearVar.h.
|
mutableprotected |
Definition at line 63 of file RooLinearVar.h.
|
protectedinherited |
Definition at line 588 of file RooAbsArg.h.
|
protectedinherited |
! Transient boolean attributes (not copied in ctor)
Definition at line 590 of file RooAbsArg.h.
|
protectedinherited |
! list of caches
Definition at line 571 of file RooAbsArg.h.
|
protectedinherited |
Definition at line 565 of file RooAbsArg.h.
|
protectedinherited |
Definition at line 566 of file RooAbsArg.h.
|
protectedinherited |
Definition at line 567 of file RooAbsArg.h.
|
protectedinherited |
!
Set by the RooFitDriver for this arg to ! retrieve its result in the run context
Definition at line 661 of file RooAbsArg.h.
|
protectedinherited |
! Delete watch flag
Definition at line 626 of file RooAbsArg.h.
|
mutableprotectedinherited |
! Pointer to global cache manager for expensive components.
Definition at line 652 of file RooAbsArg.h.
|
mutableprotectedinherited |
Definition at line 645 of file RooAbsArg.h.
|
protectedinherited |
Force numerical integration if flag set.
Definition at line 542 of file RooAbsReal.h.
|
staticprotectedinherited |
Definition at line 548 of file RooAbsReal.h.
|
staticprotectedinherited |
Offset hiding flag.
Definition at line 549 of file RooAbsReal.h.
|
staticprotectedinherited |
Definition at line 625 of file RooAbsArg.h.
|
protectedinherited |
! Cached isConstant status
Definition at line 655 of file RooAbsArg.h.
|
protectedinherited |
Plot label for objects value.
Definition at line 541 of file RooAbsReal.h.
|
mutableprotectedinherited |
!
Definition at line 546 of file RooAbsReal.h.
|
mutableprotectedinherited |
! Prevent 'AlwaysDirty' mode for this node
Definition at line 657 of file RooAbsArg.h.
|
mutableprotectedinherited |
! In which workspace do I live, if any
Definition at line 659 of file RooAbsArg.h.
|
staticprotectedinherited |
Definition at line 57 of file RooPrintable.h.
|
mutableprotectedinherited |
! De-duplicated name pointer, equal for all objects with the same name.
Definition at line 654 of file RooAbsArg.h.
|
protected |
Offset of transformation.
Definition at line 67 of file RooLinearVar.h.
Definition at line 644 of file RooAbsArg.h.
|
protectedinherited |
! Set of owned component
Definition at line 648 of file RooAbsArg.h.
|
protectedinherited |
Number of plot bins.
Definition at line 538 of file RooAbsReal.h.
|
protectedinherited |
Maximum of plot range.
Definition at line 537 of file RooAbsReal.h.
|
protectedinherited |
Minimum of plot range.
Definition at line 536 of file RooAbsReal.h.
|
mutableprotectedinherited |
! Prohibit server redirects – Debugging tool
Definition at line 650 of file RooAbsArg.h.
|
protectedinherited |
Definition at line 569 of file RooAbsArg.h.
|
protectedinherited |
! cache of the list of proxies. Avoids type casting.
Definition at line 621 of file RooAbsArg.h.
|
protectedinherited |
! Component selection flag for RooAbsPdf::plotCompOn
Definition at line 545 of file RooAbsReal.h.
|
protectedinherited |
Definition at line 564 of file RooAbsArg.h.
|
mutableprotectedinherited |
Definition at line 642 of file RooAbsArg.h.
|
protected |
Slope of transformation.
Definition at line 66 of file RooLinearVar.h.
|
protectedinherited |
Definition at line 543 of file RooAbsReal.h.
|
protectedinherited |
Definition at line 589 of file RooAbsArg.h.
|
protectedinherited |
! A buffer for reading values from trees
Definition at line 544 of file RooAbsReal.h.
|
protectedinherited |
Unit for objects value.
Definition at line 540 of file RooAbsReal.h.
|
mutableprotectedinherited |
Cache for current value of object.
Definition at line 539 of file RooAbsReal.h.
|
mutableprotectedinherited |
Definition at line 641 of file RooAbsArg.h.
|
protected |
Input observable.
Definition at line 65 of file RooLinearVar.h.
|
staticprotectedinherited |
Definition at line 624 of file RooAbsArg.h.
|
privateinherited |
|
staticprivateinherited |
|
privateinherited |