All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ana::FitDmSq43Sterile Class Reference

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

#include <FitVarsSterile.h>

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

Public Member Functions

virtual double GetValue (const osc::IOscCalcAdjustable *osc) const
 
virtual void SetValue (osc::IOscCalcAdjustable *osc, double val) const
 
virtual std::string ShortName () const
 
virtual std::string LatexName () const
 
- Public Member Functions inherited from ana::IFitVar
virtual double Penalty (double, osc::IOscCalcAdjustable *) const
 

Detailed Description

$ \Delta m^2_{43} $

Definition at line 41 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 44 of file FitVarsSterile.cxx.

45  {
46  const osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
47  double dm241 = sterile->GetDm(4);
48  double dm231 = sterile->GetDm(3);
49  return dm241 - dm231;
50  }
virtual std::string ana::FitDmSq43Sterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 47 of file FitVarsSterile.h.

47 {return "#Deltam^{2}_{43} (eV^{2})";}
void ana::FitDmSq43Sterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
virtual

Implements ana::IFitVar.

Definition at line 53 of file FitVarsSterile.cxx.

54  {
55  osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
56  double dm231 = sterile->GetDm(3);
57  double dm241 = val + dm231;
58  sterile->SetDm(4, dm241);
59  }
virtual std::string ana::FitDmSq43Sterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 46 of file FitVarsSterile.h.

46 {return "dmsq43";}

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