52 int nbinsx,
double minx,
double maxx,
54 const std::vector<const IFitVar*>& profVars = {},
55 const std::vector<const ISyst*>& profSysts = {},
57 const std::vector<SystShifts>& systsSeedPts = {},
66 int nbinsx,
double minx,
double maxx,
68 std::vector<const IFitVar*> profVars = {},
69 std::vector<const ISyst*> profSysts = {},
71 const std::vector<SystShifts>& systsSeedPts = {},
79 int nbinsx,
double minx,
double maxx,
86 int nbinsx,
double minx,
double maxx,
double minchi = -1,
96 int nbinsx,
double xmin,
double xmax,
97 const std::vector<const IFitVar*>& profVars = {},
98 const std::vector<const ISyst*>& profSysts = {},
100 const std::vector<SystShifts>& systsSeedPts = {},
Cuts and Vars for the 2020 FD DiF Study.
std::map< std::string, double > xmax
std::vector< double > FindCurveCrossings(TGraph *g, double critVal)
Intended for use on the output of Profile.
TGraph * Profile(const IExperiment *expt, osc::IOscCalcAdjustable *calc, const IFitVar *v, int nbinsx, double minx, double maxx, double input_minchi, const std::vector< const IFitVar * > &profVars, const std::vector< const ISyst * > &profSysts, const SeedList &seedPts, const std::vector< SystShifts > &systSeedPts, std::map< const IFitVar *, TGraph * > &profVarsMap, std::map< const ISyst *, TGraph * > &profSystsMap, MinuitFitter::FitOpts opts)
scan in one variable, profiling over all others
static std::map< const ISyst *, TGraph * > empty_syst_map
static std::map< const IFitVar *, TGraph * > empty_vars_map
TGraph * Slice(const IExperiment *expt, osc::IOscCalcAdjustable *calc, const IFitVar *v, int nbinsx, double minx, double maxx, double minchi, MinuitFitter::FitOpts opts)
scan in one variable, holding all others constant
std::vector< float > Spectrum
TGraph * SqrtSlice(const IExperiment *expt, osc::IOscCalcAdjustable *calc, const IFitVar *v, int nbinsx, double minx, double maxx, double minchi, MinuitFitter::FitOpts opts)
Forward to Slice but sqrt the result for a crude significance.
double SimpleFOM(const Spectrum &obs, const Spectrum &unosc, double pot)
Figure-of-merit with no systematics, for binned data.
Base class defining interface for experiments.
Interface definition for fittable variables.
static float_mat transpose(const float_mat &a)
returns the transposed matrix.
TGraph * FindValley(const IExperiment *expt, osc::IOscCalcAdjustable *calc, const IFitVar &scanVar, const IFitVar &fitVar, int nbinsx, double xmin, double xmax, const std::vector< const IFitVar * > &profVars, const std::vector< const ISyst * > &profSysts, const SeedList &seedPts, const std::vector< SystShifts > &systSeedPts, bool transpose, MinuitFitter::FitOpts opts)
Find the minimum in one variable as a function of another.
TGraph * SqrtProfile(const IExperiment *expt, osc::IOscCalcAdjustable *calc, const IFitVar *v, int nbinsx, double minx, double maxx, double minchi, std::vector< const IFitVar * > profVars, std::vector< const ISyst * > profSysts, const SeedList &seedPts, const std::vector< SystShifts > &systSeedPts, std::map< const IFitVar *, TGraph * > &profVarsMap, std::map< const ISyst *, TGraph * > &systsMap, MinuitFitter::FitOpts opts)
Forward to Profile but sqrt the result for a crude significance.