#ifndef ROO_ABS_MC_STUDY_MODULE
#define ROO_ABS_MC_STUDY_MODULE
#include "TList.h"
#include "RooArgSet.h"
#include "RooMCStudy.h"
class RooAbsPdf;
class RooDataSet ;
class RooAbsData ;
class RooAbsGenContext ;
class RooFitResult ;
class RooPlot ;
class RooRealVar ;
class RooAbsMCStudyModule : public TNamed {
public:
RooAbsMCStudyModule(const char* name, const char* title) ;
RooAbsMCStudyModule(const RooAbsMCStudyModule& other) ;
virtual ~RooAbsMCStudyModule() {} ;
Bool_t doInitializeInstance(RooMCStudy& ) ;
virtual Bool_t initializeInstance() { return kTRUE ; }
virtual Bool_t initializeRun(Int_t ) { return kTRUE ; }
virtual RooDataSet* finalizeRun() { return 0 ; }
virtual Bool_t processBeforeGen(Int_t ) { return kTRUE ; }
virtual Bool_t processBetweenGenAndFit(Int_t ) { return kTRUE ; }
virtual Bool_t processAfterFit(Int_t ) { return kTRUE ; }
protected:
RooFitResult* refit(RooAbsData* genSample=0) { if (_mcs) return _mcs->refit(genSample) ; else return 0 ; }
RooDataSet* genSample() { return _mcs ? _mcs->_genSample : 0 ; }
RooAbsPdf* genModel() { return _mcs ? _mcs->_genModel : 0 ; }
RooAbsGenContext* genContext() { return _mcs ? _mcs->_genContext : 0 ; }
RooArgSet* genInitParams() { return _mcs ? _mcs->_genInitParams : 0 ; }
RooArgSet* genParams() { return _mcs ? _mcs->_genParams : 0 ; }
const RooDataSet* genProtoData() { return _mcs ? _mcs->_genProtoData : 0 ; }
RooArgSet* projDeps() { return _mcs ? &_mcs->_projDeps : 0 ; }
RooArgSet* dependents() { return _mcs ? &_mcs->_dependents : 0 ; }
RooArgSet* allDependents() { return _mcs ? &_mcs->_allDependents : 0 ; }
RooAbsPdf* fitModel() { return _mcs ? _mcs->_fitModel : 0 ; }
RooArgSet* fitInitParams() { return _mcs ? _mcs->_fitInitParams : 0 ; }
RooArgSet* fitParams() { return _mcs ? _mcs-> _fitParams : 0 ; }
RooRealVar* nllVar() { return _mcs ? _mcs->_nllVar : 0 ; }
const char* fitOptions() { return _mcs ? _mcs->_fitOptions.Data() : 0 ; }
RooLinkedList* fitOptList() { return _mcs ? &_mcs->_fitOptList : 0 ; }
Bool_t extendedGen() { return _mcs ? _mcs->_extendedGen : 0 ; }
Bool_t binGenData() { return _mcs ? _mcs->_binGenData : 0 ; }
Double_t numExpGen() { return _mcs ? _mcs->_nExpGen : 0 ; }
Bool_t randProto() { return _mcs ? _mcs->_randProto : 0 ; }
Bool_t verboseGen() { return _mcs ? _mcs->_verboseGen : 0 ; }
private:
RooMCStudy* _mcs ;
ClassDef(RooAbsMCStudyModule,0)
} ;
#endif
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.