RooNumConvolution Class Reference

#include <RooNumConvolution.h>

Inheritance diagram for RooNumConvolution:

RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

Public Member Functions

 RooNumConvolution ()
 RooNumConvolution (const char *name, const char *title, RooRealVar &convVar, RooAbsReal &pdf, RooAbsReal &resmodel, const RooNumConvolution *proto=0)
 RooNumConvolution (const RooNumConvolution &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooNumConvolution ()
Double_t evaluate () const
RooNumIntConfigconvIntConfig ()
const RooNumIntConfigconvIntConfig () const
void clearConvolutionWindow ()
void setConvolutionWindow (RooAbsReal &centerParam, RooAbsReal &widthParam, Double_t widthScaleFactor=1)
void setCallWarning (Int_t threshold=2000)
void setCallProfiling (Bool_t flag, Int_t nbinX=40, Int_t nbinCall=40, Int_t nCallHigh=1000)
const TH2profileData () const
RooRealVarvar () const
RooAbsRealpdf () const
RooAbsRealmodel () const
 RooNumConvolution ()
 RooNumConvolution (const char *name, const char *title, RooRealVar &convVar, RooAbsReal &pdf, RooAbsReal &resmodel, const RooNumConvolution *proto=0)
 RooNumConvolution (const RooNumConvolution &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooNumConvolution ()
Double_t evaluate () const
RooNumIntConfigconvIntConfig ()
const RooNumIntConfigconvIntConfig () const
void clearConvolutionWindow ()
void setConvolutionWindow (RooAbsReal &centerParam, RooAbsReal &widthParam, Double_t widthScaleFactor=1)
void setCallWarning (Int_t threshold=2000)
void setCallProfiling (Bool_t flag, Int_t nbinX=40, Int_t nbinCall=40, Int_t nCallHigh=1000)
const TH2profileData () const
RooRealVarvar () const
RooAbsRealpdf () const
RooAbsRealmodel () const

Protected Member Functions

void initialize () const
Bool_t redirectServersHook (const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive)
virtual void printCompactTreeHook (ostream &os, const char *indent="")
RooRealVarcloneVar () const
RooAbsRealclonePdf () const
RooAbsRealcloneModel () const
void initialize () const
Bool_t redirectServersHook (const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive)
virtual void printCompactTreeHook (ostream &os, const char *indent="")
RooRealVarcloneVar () const
RooAbsRealclonePdf () const
RooAbsRealcloneModel () const

Protected Attributes

Bool_t _init
RooNumIntConfig _convIntConfig
RooConvIntegrandBinding_integrand
RooAbsIntegrator_integrator
 Binding of Convolution Integrand function.
RooRealProxy _origVar
 Numeric integrator of convolution integrand.
RooRealProxy _origPdf
RooRealProxy _origModel
RooArgSet _ownedClonedPdfSet
RooArgSet _ownedClonedModelSet
RooAbsReal_cloneVar
RooAbsReal_clonePdf
RooAbsReal_cloneModel
Bool_t _useWindow
Double_t _windowScale
RooListProxy _windowParam
Int_t _verboseThresh
Bool_t _doProf
TH2_callHist
RooConvIntegrandBinding_integrand
RooAbsIntegrator_integrator
 Binding of Convolution Integrand function.
RooAbsReal_cloneVar
RooAbsReal_clonePdf
RooAbsReal_cloneModel
TH2_callHist

Friends

class RooNumConvPdf
class RooConvGenContext

Detailed Description

Definition at line 29 of file RooNumConvolution.h.


Constructor & Destructor Documentation

RooNumConvolution::RooNumConvolution (  ) 

Definition at line 83 of file RooNumConvolution.cxx.

Referenced by clone().

RooNumConvolution::RooNumConvolution ( const char *  name,
const char *  title,
RooRealVar convVar,
RooAbsReal pdf,
RooAbsReal resmodel,
const RooNumConvolution proto = 0 
)

Definition at line 94 of file RooNumConvolution.cxx.

References _convIntConfig, _useWindow, _windowParam, _windowScale, RooArgList::at(), convIntConfig(), RooNumIntConfig::method1D(), RooNumIntConfig::method1DOpen(), setConvolutionWindow(), and RooCategory::setLabel().

RooNumConvolution::RooNumConvolution ( const RooNumConvolution other,
const char *  name = 0 
)

Definition at line 139 of file RooNumConvolution.cxx.

RooNumConvolution::~RooNumConvolution (  )  [virtual]

Definition at line 210 of file RooNumConvolution.cxx.

RooNumConvolution::RooNumConvolution (  ) 

RooNumConvolution::RooNumConvolution ( const char *  name,
const char *  title,
RooRealVar convVar,
RooAbsReal pdf,
RooAbsReal resmodel,
const RooNumConvolution proto = 0 
)

RooNumConvolution::RooNumConvolution ( const RooNumConvolution other,
const char *  name = 0 
)

virtual RooNumConvolution::~RooNumConvolution (  )  [virtual]


Member Function Documentation

virtual TObject* RooNumConvolution::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 39 of file RooNumConvolution.h.

References RooNumConvolution().

Double_t RooNumConvolution::evaluate (  )  const [virtual]

Implements RooAbsReal.

Definition at line 218 of file RooNumConvolution.cxx.

References _callHist, _doProf, _init, _integrand, _integrator, _origVar, _useWindow, _verboseThresh, _windowParam, _windowScale, RooArgList::at(), coutW, TH2::Fill(), TNamed::GetName(), RooAbsReal::getVal(), RooNumber::infinity(), initialize(), RooAbsIntegrator::integral(), RooFit::Integration, RooAbsProxy::nset(), RooAbsFunc::numCall(), RooAbsFunc::resetNumCall(), RooAbsIntegrator::setLimits(), RooConvIntegrandBinding::setNormalizationSet(), width, and x.

Referenced by RooNumConvPdf::evaluate().

RooNumIntConfig& RooNumConvolution::convIntConfig (  )  [inline]

Definition at line 44 of file RooNumConvolution.h.

References _convIntConfig, _init, and kFALSE.

Referenced by RooNumConvPdf::convIntConfig(), and RooNumConvolution().

const RooNumIntConfig& RooNumConvolution::convIntConfig (  )  const [inline]

Definition at line 45 of file RooNumConvolution.h.

References _convIntConfig, _init, and kFALSE.

void RooNumConvolution::clearConvolutionWindow (  ) 

Definition at line 269 of file RooNumConvolution.cxx.

References _useWindow, _windowParam, kFALSE, and RooListProxy::removeAll().

Referenced by RooNumConvPdf::clearConvolutionWindow().

void RooNumConvolution::setConvolutionWindow ( RooAbsReal centerParam,
RooAbsReal widthParam,
Double_t  widthScaleFactor = 1 
)

Definition at line 280 of file RooNumConvolution.cxx.

References _useWindow, _windowParam, _windowScale, RooListProxy::add(), kTRUE, and RooListProxy::removeAll().

Referenced by RooNumConvolution(), and RooNumConvPdf::setConvolutionWindow().

void RooNumConvolution::setCallWarning ( Int_t  threshold = 2000  ) 

Definition at line 296 of file RooNumConvolution.cxx.

References _verboseThresh, coutE, TNamed::GetName(), and RooFit::InputArguments.

Referenced by RooNumConvPdf::setCallWarning().

void RooNumConvolution::setCallProfiling ( Bool_t  flag,
Int_t  nbinX = 40,
Int_t  nbinCall = 40,
Int_t  nCallHigh = 1000 
)

Definition at line 310 of file RooNumConvolution.cxx.

References _callHist, _doProf, _origVar, Form(), TNamed::GetName(), TNamed::GetTitle(), kFALSE, kTRUE, RooRealProxy::max(), and RooRealProxy::min().

Referenced by RooNumConvPdf::setCallProfiling().

const TH2* RooNumConvolution::profileData (  )  const [inline]

Definition at line 52 of file RooNumConvolution.h.

References _callHist, and _doProf.

Referenced by RooNumConvPdf::profileData().

RooRealVar& RooNumConvolution::var (  )  const [inline]

Definition at line 55 of file RooNumConvolution.h.

References _origVar, and RooRealProxy::arg().

Referenced by RooNumConvPdf::genContext(), and initialize().

RooAbsReal& RooNumConvolution::pdf (  )  const [inline]

Definition at line 56 of file RooNumConvolution.h.

References _origPdf, and RooRealProxy::arg().

Referenced by RooNumConvPdf::genContext(), and initialize().

RooAbsReal& RooNumConvolution::model (  )  const [inline]

Definition at line 57 of file RooNumConvolution.h.

References _origModel, and RooRealProxy::arg().

Referenced by RooNumConvPdf::genContext(), and initialize().

void RooNumConvolution::initialize (  )  const [protected]

Definition at line 166 of file RooNumConvolution.cxx.

References _cloneModel, _clonePdf, _cloneVar, _convIntConfig, _init, _integrand, _integrator, _origVar, _ownedClonedModelSet, _ownedClonedPdfSet, RooRealProxy::arg(), RooCustomizer::build(), RooNumIntFactory::createIntegrator(), Form(), TNamed::GetName(), RooNumIntFactory::instance(), kFALSE, kTRUE, model(), pdf(), RooAbsCollection::removeAll(), RooCustomizer::replaceArg(), RooCustomizer::setCloneBranchSet(), TNamed::SetName(), RooAbsIntegrator::setUseIntegrandLimits(), and var().

Referenced by cloneModel(), clonePdf(), cloneVar(), and evaluate().

Bool_t RooNumConvolution::redirectServersHook ( const RooAbsCollection newServerList,
Bool_t  mustReplaceAll,
Bool_t  nameChange,
Bool_t  isRecursive 
) [protected, virtual]

Reimplemented from RooAbsArg.

Definition at line 257 of file RooNumConvolution.cxx.

References _init, and kFALSE.

void RooNumConvolution::printCompactTreeHook ( ostream &  os,
const char *  indent = "" 
) [protected, virtual]

Reimplemented from RooAbsArg.

Definition at line 344 of file RooNumConvolution.cxx.

References _cloneModel, _clonePdf, _cloneVar, _init, Form(), and RooAbsArg::printCompactTree().

RooRealVar& RooNumConvolution::cloneVar (  )  const [inline, protected]

Definition at line 85 of file RooNumConvolution.h.

References _cloneVar, _init, and initialize().

RooAbsReal& RooNumConvolution::clonePdf (  )  const [inline, protected]

Definition at line 86 of file RooNumConvolution.h.

References _clonePdf, _init, and initialize().

RooAbsReal& RooNumConvolution::cloneModel (  )  const [inline, protected]

Definition at line 87 of file RooNumConvolution.h.

References _cloneModel, _init, and initialize().

virtual TObject* RooNumConvolution::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 39 of file RooNumConvolution.h.

References RooNumConvolution().

Double_t RooNumConvolution::evaluate (  )  const [virtual]

Implements RooAbsReal.

RooNumIntConfig& RooNumConvolution::convIntConfig (  )  [inline]

Definition at line 44 of file RooNumConvolution.h.

References _convIntConfig, _init, and kFALSE.

const RooNumIntConfig& RooNumConvolution::convIntConfig (  )  const [inline]

Definition at line 45 of file RooNumConvolution.h.

References _convIntConfig, _init, and kFALSE.

void RooNumConvolution::clearConvolutionWindow (  ) 

void RooNumConvolution::setConvolutionWindow ( RooAbsReal centerParam,
RooAbsReal widthParam,
Double_t  widthScaleFactor = 1 
)

void RooNumConvolution::setCallWarning ( Int_t  threshold = 2000  ) 

void RooNumConvolution::setCallProfiling ( Bool_t  flag,
Int_t  nbinX = 40,
Int_t  nbinCall = 40,
Int_t  nCallHigh = 1000 
)

const TH2* RooNumConvolution::profileData (  )  const [inline]

Definition at line 52 of file RooNumConvolution.h.

References _callHist, and _doProf.

RooRealVar& RooNumConvolution::var (  )  const [inline]

Definition at line 55 of file RooNumConvolution.h.

References _origVar, and RooRealProxy::arg().

RooAbsReal& RooNumConvolution::pdf (  )  const [inline]

Definition at line 56 of file RooNumConvolution.h.

References _origPdf, and RooRealProxy::arg().

RooAbsReal& RooNumConvolution::model (  )  const [inline]

Definition at line 57 of file RooNumConvolution.h.

References _origModel, and RooRealProxy::arg().

void RooNumConvolution::initialize (  )  const [protected]

Bool_t RooNumConvolution::redirectServersHook ( const RooAbsCollection newServerList,
Bool_t  mustReplaceAll,
Bool_t  nameChange,
Bool_t  isRecursive 
) [protected, virtual]

Reimplemented from RooAbsArg.

virtual void RooNumConvolution::printCompactTreeHook ( ostream &  os,
const char *  indent = "" 
) [protected, virtual]

Reimplemented from RooAbsArg.

RooRealVar& RooNumConvolution::cloneVar (  )  const [inline, protected]

Definition at line 85 of file RooNumConvolution.h.

References _cloneVar, _init, and initialize().

RooAbsReal& RooNumConvolution::clonePdf (  )  const [inline, protected]

Definition at line 86 of file RooNumConvolution.h.

References _clonePdf, _init, and initialize().

RooAbsReal& RooNumConvolution::cloneModel (  )  const [inline, protected]

Definition at line 87 of file RooNumConvolution.h.

References _cloneModel, _init, and initialize().


Friends And Related Function Documentation

RooNumConvPdf [friend]

Definition at line 61 of file RooNumConvolution.h.

RooConvGenContext [friend]

Definition at line 84 of file RooNumConvolution.h.


Member Data Documentation

Bool_t RooNumConvolution::_init [mutable, protected]

Definition at line 63 of file RooNumConvolution.h.

Referenced by cloneModel(), clonePdf(), cloneVar(), convIntConfig(), evaluate(), initialize(), printCompactTreeHook(), and redirectServersHook().

RooNumIntConfig RooNumConvolution::_convIntConfig [protected]

Definition at line 69 of file RooNumConvolution.h.

Referenced by convIntConfig(), initialize(), and RooNumConvolution().

RooConvIntegrandBinding* RooNumConvolution::_integrand [mutable, protected]

Definition at line 70 of file RooNumConvolution.h.

Referenced by evaluate(), and initialize().

RooAbsIntegrator* RooNumConvolution::_integrator [mutable, protected]

Binding of Convolution Integrand function.

Definition at line 71 of file RooNumConvolution.h.

Referenced by evaluate(), and initialize().

RooRealProxy RooNumConvolution::_origVar [protected]

Numeric integrator of convolution integrand.

Definition at line 73 of file RooNumConvolution.h.

Referenced by evaluate(), initialize(), setCallProfiling(), and var().

RooRealProxy RooNumConvolution::_origPdf [protected]

Definition at line 74 of file RooNumConvolution.h.

Referenced by pdf().

RooRealProxy RooNumConvolution::_origModel [protected]

Definition at line 75 of file RooNumConvolution.h.

Referenced by model().

RooArgSet RooNumConvolution::_ownedClonedPdfSet [mutable, protected]

Definition at line 77 of file RooNumConvolution.h.

Referenced by initialize().

RooArgSet RooNumConvolution::_ownedClonedModelSet [mutable, protected]

Definition at line 78 of file RooNumConvolution.h.

Referenced by initialize().

RooAbsReal* RooNumConvolution::_cloneVar [mutable, protected]

Definition at line 80 of file RooNumConvolution.h.

Referenced by cloneVar(), initialize(), and printCompactTreeHook().

RooAbsReal* RooNumConvolution::_clonePdf [mutable, protected]

Definition at line 81 of file RooNumConvolution.h.

Referenced by clonePdf(), initialize(), and printCompactTreeHook().

RooAbsReal* RooNumConvolution::_cloneModel [mutable, protected]

Definition at line 82 of file RooNumConvolution.h.

Referenced by cloneModel(), initialize(), and printCompactTreeHook().

Bool_t RooNumConvolution::_useWindow [protected]

Definition at line 89 of file RooNumConvolution.h.

Referenced by clearConvolutionWindow(), evaluate(), RooNumConvolution(), and setConvolutionWindow().

Double_t RooNumConvolution::_windowScale [protected]

Definition at line 90 of file RooNumConvolution.h.

Referenced by evaluate(), RooNumConvolution(), and setConvolutionWindow().

RooListProxy RooNumConvolution::_windowParam [protected]

Definition at line 91 of file RooNumConvolution.h.

Referenced by clearConvolutionWindow(), evaluate(), RooNumConvolution(), and setConvolutionWindow().

Int_t RooNumConvolution::_verboseThresh [protected]

Definition at line 93 of file RooNumConvolution.h.

Referenced by evaluate(), and setCallWarning().

Bool_t RooNumConvolution::_doProf [protected]

Definition at line 94 of file RooNumConvolution.h.

Referenced by evaluate(), profileData(), and setCallProfiling().

TH2* RooNumConvolution::_callHist [protected]

Definition at line 95 of file RooNumConvolution.h.

Referenced by evaluate(), profileData(), and setCallProfiling().

RooConvIntegrandBinding* RooNumConvolution::_integrand [mutable, protected]

Definition at line 70 of file RooNumConvolution.h.

RooAbsIntegrator* RooNumConvolution::_integrator [mutable, protected]

Binding of Convolution Integrand function.

Definition at line 71 of file RooNumConvolution.h.

RooAbsReal* RooNumConvolution::_cloneVar [mutable, protected]

Definition at line 80 of file RooNumConvolution.h.

RooAbsReal* RooNumConvolution::_clonePdf [mutable, protected]

Definition at line 81 of file RooNumConvolution.h.

RooAbsReal* RooNumConvolution::_cloneModel [mutable, protected]

Definition at line 82 of file RooNumConvolution.h.

TH2* RooNumConvolution::_callHist [protected]

Definition at line 95 of file RooNumConvolution.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1