#include <MCToyGenerationAndFit.h>
Public Member Functions | |
MCToyGenerationAndFit () | |
MCToyGenerationAndFit (std::string minimizer, int fitstrategy, bool minoserror, double cl=0.95) | |
~MCToyGenerationAndFit () | |
RooAbsData * | GenerateToyMC (RooWorkspace *ws, bool datanorm=true) |
TTree * | GenerateAndFit (RooWorkspace *ws, int nexp) |
RooFitResult * | GenerateAndFitOneToy (RooWorkspace *ws) |
RooFitResult * | FitData (RooWorkspace *ws, bool isWeighted=false) |
RooFitResult * | FitAsimovData (RooWorkspace *w) |
RooFitResult * | FitToyData (RooWorkspace *w, RooAbsData *obsdata) |
TTree * | FitToyMCFromWorkspace (std::vector< RooWorkspace * > wsvec, bool fitdata) |
TTree * | RooFitResultToTTree (RooWorkspace *ws, RooFitResult *res) |
TTree * | RooMCStudyToTTree (RooMCStudy *mc) |
TTree * | RooDataSetToTTree (RooAbsData *data, TString treename) |
RooArgSet * | GetChi2Set (RooWorkspace *work, RooAbsData *data) |
TTree * | GenerateChi2Tree (RooWorkspace *ws, int nexp, int seed) |
void | SetMinimiser (std::string min) |
void | SetAlgorithm (std::string min) |
void | SetFitStrategy (int fs) |
void | EnableMinosError () |
void | SetConfLevel (double cl) |
Protected Attributes | |
TString | _minimizer |
TString | _algorithm |
int | _fitstrategy |
bool | _minoserror |
double | _conflevel |
Definition at line 25 of file MCToyGenerationAndFit.h.
protoana::MCToyGenerationAndFit::MCToyGenerationAndFit | ( | ) |
Definition at line 35 of file MCToyGenerationAndFit.cxx.
protoana::MCToyGenerationAndFit::MCToyGenerationAndFit | ( | std::string | minimizer, |
int | fitstrategy, | ||
bool | minoserror, | ||
double | cl = 0.95 |
||
) |
Definition at line 47 of file MCToyGenerationAndFit.cxx.
protoana::MCToyGenerationAndFit::~MCToyGenerationAndFit | ( | ) |
Definition at line 59 of file MCToyGenerationAndFit.cxx.
|
inline |
Definition at line 81 of file MCToyGenerationAndFit.h.
RooFitResult * protoana::MCToyGenerationAndFit::FitAsimovData | ( | RooWorkspace * | w | ) |
Definition at line 294 of file MCToyGenerationAndFit.cxx.
RooFitResult * protoana::MCToyGenerationAndFit::FitData | ( | RooWorkspace * | ws, |
bool | isWeighted = false |
||
) |
Definition at line 259 of file MCToyGenerationAndFit.cxx.
RooFitResult * protoana::MCToyGenerationAndFit::FitToyData | ( | RooWorkspace * | w, |
RooAbsData * | obsdata | ||
) |
Definition at line 319 of file MCToyGenerationAndFit.cxx.
TTree * protoana::MCToyGenerationAndFit::FitToyMCFromWorkspace | ( | std::vector< RooWorkspace * > | wsvec, |
bool | fitdata | ||
) |
Definition at line 341 of file MCToyGenerationAndFit.cxx.
TTree * protoana::MCToyGenerationAndFit::GenerateAndFit | ( | RooWorkspace * | ws, |
int | nexp | ||
) |
Definition at line 119 of file MCToyGenerationAndFit.cxx.
RooFitResult * protoana::MCToyGenerationAndFit::GenerateAndFitOneToy | ( | RooWorkspace * | ws | ) |
Definition at line 192 of file MCToyGenerationAndFit.cxx.
TTree * protoana::MCToyGenerationAndFit::GenerateChi2Tree | ( | RooWorkspace * | ws, |
int | nexp, | ||
int | seed | ||
) |
Definition at line 625 of file MCToyGenerationAndFit.cxx.
RooAbsData * protoana::MCToyGenerationAndFit::GenerateToyMC | ( | RooWorkspace * | ws, |
bool | datanorm = true |
||
) |
Definition at line 65 of file MCToyGenerationAndFit.cxx.
RooArgSet * protoana::MCToyGenerationAndFit::GetChi2Set | ( | RooWorkspace * | work, |
RooAbsData * | data | ||
) |
Definition at line 554 of file MCToyGenerationAndFit.cxx.
TTree * protoana::MCToyGenerationAndFit::RooDataSetToTTree | ( | RooAbsData * | data, |
TString | treename | ||
) |
Definition at line 516 of file MCToyGenerationAndFit.cxx.
TTree * protoana::MCToyGenerationAndFit::RooFitResultToTTree | ( | RooWorkspace * | ws, |
RooFitResult * | res | ||
) |
Definition at line 372 of file MCToyGenerationAndFit.cxx.
TTree * protoana::MCToyGenerationAndFit::RooMCStudyToTTree | ( | RooMCStudy * | mc | ) |
Definition at line 403 of file MCToyGenerationAndFit.cxx.
|
inline |
Definition at line 75 of file MCToyGenerationAndFit.h.
|
inline |
Definition at line 84 of file MCToyGenerationAndFit.h.
|
inline |
Definition at line 78 of file MCToyGenerationAndFit.h.
|
inline |
Definition at line 72 of file MCToyGenerationAndFit.h.
|
protected |
Definition at line 92 of file MCToyGenerationAndFit.h.
|
protected |
Definition at line 101 of file MCToyGenerationAndFit.h.
|
protected |
Definition at line 95 of file MCToyGenerationAndFit.h.
|
protected |
Definition at line 89 of file MCToyGenerationAndFit.h.
|
protected |
Definition at line 98 of file MCToyGenerationAndFit.h.