116 _origVar(
"origVar",
"Original Convolution variable",this,convVar),
117 _origPdf(
"origPdf",
"Original Input PDF",this,inPdf),
118 _origModel(
"origModel",
"Original Resolution model",this,resmodel),
119 _ownedClonedPdfSet(
"ownedClonePdfSet"),
120 _ownedClonedModelSet(
"ownedCloneModelSet"),
126 _windowParam(
"windowParam",
"Convolution window parameter",this,
kFALSE),
127 _verboseThresh(2000),
137 if (
proto->_useWindow) {
151 _convIntConfig(other._convIntConfig),
154 _origVar(
"origVar",this,other._origVar),
155 _origPdf(
"origPdf",this,other._origPdf),
156 _origModel(
"origModel",this,other._origModel),
157 _ownedClonedPdfSet(
"ownedClonePdfSet"),
158 _ownedClonedModelSet(
"ownedCloneModelSet"),
162 _useWindow(other._useWindow),
163 _windowScale(other._windowScale),
164 _windowParam(
"windowParam",this,other._windowParam),
165 _verboseThresh(other._verboseThresh),
166 _doProf(other._doProf),
167 _callHist(other._callHist)
311 coutE(
InputArguments) <<
"RooNumConvolution::setCallWarning(" <<
GetName() <<
") ERROR: threshold must be positive, value unchanged" << endl ;
338 nbinCall,0,nCallHigh) ;
358 os <<
indent <<
"RooNumConvolution begin cache" << endl ;
366 os <<
indent <<
"RooNumConvolution end cache" << endl ;
static void indent(ostringstream &buf, int indent_level)
include TDocParser_001 C image html pict1_TDocParser_001 png width
char * Form(const char *fmt,...)
void printCompactTree(const char *indent="", const char *fileName=0, const char *namePat=0, RooAbsArg *client=0)
Print tree structure of expression tree on stdout, or to file if filename is specified.
void SetName(const char *name)
Set the name of the TNamed.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
void resetNumCall() const
virtual Double_t integral(const Double_t *yvec=0)=0
virtual Bool_t setUseIntegrandLimits(Bool_t flag)
Interface function that allows to defer limit definition to integrand definition.
virtual Bool_t setLimits(Double_t *, Double_t *)
const RooArgSet * nset() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
virtual Bool_t setLabel(const char *label, bool printError=true) override
Set value by specifying the name of the desired state.
Implementation of RooAbsFunc that represent the the integrand of a generic (numeric) convolution A (x...
void setNormalizationSet(const RooArgSet *nset)
RooCustomizer is a factory class to produce clones of a prototype composite PDF object with the same ...
void setCloneBranchSet(RooArgSet &cloneBranchSet)
Install the input RooArgSet as container in which all cloned branches will be stored.
void replaceArg(const RooAbsArg &orig, const RooAbsArg &subst)
Replace any occurence of arg 'orig' with arg 'subst'.
RooAbsArg * build(const char *masterCatState, Bool_t verbose=kFALSE)
Build a clone of the prototype executing all registered 'replace' rules and 'split' rules for the mas...
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
virtual void removeAll()
Reimplementation of standard RooArgList::removeAll()
Numeric 1-dimensional convolution operator PDF.
void clearConvolutionWindow()
Removes previously defined convolution window, reverting to convolution from -inf to +inf.
RooArgSet _ownedClonedModelSet
Bool_t redirectServersHook(const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive)
Intercept server redirects. Throw away cache, as figuring out redirections on the cache is an unsolva...
void setConvolutionWindow(RooAbsReal ¢erParam, RooAbsReal &widthParam, Double_t widthScaleFactor=1)
Restrict convolution integral to finite range [ x - C - S*W, x - C + S*W ] where x is current value o...
Double_t evaluate() const
Calculate convolution integral.
void initialize() const
One-time initialization of object.
RooRealProxy _origVar
Numeric integrator of convolution integrand.
virtual void printCompactTreeHook(std::ostream &os, const char *indent="")
Hook function to intercept printCompactTree() calls so that it can print out the content of its priva...
RooConvIntegrandBinding * _integrand
RooAbsIntegrator * _integrator
Binding of Convolution Integrand function.
void setCallProfiling(Bool_t flag, Int_t nbinX=40, Int_t nbinCall=40, Int_t nCallHigh=1000)
Activate call profile if flag is set to true.
RooListProxy _windowParam
RooArgSet _ownedClonedPdfSet
RooNumIntConfig & convIntConfig()
virtual ~RooNumConvolution()
Destructor.
void setCallWarning(Int_t threshold=2000)
Activate warning messages if number of function calls needed for evaluation of convolution integral e...
RooNumIntConfig _convIntConfig
RooAbsReal & model() const
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooCategory & method1DOpen()
RooAbsIntegrator * createIntegrator(RooAbsFunc &func, const RooNumIntConfig &config, Int_t ndim=0, Bool_t isBinned=kFALSE) const
Construct a numeric integrator instance that operates on function 'func' and is configured with 'conf...
static RooNumIntFactory & instance()
Static method returning reference to singleton instance of factory.
static Double_t infinity()
Return internal infinity representation.
RooRealVar represents a variable that can be changed from the outside.
double min(const char *rname=0) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.
double max(const char *rname=0) const
Query upper limit of range. This requires the payload to be RooAbsRealLValue or derived.
const T & arg() const
Return reference to object held in proxy.
2-D histogram with a float per channel (see TH1 documentation)}
Int_t Fill(Double_t)
Invalid Fill method.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.