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);
180 bool pdfCanDir = ((
static_cast<RooAbsPdf&
>(
_conv->pdf())).getGenerator(
_conv->var(),dummy) != 0 && \
182 bool resCanDir = ((
static_cast<RooAbsPdf&
>(
_conv->model())).getGenerator(
_conv->var(),dummy) !=0 &&
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.
Storage_t::size_type size() const
Abstract base class for generator contexts of RooAbsPdf objects.
Abstract interface for all probability density functions.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold unbinned data.
Implements a universal generator context for all RooAbsPdf classes that do not have or need a special...
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.
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.