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

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


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

class RooAbsGenContext : public TNamed, public RooPrintable

Inheritance Chart:
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

virtual void generateEvent(RooArgSet& theEvent, Int_t remaining) virtual void initGenerator(const RooArgSet& theEvent) public:
virtual ~RooAbsGenContext() static TClass* Class() RooDataSet* generate(Int_t nEvents = 0) virtual TClass* IsA() const Bool_t isValid() const Bool_t isVerbose() const virtual void Print(Option_t* options = "0") const virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const virtual void setProtoDataOrder(Int_t* lut) void setVerbose(Bool_t verbose = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

const RooDataSet* _prototype RooArgSet* _theEvent Bool_t _isValid Bool_t _verbose UInt_t _expectedEvents RooArgSet _protoVars Int_t _nextProtoIndex RooAbsPdf::ExtendMode _extendMode Int_t* _protoOrder

Class Description

 RooAbsGenContext is the abstract base class for generator contexts.


RooDataSet* generate(Int_t nEvents)
 Generate the specified number of events with nEvents>0 and
 and return a dataset containing the generated events. With nEvents<=0,
 generate the number of events in the prototype dataset, if available,
 or else the expected number of events, if non-zero. The returned
 dataset belongs to the caller. Return zero in case of an error.
 Generation of individual events is delegated to a virtual generateEvent()
 method. A virtual initGenerator() method is also called just before the
 first call to generateEvent().

void initGenerator(const RooArgSet&)
 The base class provides a do-nothing default implementation.

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

void setProtoDataOrder(Int_t* lut)
 Delete any previous lookup table

Inline Functions

             Bool_t isValid() const
               void setVerbose(Bool_t verbose = kTRUE)
             Bool_t isVerbose() const
               void Print(Option_t* options = "0") const
               void generateEvent(RooArgSet& theEvent, Int_t remaining)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
Last CVS Update: v 1.22 2005/12/01 16:10:19 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby Logo