#include <ToyMCSamplerOpt.h>
Public Member Functions | |
RooAbsData * | generate (RooRealVar *&weightVar, const RooDataSet *protoData=NULL, int forceEvents=0) |
RooAbsData * | generateAsimov (RooRealVar *&weightVar) |
void | setCacheTemplates (bool cache) |
void | setCopyData (bool copyData) |
SimPdfGenInfo (RooAbsPdf &pdf, const RooArgSet &observables, bool preferBinned, const RooDataSet *protoData=NULL, int forceEvents=0) | |
~SimPdfGenInfo () | |
Private Attributes | |
RooAbsCategoryLValue * | cat_ |
bool | copyData_ |
std::map< std::string, RooAbsData * > | datasetPieces_ |
RooArgSet | observables_ |
RooArgSet | ownedCrap_ |
RooAbsPdf * | pdf_ |
std::vector< SinglePdfGenInfo * > | pdfs_ |
Definition at line 32 of file ToyMCSamplerOpt.h.
toymcoptutils::SimPdfGenInfo::SimPdfGenInfo | ( | RooAbsPdf & | pdf, |
const RooArgSet & | observables, | ||
bool | preferBinned, | ||
const RooDataSet * | protoData = NULL , |
||
int | forceEvents = 0 |
||
) |
Definition at line 273 of file ToyMCSamplerOpt.cc.
References cat_, utils::factorizePdf(), pileupCalc::nbins, ownedCrap_, and pdfs_.
toymcoptutils::SimPdfGenInfo::~SimPdfGenInfo | ( | ) |
Definition at line 301 of file ToyMCSamplerOpt.cc.
RooAbsData * toymcoptutils::SimPdfGenInfo::generate | ( | RooRealVar *& | weightVar, |
const RooDataSet * | protoData = NULL , |
||
int | forceEvents = 0 |
||
) |
Definition at line 316 of file ToyMCSamplerOpt.cc.
References data, i, n, and run_regression::ret.
Referenced by ToyMCSamplerOpt::Generate(), and Combine::run().
RooAbsData * toymcoptutils::SimPdfGenInfo::generateAsimov | ( | RooRealVar *& | weightVar | ) |
Definition at line 368 of file ToyMCSamplerOpt.cc.
References data, i, n, and run_regression::ret.
Referenced by asimovutils::asimovDatasetNominal(), asimovutils::asimovDatasetWithFit(), and Combine::run().
void toymcoptutils::SimPdfGenInfo::setCacheTemplates | ( | bool | cache | ) |
Definition at line 403 of file ToyMCSamplerOpt.cc.
Referenced by ToyMCSamplerOpt::Generate().
|
inline |
Definition at line 38 of file ToyMCSamplerOpt.h.
References copyData_.
Referenced by ToyMCSamplerOpt::Generate().
|
private |
Definition at line 42 of file ToyMCSamplerOpt.h.
Referenced by SimPdfGenInfo().
|
private |
Definition at line 47 of file ToyMCSamplerOpt.h.
Referenced by setCopyData().
|
private |
Definition at line 46 of file ToyMCSamplerOpt.h.
|
private |
Definition at line 43 of file ToyMCSamplerOpt.h.
|
private |
Definition at line 45 of file ToyMCSamplerOpt.h.
Referenced by SimPdfGenInfo().
|
private |
Definition at line 41 of file ToyMCSamplerOpt.h.
|
private |
Definition at line 44 of file ToyMCSamplerOpt.h.
Referenced by SimPdfGenInfo().