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

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

#include <FitVarsSterile.h>

Inheritance diagram for ana::FitDmSq32Sterile:
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_{32} $

Definition at line 11 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 14 of file FitVarsSterile.cxx.

15  {
16  const osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
17  double dm221 = sterile->GetDm(2);
18  double dm231 = sterile->GetDm(3);
19  return dm231 - dm221;
20  }
virtual std::string ana::FitDmSq32Sterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 17 of file FitVarsSterile.h.

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

Implements ana::IFitVar.

Definition at line 23 of file FitVarsSterile.cxx.

24  {
25  osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
26  double dm221 = sterile->GetDm(2);
27  double dm231 = val + dm221;
28  sterile->SetDm(3, dm231);
29  }
virtual std::string ana::FitDmSq32Sterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 16 of file FitVarsSterile.h.

16 {return "dmsq32";}

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