90 _origVar(
"!origVar",
"Original Convolution variable",this,convVar),
91 _origPdf(
"!origPdf",
"Original Input PDF",this,inPdf),
92 _origModel(
"!origModel",
"Original Resolution model",this,resmodel)
119 _conv = std::make_unique<RooNumConvolution>(*other._conv,Form(
"%s_CONV",name?name:GetName())) ;
139 return _conv->evaluate() ;
168 const RooArgSet* auxProto,
bool verbose)
const
174 _conv->model().getObservables(&vars, modelDep);
184 if (numAddDep>0 || !pdfCanDir || !resCanDir) {
187 return new RooGenContext(*
this,vars,prototype,auxProto,verbose) ;
int Int_t
Signed integer 4 bytes (int).
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.
RooAbsPdf()
Default constructor.
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.
Implements a universal generator context for all RooAbsPdf classes that do not have or need a special...
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 char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.