91 _origVar(
"!origVar",
"Original Convolution variable",this,convVar),
92 _origPdf(
"!origPdf",
"Original Input PDF",this,inPdf),
93 _origModel(
"!origModel",
"Original Resolution model",this,resmodel)
112 _origVar(
"!origVar",this,other._origVar),
113 _origPdf(
"!origPdf",this,other._origPdf),
114 _origModel(
"!origModel",this,other._origModel)
140 return _conv->evaluate() ;
169 const RooArgSet* auxProto,
bool verbose)
const
175 _conv->model().getObservables(&vars, modelDep);
185 if (numAddDep>0 || !pdfCanDir || !resCanDir) {
188 return new RooGenContext(*
this,vars,prototype,auxProto,verbose) ;
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
virtual bool remove(const RooAbsArg &var, bool silent=false, bool matchByNameOnly=false)
Remove the specified argument from our list.
Int_t getSize() const
Return the number of elements in the collection.
Abstract base class for generator contexts of RooAbsPdf objects.
Abstract interface for all probability density functions.
virtual bool isDirectGenSafe(const RooAbsArg &arg) const
Check if given observable can be safely generated using the pdfs internal generator mechanism (if tha...
virtual Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, bool staticInitOK=true) const
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
Class RooGenContext implement a universal generator context for all RooAbsPdf classes that do not hav...
Numeric 1-dimensional convolution operator PDF.
friend class RooConvGenContext
RooAbsGenContext * genContext(const RooArgSet &vars, const RooDataSet *prototype=nullptr, const RooArgSet *auxProto=nullptr, bool verbose=false) const override
Return appropriate generator context for this convolved p.d.f.
RooRealProxy _origPdf
Original input PDF.
~RooNumConvPdf() override
Destructor.
std::unique_ptr< RooNumConvolution > _conv
! Actual convolution calculation
RooRealProxy _origModel
Original resolution model.
double evaluate() const override
Calculate and return value of p.d.f.
RooRealProxy _origVar
Original convolution variable.
RooAbsReal & model() const
bool _init
! do not persist
void printMetaArgs(std::ostream &os) const override
Customized printing of arguments of a RooNumConvPdf to more intuitively reflect the contents of the p...
void initialize() const
One-time initialization of object.
Numeric 1-dimensional convolution operator PDF.
RooRealVar represents a variable that can be changed from the outside.
const T & arg() const
Return reference to object held in proxy.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.