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

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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-25/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 71 of file FitVarsSterile.h.

Constructor & Destructor Documentation

ana::FitDelta14InPiUnitsSterile::FitDelta14InPiUnitsSterile ( )
inline

Definition at line 74 of file FitVarsSterile.h.

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

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

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::OscCalcSterile::GetDelta(), M_PI, and runNovaSAM::ret.

100  {
101  const osc::OscCalcSterile* 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  }
double GetDelta(int i, int j) const
Adapt the PMNS_Sterile calculator to standard interface.
#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::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::OscCalcSterile::SetDelta().

110  {
112  }
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: