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

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

#include <FitVarsSterile.h>

Inheritance diagram for ana::FitDelta14InPiUnitsSterile:
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_{13}/\pi $

Definition at line 71 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 78 of file FitVarsSterile.cxx.

79  {
80  const osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
81  double ret = sterile->GetDelta(1, 4)/M_PI;
82  while(ret < 0) ret += 2;
83  while(ret > 2) ret -= 2;
84  return ret;
85  }
virtual std::string ana::FitDelta14InPiUnitsSterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 77 of file FitVarsSterile.h.

77 {return "#delta_{14} / #pi";}
void ana::FitDelta14InPiUnitsSterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
virtual

Implements ana::IFitVar.

Definition at line 88 of file FitVarsSterile.cxx.

89  {
90  osc::DowncastToSterile(osc)->SetDelta(1, 4, M_PI*val);
91  }
virtual std::string ana::FitDelta14InPiUnitsSterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 76 of file FitVarsSterile.h.

76 {return "delta14(pi)";}

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