library: libRooFit
#include "RooAddGenContext.h"

RooAddGenContext


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

class RooAddGenContext : public RooAbsGenContext

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

    protected:
RooAddGenContext(const RooAddGenContext& other) virtual void generateEvent(RooArgSet& theEvent, Int_t remaining) virtual void initGenerator(const RooArgSet& theEvent) void updateThresholds() public:
RooAddGenContext(const RooAddPdf& model, const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t _verbose = kFALSE) virtual ~RooAddGenContext() 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:
const RooArgSet* _vars RooArgSet* _pdfSet RooAddPdf* _pdf Snapshot of PDF TList _gcList List of component generator contexts Int_t _nComp Number of PDF components Double_t* _coefThresh [_nComp] Array of coefficient thresholds

Class Description

RooAddGenContext(const RooAddPdf &model, const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose)
 Constructor. Build an array of generator contexts for each product component PDF
~RooAddGenContext()
 Destructor. Delete all owned subgenerator contexts
void initGenerator(const RooArgSet &theEvent)
void generateEvent(RooArgSet &theEvent, Int_t remaining)
 Throw a random number to determin which component to generate
void updateThresholds()
void setProtoDataOrder(Int_t* lut)
RooAddGenContext(const RooAddPdf &model, const RooArgSet &vars, const RooDataSet *prototype= 0, const RooArgSet* auxProto=0, Bool_t _verbose= kFALSE)

Last update: Tue Jul 11 11:45:12 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.