library: libRooFit #include "RooAbsGenContext.h" |
RooAbsGenContext
class description - source file - inheritance tree (.pdf)
This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.
protected:
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)
protected:
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
~RooAbsGenContext()
Destructor
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 update: Tue Jun 28 18:09:19 2005
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.