117 _origVar(
"origVar",
"Original Convolution variable",this,convVar),
118 _origPdf(
"origPdf",
"Original Input PDF",this,inPdf),
119 _origModel(
"origModel",
"Original Resolution model",this,resmodel),
120 _ownedClonedPdfSet(
"ownedClonePdfSet"),
121 _ownedClonedModelSet(
"ownedCloneModelSet"),
127 _windowParam(
"windowParam",
"Convolution window parameter",this,
kFALSE),
128 _verboseThresh(2000),
152 _convIntConfig(other._convIntConfig),
155 _origVar(
"origVar",this,other._origVar),
156 _origPdf(
"origPdf",this,other._origPdf),
157 _origModel(
"origModel",this,other._origModel),
158 _ownedClonedPdfSet(
"ownedClonePdfSet"),
159 _ownedClonedModelSet(
"ownedCloneModelSet"),
163 _useWindow(other._useWindow),
164 _windowScale(other._windowScale),
165 _windowParam(
"windowParam",this,other._windowParam),
166 _verboseThresh(other._verboseThresh),
167 _doProf(other._doProf),
168 _callHist(other._callHist)
256 coutW(
Integration) <<
"RooNumConvolution::eveluate(" <<
GetName() <<
") WARNING convolution integral at x=" << x
312 coutE(
InputArguments) <<
"RooNumConvolution::setCallWarning(" <<
GetName() <<
") ERROR: threshold must be positive, value unchanged" << endl ;
339 nbinCall,0,nCallHigh) ;
359 os << indent <<
"RooNumConvolution begin cache" << endl ;
367 os << indent <<
"RooNumConvolution end cache" << endl ;
virtual const char * GetTitle() const
Returns title of object.
RooListProxy _windowParam
const RooArgSet * nset() const
Double_t evaluate() const
Calculate convolution integral.
RooNumIntConfig & convIntConfig()
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.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
virtual ~RooNumConvolution()
Destructor.
static RooNumIntFactory & instance()
Static method returning reference to singleton instance of factory.
RooRealProxy _origVar
Numeric integrator of convolution integrand.
RooNumIntConfig _convIntConfig
RooAbsReal & model() const
virtual Bool_t setLimits(Double_t *, Double_t *)
const RooAbsReal & arg() const
virtual Bool_t setLabel(const char *label, Bool_t printError=kTRUE)
Set value by specifying the name of the desired state If printError is set, a message will be printed...
void setNormalizationSet(const RooArgSet *nset)
RooAbsIntegrator * createIntegrator(RooAbsFunc &func, const RooNumIntConfig &config, Int_t ndim=0, Bool_t isBinned=kFALSE)
Construct a numeric integrator instance that operates on function 'func' and is configured with 'conf...
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.
virtual Double_t integral(const Double_t *yvec=0)=0
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
Numeric 1-dimensional convolution operator PDF.
void setCallWarning(Int_t threshold=2000)
Activate warning messages if number of function calls needed for evaluation of convolution integral e...
Double_t getVal(const RooArgSet *set=0) const
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
RooRealVar represents a fundamental (non-derived) real valued object.
ClassImp(RooNumConvolution)
RooConvIntegrandBinding * _integrand
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void initialize() const
One-time initialization of object.
void SetName(const char *name)
Change (i.e.
char * Form(const char *fmt,...)
static Double_t infinity()
Return internal infinity representation.
virtual const char * GetName() const
Returns name of object.
RooArgSet _ownedClonedModelSet
static void indent(ostringstream &buf, int indent_level)
void replaceArg(const RooAbsArg &orig, const RooAbsArg &subst)
Replace any occurence of arg 'orig' with arg 'subst'.
RooAbsArg * at(Int_t idx) const
void resetNumCall() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Bool_t setUseIntegrandLimits(Bool_t flag)
Interface function that allows to defer limit definition to integrand definition. ...
RooCategory & method1DOpen()
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 setCloneBranchSet(RooArgSet &cloneBranchSet)
Install the input RooArgSet as container in which all cloned branches will be stored.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
void clearConvolutionWindow()
Removes previously defined convolution window, reverting to convolution from -inf to +inf...
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...
virtual void removeAll()
Reimplementation of standard RooArgList::removeAll()
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...
Double_t min(const char *rname=0) const
Implementation of RooAbsFunc that represent the the integrand of a generic (numeric) convolution A (x...
RooAbsIntegrator * _integrator
Binding of Convolution Integrand function.
Int_t Fill(Double_t)
Invalid Fill method.
RooArgSet _ownedClonedPdfSet
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...
Double_t max(const char *rname=0) const