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

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

#include <FitVarsSterile.h>

Inheritance diagram for ana::FitDelta13InPiUnitsSterile:
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 56 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 62 of file FitVarsSterile.cxx.

63  {
64  const osc::IOscCalcSterile* sterile = osc::DowncastToSterile(osc);
65  double ret = sterile->GetDelta(1, 3)/M_PI;
66  while(ret < 0) ret += 2;
67  while(ret > 2) ret -= 2;
68  return ret;
69  }
virtual std::string ana::FitDelta13InPiUnitsSterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 62 of file FitVarsSterile.h.

62 {return "#delta_{13} / #pi";}
void ana::FitDelta13InPiUnitsSterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
virtual

Implements ana::IFitVar.

Definition at line 72 of file FitVarsSterile.cxx.

73  {
74  osc::DowncastToSterile(osc)->SetDelta(1, 3, M_PI*val);
75  }
virtual std::string ana::FitDelta13InPiUnitsSterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 61 of file FitVarsSterile.h.

61 {return "delta13(pi)";}

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