Public Member Functions | List of all members
ana::FitDelta24InPiUnitsSterile Class Reference

$ \delta_{24}/\pi $ More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-10-23/NuXAna/Vars/FitVarsSterile.h"

Inheritance diagram for ana::FitDelta24InPiUnitsSterile:
ana::IFitVar

Public Member Functions

 FitDelta24InPiUnitsSterile ()
 
double GetValue (const osc::IOscCalcAdjustable *osc) const override
 
void SetValue (osc::IOscCalcAdjustable *osc, double val) const override
 
virtual double Penalty (double, osc::IOscCalcAdjustable *) const
 
const std::string & ShortName () const
 
const std::string & LatexName () const
 

Detailed Description

$ \delta_{24}/\pi $

Definition at line 86 of file FitVarsSterile.h.

Constructor & Destructor Documentation

ana::FitDelta24InPiUnitsSterile::FitDelta24InPiUnitsSterile ( )
inline

Definition at line 89 of file FitVarsSterile.h.

References ana::FitDmSq32Sterile::GetValue(), ana::kFitDelta24InPiUnitsSterile, ana::FitDmSq32Sterile::SetValue(), and febshutoff_auto::val.

89 : IFitVar("delta24(pi)", "#delta_{24} / #pi") {};
IFitVar(std::string shortName, std::string latexName)
Definition: IFitVar.h:19

Member Function Documentation

double ana::FitDelta24InPiUnitsSterile::GetValue ( const osc::IOscCalcAdjustable osc) const
overridevirtual

Implements ana::IFitVar.

Definition at line 115 of file FitVarsSterile.cxx.

References abs(), osc::DowncastToSterile(), osc::OscCalcSterile::GetDelta(), M_PI, and runNovaSAM::ret.

Referenced by GetNus18SeedValues(), make_fc_nus_surfs_nersc_2018(), and make_fc_nus_surfs_nersc_2019().

116  {
117  const osc::OscCalcSterile* sterile = osc::DowncastToSterile(osc);
118  double ret = sterile->GetDelta(2, 4)/M_PI;
119  if (abs(ret) > 10)
120  return -1.;
121  while(ret < 0) ret += 2;
122  while(ret > 2) ret -= 2;
123  return ret;
124  }
double GetDelta(int i, int j) const
Adapt the PMNS_Sterile calculator to standard interface.
void abs(TH1 *hist)
#define M_PI
Definition: SbMath.h:34
const OscCalcSterile * DowncastToSterile(const IOscCalc *calc)
const std::string& ana::IFitVar::LatexName ( ) const
inlineinherited
virtual double ana::IFitVar::Penalty ( double  ,
osc::IOscCalcAdjustable  
) const
inlinevirtualinherited

Reimplemented in ana::FitDeltaCPT, ana::FitSigmaCPT, and ana::IConstrainedFitVar.

Definition at line 34 of file IFitVar.h.

Referenced by ana::FrequentistSurface::FillSurface().

34 {return 0;}
void ana::FitDelta24InPiUnitsSterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
overridevirtual

Implements ana::IFitVar.

Definition at line 127 of file FitVarsSterile.cxx.

References osc::DowncastToSterile(), M_PI, and osc::OscCalcSterile::SetDelta().

Referenced by GetNus18SeedValues(), make_fc_nus_surfs_nersc_2018(), make_fc_nus_surfs_nersc_2019(), and make_nus17_fc_surfs().

128  {
130  }
void SetDelta(int i, int j, double delta)
#define M_PI
Definition: SbMath.h:34
const OscCalcSterile * DowncastToSterile(const IOscCalc *calc)
const std::string& ana::IFitVar::ShortName ( ) const
inlineinherited

The documentation for this class was generated from the following files: