library: libRooFit #include "RooNumConvPdf.h"

# RooNumConvPdf

class description - source file - inheritance tree (.pdf)

## class RooNumConvPdf : public RooAbsPdf

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsReal`
| <- | `RooAbsPdf`
| <- | `RooNumConvPdf` |

        protected:

                 RooNumConvolution& conv() const
          virtual RooAbsGenContext* genContext(const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t verbose = kFALSE) const
                               void initialize() const

        public:

                           RooNumConvPdf(const char* name, const char* title, RooRealVar& convVar, RooAbsPdf& pdf, RooAbsPdf& resmodel)
                           RooNumConvPdf(const RooNumConvPdf& other, const char* name = "0")
                   virtual ~RooNumConvPdf()
            static TClass* Class()
                      void clearConvolutionWindow()
          virtual TObject* clone(const char* newname) const
          RooNumIntConfig& convIntConfig()
          virtual Double_t evaluate() const
           virtual TClass* IsA() const
               RooAbsReal& model() const
               RooAbsReal& pdf() const
                const TH2* profileData() const
                      void setCallProfiling(Bool_t flag, Int_t nbinX = 40, Int_t nbinCall = 40, Int_t nCallHigh = 1000)
                      void setCallWarning(Int_t threshold = 2000)
                      void setConvolutionWindow(RooAbsReal& centerParam, RooAbsReal& widthParam, Double_t widthScaleFactor = 1)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
               RooRealVar& var() const

### Data Members

        protected:

                      Bool_t _init
          RooNumConvolution* _conv
                RooRealProxy _origVar    Original convolution variable
                RooRealProxy _origPdf    Original input PDF
                RooRealProxy _origModel  Original resolution model

## Class Description

RooNumConvPdf(const char *name, const char *title, RooRealVar& convVar, RooAbsPdf& pdf, RooAbsPdf& resmodel) : RooAbsPdf(name,title), _init(kFALSE), _conv(0), _origVar("origVar","Original Convolution variable",this,convVar), _origPdf("origPdf","Original Input PDF",this,pdf), _origModel("origModel","Original Resolution model",this,resmodel)

     Constructor of convolution operator PDF

     convVar  :  convolution variable (on which both pdf and resmodel should depend)
     pdf      :  input 'physics' pdf
     resmodel :  input 'resultion' pdf

     output is pdf(x) (X) resmodel(x) = Int [ pdf(x') resmodel (x-x') ] dx'

RooNumConvPdf(const RooNumConvPdf& other, const char* name) : RooAbsPdf(other,name), _init(kFALSE), _origVar("origVar",this,other._origVar), _origPdf("origPdf",this,other._origPdf), _origModel("origModel",this,other._origModel)

     Copy constructor

~RooNumConvPdf()

     Destructor

Double_t evaluate() const

void initialize() const

     Save pointer to any prototype convolution object (only present if this object is made through
     a copy constructor)

RooAbsGenContext* genContext(const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose) const

### Inline Functions

                      TObject* clone(const char* newname) const
              RooNumIntConfig& convIntConfig()
                          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 TH2* profileData() const
                   RooRealVar& var() const
                   RooAbsReal& pdf() const
                   RooAbsReal& model() const
            RooNumConvolution& conv() const
                       TClass* Class()
                       TClass* IsA() const
                          void ShowMembers(TMemberInspector& insp, char* parent)
                          void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:14:04 2005
Copyright (c) 2000-2005, Regents of the University of California *