124 R__DEPRECATED(6,38,
"Use RooAbsPdf::generate() instead. The RooAbsPdf::generateSimGlobal() only contains some workarounds that are not necessary anymore");
134 return RooAbsReal::plotOn(frame,
arg1,
arg2,
arg3,
arg4,
arg5,
arg6,
arg7,
arg8,
arg9,
arg10) ;
147 virtual void initGenerator(
Int_t code) ;
148 virtual void generateEvent(
Int_t code);
149 virtual bool isDirectGenSafe(
const RooAbsArg& arg)
const ;
193 virtual double getLogVal(
const RooArgSet* set=
nullptr)
const ;
198 double getNorm(
const RooArgSet& nset)
const {
199 return getNorm(&nset) ;
201 virtual double getNorm(
const RooArgSet* set=
nullptr)
const ;
210 virtual bool selfNormalized()
const {
230 virtual double expectedEvents(
const RooArgSet* nset)
const ;
235 double expectedEvents(
const RooArgSet& nset)
const {
236 return expectedEvents(&nset) ;
239 virtual std::unique_ptr<RooAbsReal> createExpectedEventsFunc(
const RooArgSet* nset)
const;
242 void printValue(std::ostream& os)
const override ;
254 return _normRange.Length()>0 ? _normRange.Data() : nullptr ;
280 const char *label=
"",
double xmin=0.65,
323 mutable RooArgSet const* _normSet =
nullptr;
328 ~CacheElem()
override ;
330 std::unique_ptr<RooAbsReal> _norm;
337 mutable Int_t _errorCount = 0;
#define R__DEPRECATED(MAJOR, MINOR, REASON)
#define ClassDef(name, id)
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Common abstract base class for objects that represent a value and a "shape" in RooFit.
virtual std::unique_ptr< RooAbsArg > compileForNormSet(RooArgSet const &normSet, RooFit::Detail::CompileContext &ctx) const
Abstract base class for objects to be stored in RooAbsCache cache manager objects.
Abstract container object that can hold multiple RooAbsArg objects.
Abstract base class for binned and unbinned datasets.
Abstract base class for generator contexts of RooAbsPdf objects.
std::unique_ptr< RooAbsGenContext > _genContext
GenSpec(const GenSpec &other)
Abstract interface for all probability density functions.
~RooAbsPdf() override
Destructor.
GenSpec * prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
Prepare GenSpec configuration object for efficient generation of multiple datasets from identical spe...
RooFit::OwningPtr< RooDataSet > generate(const RooArgSet &whatVars, Int_t nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={})
See RooAbsPdf::generate(const RooArgSet&,const RooCmdArg&,const RooCmdArg&,const RooCmdArg&,...
RooAbsPdf()
Default constructor.
virtual RooFit::OwningPtr< RooDataHist > generateBinned(const RooArgSet &whatVars, double nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}) const
As RooAbsPdf::generateBinned(const RooArgSet&, const RooCmdArg&,const RooCmdArg&, const RooCmdArg&,...
virtual RooFit::OwningPtr< RooDataSet > generateSimGlobal(const RooArgSet &whatVars, Int_t nEvents) R__DEPRECATED(6
Special generator interface for generation of 'global observables' – for RooStats tools.
Abstract base class for objects that represent a real value and implements functionality common to al...
bool _selectComp
A buffer for reading values from trees.
virtual double getValV(const RooArgSet *normalisationSet=nullptr) const
Return value of object.
void printMultiline(std::ostream &os, Int_t contents, bool verbose=false, TString indent="") const override
Structure printing.
bool redirectServersHook(const RooAbsCollection &newServerList, bool mustReplaceAll, bool nameChange, bool isRecursiveStep) override
Function that is called at the end of redirectServers().
void printValue(std::ostream &os) const override
Print object value.
virtual double maxVal(Int_t code) const
Return maximum value for set of observables identified by code assigned in getMaxVal.
virtual double analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=nullptr) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
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.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Object to represent discrete states.
Simple calculation from a binned dataset and a PDF.
Named container for two doubles, two integers two object points and three string pointers that can be...
Container class to hold unbinned data.
RooExtendPdf is a wrapper around an existing PDF that adds a parameteric extended likelihood term to ...
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Collection class for internal use, storing a collection of RooAbsArg pointers in a doubly linked list...
Helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies, that involve fittin...
Wrapper class around ROOT::Math::Minimizer that provides a seamless interface between the minimizer f...
Holds the configuration parameters of the various numeric integrators used by RooRealIntegral.
Implementation of a RooCacheManager<RooAbsCacheElement> that specializes in the storage of cache elem...
Plot frame and a container for graphics objects within that frame.
Performs hybrid numerical/analytical integrals of RooAbsReal objects.
1-D histogram with a float per channel (see TH1 documentation)
2-D histogram with a float per channel (see TH1 documentation)
The TNamed class is the base class for all named ROOT classes.
A Pave (see TPave) with text, lines or/and boxes inside.
RooCmdArg NumEvents(Int_t numEvents)
std::unique_ptr< RooLinkedList > createCmdList()
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...
UniqueId_t const & getUniqueId(Class const *ptr)
A helper function to replace pointer comparisons with UniqueId comparisons.
OwningPtr< T > makeOwningPtr(std::unique_ptr< T > &&ptr)
Internal helper to turn a std::unique_ptr<T> into an OwningPtr.
A UniqueId can be added as a class member to enhance any class with a unique identifier for each inst...