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

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

#include <FitVarsSterile.h>

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

Definition at line 86 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 94 of file FitVarsSterile.cxx.

95  {
96  const osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
97  double ret = sterile->GetDelta(2, 4)/M_PI;
98  while(ret < 0) ret += 2;
99  while(ret > 2) ret -= 2;
100  return ret;
101  }
virtual std::string ana::FitDelta24InPiUnitsSterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 92 of file FitVarsSterile.h.

92 {return "#delta_{24} / #pi";}
void ana::FitDelta24InPiUnitsSterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
virtual

Implements ana::IFitVar.

Definition at line 104 of file FitVarsSterile.cxx.

105  {
106  osc::DowncastToSterile(osc)->SetDelta(2, 4, M_PI*val);
107  }
virtual std::string ana::FitDelta24InPiUnitsSterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 91 of file FitVarsSterile.h.

91 {return "delta24(pi)";}

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