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

$ \Delta m^2_{43} $ More...

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

Inheritance diagram for ana::FitDmSq43Sterile:
ana::IFitVar

Public Member Functions

 FitDmSq43Sterile ()
 
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 m^2_{43} $

Definition at line 41 of file FitVarsSterile.h.

Constructor & Destructor Documentation

ana::FitDmSq43Sterile::FitDmSq43Sterile ( )
inline

Definition at line 44 of file FitVarsSterile.h.

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

44 : IFitVar("dmsq43", "#Deltam^{2}_{43}") {};
IFitVar(std::string shortName, std::string latexName)
Definition: IFitVar.h:19

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 65 of file FitVarsSterile.cxx.

References osc::DowncastToSterile(), and osc::OscCalcSterile::GetDm().

66  {
67  const osc::OscCalcSterile* sterile = osc::DowncastToSterile(osc);
68  double dm241 = sterile->GetDm(4);
69  double dm231 = sterile->GetDm(3);
70  return dm241 - dm231;
71  }
Adapt the PMNS_Sterile calculator to standard interface.
const OscCalcSterile * DowncastToSterile(const IOscCalc *calc)
double GetDm(int i) const
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::FitDmSq43Sterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
overridevirtual

Implements ana::IFitVar.

Definition at line 74 of file FitVarsSterile.cxx.

References osc::DowncastToSterile(), osc::OscCalcSterile::GetDm(), and osc::OscCalcSterile::SetDm().

75  {
77  double dm231 = sterile->GetDm(3);
78  double dm241 = val + dm231;
79  sterile->SetDm(4, dm241);
80  }
Adapt the PMNS_Sterile calculator to standard interface.
const OscCalcSterile * DowncastToSterile(const IOscCalc *calc)
void SetDm(int i, double dm)
double GetDm(int i) const
const std::string& ana::IFitVar::ShortName ( ) const
inlineinherited

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