library: libRooFit
#include "RooSimGenContext.h"

RooSimGenContext


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

class RooSimGenContext : public RooAbsGenContext

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsGenContext
<-
RooSimGenContext

    protected:
RooSimGenContext(const RooSimGenContext& other) virtual void generateEvent(RooArgSet& theEvent, Int_t remaining) virtual void initGenerator(const RooArgSet& theEvent) public:
RooSimGenContext(const RooSimultaneous& model, const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t _verbose = kFALSE) virtual ~RooSimGenContext() 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:
RooAbsCategoryLValue* _idxCat Clone of index category RooArgSet* _idxCatSet Owner of index category components const RooDataSet* _prototype Prototype data set const RooSimultaneous* _pdf Original PDF TList _gcList List of component generator contexts Bool_t _haveIdxProto Flag set if generation of index is requested TString _idxCatName Name of index category Int_t _numPdf Number of generated PDFs Double_t* _fracThresh [_numPdf] Fraction threshold array

Class Description

RooSimGenContext(const RooSimultaneous &model, const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose)
 Constructor. Build an array of generator contexts for each component PDF
~RooSimGenContext()
 Destructor. Delete all owned subgenerator contexts
void initGenerator(const RooArgSet &theEvent)
 Attach the index category clone to the event
void generateEvent(RooArgSet &theEvent, Int_t remaining)
 Generate event appropriate for current index state.
 The index state is taken either from the prototype
 or generated from the fraction threshold table.
void setProtoDataOrder(Int_t* lut)
RooSimGenContext(const RooSimultaneous &model, const RooArgSet &vars, const RooDataSet *prototype= 0, const RooArgSet* auxProto=0, Bool_t _verbose= kFALSE)

Last update: Tue Jul 11 11:46:20 2006
Copyright (c) 2000-2005, Regents of the University of California *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.