library: libRooFit #include "RooProdGenContext.h"

# RooProdGenContext

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

## class RooProdGenContext : public RooAbsGenContext

| Inheritance Chart:

`TObject`

<-

`TNamed`

`RooPrintable`

<-

`RooAbsGenContext`

<-

`RooProdGenContext`

        protected:

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

        public:

                            RooProdGenContext(const RooProdPdf& model, const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t _verbose = kFALSE)
                    virtual ~RooProdGenContext()
             static TClass* Class()
            virtual TClass* IsA() const
               virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) 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:

                  RooArgSet _commonCats       Common category dependents
                 RooArgSet* _ccdCloneSet
          RooSuperCategory* _ccdSuper         SuperCategory of Common category dependents
                 RooArgSet* _pdfCloneSet
                 RooAbsPdf* _pdfClone
           RooRealIntegral* _pdfCcdInt
                     Bool_t _ccdRefresh
                  Double_t* _ccdTable
          const RooProdPdf* _pdf              Original PDF
                      TList _gcList           List of component generator contexts
                 TIterator* _gcIter           ! Iterator over gcList
                  RooArgSet _ownedMultiProds  Owned auxilary multi-term product PDFs

## Class Description

RooProdGenContext(const RooProdPdf &model, const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose) : RooAbsGenContext(model,vars,prototype,auxProto,verbose), _pdf(&model)

     Constructor. Build an array of generator contexts for each product component PDF

~RooProdGenContext()

     Destructor. Delete all owned subgenerator contexts

void initGenerator(const RooArgSet &theEvent)

     Forward initGenerator call to all components

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)

void printToStream(ostream &os, PrintOption opt, TString indent) const

### Inline Functions

                         void updateCCDTable()
            RooProdGenContext RooProdGenContext(const RooProdGenContext& 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:14:25 2005
Copyright (c) 2000-2005, Regents of the University of California *