GaussianConstraint.cxx
Go to the documentation of this file.
2 
3 #include "CAFAna/Vars/FitVars.h"
4 
5 #include "Utilities/func/MathUtil.h"
6 
7 namespace ana
8 {
9  //----------------------------------------------------------------------
11  const SystShifts& /*syst*/) const
12  {
13  return util::sqr((fVar->GetValue(osc)-fMean)/fSigma);
14  }
15 
16 }
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:20
T sqr(T x)
More efficient square function than pow(x,2)
Definition: MathUtil.h:23
Oscillation probability calculators.
Definition: Calcs.h:5
virtual double GetValue(const osc::IOscCalcAdjustable *osc) const =0
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &shift=SystShifts::Nominal()) const override