All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GaussianConstraint.cxx
Go to the documentation of this file.
2 
4 
6 
7 namespace ana
8 {
9  //----------------------------------------------------------------------
11  const SystShifts& /*syst*/) const
12  {
13  return util::sqr((fVar->GetValue(osc)-fMean)/fSigma);
14  }
15 
16 }
virtual double GetValue(const osc::IOscCalcAdjustable *osc) const =0
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:16
process_name opflashCryoW ana
T sqr(T x)
More efficient square function than pow(x,2)
Definition: MathUtil.h:23
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &shift=SystShifts::Nominal()) const override