Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooProdGenContext.hh"


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

class RooProdGenContext : public RooAbsGenContext

Inheritance Chart:

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

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 is an efficient implementation of the generator context
 specific for RooProdPdf PDFs. The sim-context owns a list of
 component generator contexts that are used to generate the dependents
 for each component PDF sequentially.

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

 Destructor. Delete all owned subgenerator contexts

void initGenerator(const RooArgSet &theEvent)
   cout << "RooProdGenContext::initGenerator(" << GetName() << ") theEvent = " << endl ;
   theEvent.Print("v") ;

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 CVS Update: v 1.23 2005/12/01 16:10:20 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby Logo