53 _genPdfName(
other._genPdfName),
54 _genObsName(
other._genObsName),
55 _fitPdfName(
other._fitPdfName),
56 _fitObsName(
other._fitObsName)
73 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: generator p.d.f named " <<
_genPdfName <<
" not found in workspace " <<
w.GetName() << std::endl ;
79 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: no generator observables defined" << std::endl ;
87 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: fitting p.d.f named " <<
_fitPdfName <<
" not found in workspace " <<
w.GetName() << std::endl ;
93 coutE(InputArguments) <<
"RooGenFitStudy(" <<
GetName() <<
") ERROR: no fitting observables defined" << std::endl ;
160 if (fr->status()==0) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooFit::OwningPtr< RooArgSet > getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
Abstract interface for all probability density functions.
GenSpec * prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
Prepare GenSpec configuration object for efficient generation of multiple datasets from identical spe...
RooFit::OwningPtr< RooFitResult > fitTo(RooAbsData &data, CmdArgs_t const &... cmdArgs)
Fit PDF to given dataset.
RooFit::OwningPtr< RooDataSet > generate(const RooArgSet &whatVars, Int_t nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={})
See RooAbsPdf::generate(const RooArgSet&,const RooCmdArg&,const RooCmdArg&,const RooCmdArg&,...
Abstract base class for RooStudyManager modules.
void storeDetailedOutput(bool flag)
void storeSummaryOutput(const RooArgSet &vars)
void registerSummaryOutput(const RooArgSet &allVars, const RooArgSet &varsWithError=RooArgSet(), const RooArgSet &varsWithAsymError=RooArgSet())
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Named container for two doubles, two integers two object points and three string pointers that can be...
Abstract base class for RooStudyManager modules.
bool initialize() override
One-time initialization of study.
void setGenConfig(const char *pdfName, const char *obsName, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={})
void setFitConfig(const char *pdfName, const char *obsName, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={})
RooGenFitStudy(const char *name=nullptr, const char *title=nullptr)
Constructor.
RooAbsPdf::GenSpec * _genSpec
!
std::unique_ptr< RooArgSet > _params
!
bool execute() override
Execute one study iteration.
bool finalize() override
Finalization of study.
bool attach(RooWorkspace &w) override
Function called after insertion into workspace.
void Print(Option_t *options=nullptr) const override
This method must be overridden when a class wants to print itself.
TObject * At(int index) const
Return object stored in sequential position given by index.
virtual void Add(TObject *arg)
Variable that can be changed from the outside.
void setVal(double value) override
Set value of variable to 'value'.
Persistable container for RooFit projects.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
RooCmdArg Save(bool flag=true)