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

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


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

class RooGenContext : public RooAbsGenContext

Inheritance Chart:

virtual void generateEvent(RooArgSet& theEvent, Int_t remaining) virtual void initGenerator(const RooArgSet& theEvent) public:
RooGenContext(const RooAbsPdf& model, const RooArgSet& vars, const RooDataSet* prototype = 0, const RooArgSet* auxProto = 0, Bool_t verbose = kFALSE, const RooArgSet* forceDirect = 0) RooGenContext(const RooGenContext&) virtual ~RooGenContext() static TClass* Class() virtual TClass* IsA() const virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

RooArgSet* _cloneSet RooAbsPdf* _pdfClone RooArgSet _directVars RooArgSet _uniformVars RooArgSet _otherVars Int_t _code Double_t _maxProb Double_t _area Double_t _norm RooRealIntegral* _acceptRejectFunc RooAcceptReject* _generator RooRealVar* _maxVar TIterator* _uniIter Int_t _updateFMaxPerEvent

Class Description

 A class description belongs here...

RooGenContext(const RooAbsPdf &model, const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose, const RooArgSet* forceDirect) : RooAbsGenContext(model,vars,prototype,auxProto,verbose), _cloneSet(0), _pdfClone(0), _acceptRejectFunc(0), _generator(0), _maxVar(0), _uniIter(0), _updateFMaxPerEvent(0)
 Initialize a new context for generating events with the specified
 variables, using the specified PDF model. A prototype dataset (if provided)
 is not cloned and still belongs to the caller. The contents and shape
 of this dataset can be changed between calls to generate() as long as the
 expected columns to be copied to the generated dataset are present.


void initGenerator(const RooArgSet &theEvent)

void generateEvent(RooArgSet &theEvent, Int_t remaining)
 Generate variables for a new event.

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

Inline Functions

              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        RooGenContext RooGenContext(const RooGenContext&)
Last CVS Update: v 1.46 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