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

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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-05-06/NuXAna/Vars/FitVarsSterile.h"

Inheritance diagram for ana::FitDelta14InPiUnitsSterile:
ana::IFitVar

Public Member Functions

 FitDelta14InPiUnitsSterile ()
 
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::stringShortName () const
 
const std::stringLatexName () const
 

Detailed Description

$ \delta_{13}/\pi $

Definition at line 74 of file FitVarsSterile.h.

Constructor & Destructor Documentation

ana::FitDelta14InPiUnitsSterile::FitDelta14InPiUnitsSterile ( )
inline

Definition at line 77 of file FitVarsSterile.h.

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

77 : IFitVar("delta14(pi)", "#delta_{14} / #pi") {};
IFitVar(std::string shortName, std::string latexName)
Definition: IFitVar.h:20

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 99 of file FitVarsSterile.cxx.

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

100  {
101  const osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
102  double ret = sterile->GetDelta(1, 4)/M_PI;
103  while(ret < 0) ret += 2;
104  while(ret > 2) ret -= 2;
105  return ret;
106  }
const IOscCalcSterile * DowncastToSterile(const IOscCalc *calc, bool quiet)
#define M_PI
Definition: SbMath.h:34
base class for sterile oscillation calculators In the context of a sterile oscillation calculator...
virtual double GetDelta(int i, int j) const =0
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 35 of file IFitVar.h.

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

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

Implements ana::IFitVar.

Definition at line 109 of file FitVarsSterile.cxx.

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

110  {
112  }
virtual void SetDelta(int i, int j, double delta)=0
const IOscCalcSterile * DowncastToSterile(const IOscCalc *calc, bool quiet)
#define M_PI
Definition: SbMath.h:34
const std::string& ana::IFitVar::ShortName ( ) const
inlineinherited

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