library: libRooFit #include "RooConvGenContext.h"

# RooConvGenContext

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

## class RooConvGenContext : public RooAbsGenContext

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsGenContext`
| <- | `RooConvGenContext` |

        protected:

                            RooConvGenContext(const RooConvGenContext& other)
               virtual void generateEvent(RooArgSet& theEvent, Int_t remaining)
               virtual void initGenerator(const RooArgSet& theEvent)

        public:

                            RooConvGenContext(const RooNumConvPdf& model, const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t _verbose = kFALSE)
                            RooConvGenContext(const RooAbsAnaConvPdf& model, const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t _verbose = kFALSE)
                    virtual ~RooConvGenContext()
             static TClass* Class()
            virtual TClass* IsA() const
               virtual void setProtoDataOrder(Int_t* lut)
               virtual void ShowMembers(TMemberInspector& insp, char* parent)
               virtual void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          RooAbsGenContext* _pdfGen         Physics model generator context
          RooAbsGenContext* _modelGen       Resolution model generator context
                    TString _convVarName    Name of convolution variable
                 RooArgSet* _pdfVars        Holder of PDF x truth event
                 RooArgSet* _modelVars      Holder of resModel event
                 RooArgSet* _pdfCloneSet    Owner of PDF clone
                 RooArgSet* _modelCloneSet  Owner of resModel clone
                RooRealVar* _cvModel        Convolution variable in resModel event
                RooRealVar* _cvPdf          Convolution variable in PDFxTruth event
                RooRealVar* _cvOut          Convolution variable in output event

## Class Description

RooConvGenContext(const RooAbsAnaConvPdf &model, const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose) : RooAbsGenContext(model,vars,prototype,auxProto,verbose)

     Constructor for analytical convolutions.

     Build a generator for the physics PDF convoluted with the truth model
     and a generator for the resolution model as PDF.

RooConvGenContext(const RooNumConvPdf &model, const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose) : RooAbsGenContext(model,vars,prototype,auxProto,verbose)

     Constructor for numeric convolutions.

     Build a generator for the physics PDF convoluted with the truth model
     and a generator for the resolution model as PDF.

~RooConvGenContext()

     Destructor. Delete all owned subgenerator contexts

void initGenerator(const RooArgSet &theEvent)

     Initialize genertor for this event holder

void generateEvent(RooArgSet &theEvent, Int_t remaining)

     Generate a single event of the product by generating the components
     of the products sequentially

void setProtoDataOrder(Int_t* lut)

### Inline Functions

            RooConvGenContext RooConvGenContext(const RooConvGenContext& other)
                      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:11:29 2005
Copyright (c) 2000-2005, Regents of the University of California *