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

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

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

Inheritance diagram for ana::FitDelta13InPiUnitsSterile:
ana::IFitVar

Public Member Functions

 FitDelta13InPiUnitsSterile ()
 
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 56 of file FitVarsSterile.h.

Constructor & Destructor Documentation

ana::FitDelta13InPiUnitsSterile::FitDelta13InPiUnitsSterile ( )
inline

Definition at line 59 of file FitVarsSterile.h.

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

59 : IFitVar("delta13(pi)", "#delta_{13} / #pi") {};
IFitVar(std::string shortName, std::string latexName)
Definition: IFitVar.h:19

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 83 of file FitVarsSterile.cxx.

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

Referenced by make_fc_nus_surfs_nersc_2018(), and make_fc_nus_surfs_nersc_2019().

84  {
85  const osc::OscCalcSterile* sterile = osc::DowncastToSterile(osc);
86  double ret = sterile->GetDelta(1, 3)/M_PI;
87  while(ret < 0) ret += 2;
88  while(ret > 2) ret -= 2;
89  return ret;
90  }
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::FitDelta13InPiUnitsSterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
overridevirtual

Implements ana::IFitVar.

Definition at line 93 of file FitVarsSterile.cxx.

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

94  {
96  }
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: