#ifndef ROO_GEN_CONTEXT
#define ROO_GEN_CONTEXT
#include "RooAbsGenContext.h"
#include "RooArgSet.h"
class RooAbsPdf;
class RooDataSet;
class RooRealIntegral;
class RooAcceptReject;
class TRandom;
class RooRealVar ;
class RooGenContext : public RooAbsGenContext {
public:
RooGenContext(const RooAbsPdf &model, const RooArgSet &vars, const RooDataSet *prototype= 0,
const RooArgSet* auxProto=0, Bool_t verbose=kFALSE, const RooArgSet* forceDirect=0);
virtual ~RooGenContext();
virtual void printMultiline(ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const ;
virtual void attach(const RooArgSet& params) ;
protected:
virtual void initGenerator(const RooArgSet &theEvent);
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining);
RooArgSet *_cloneSet;
RooAbsPdf *_pdfClone;
RooArgSet _directVars,_uniformVars,_otherVars;
Int_t _code;
Double_t _maxProb, _area, _norm;
RooRealIntegral *_acceptRejectFunc;
RooAcceptReject *_generator;
RooRealVar *_maxVar ;
TIterator *_uniIter ;
Int_t _updateFMaxPerEvent ;
ClassDef(RooGenContext,0)
};
#endif
Last change: Mon Aug 25 11:36:32 2008
Last generated: 2008-08-25 11:36
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.