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

$ \theta_{24} $ More...

#include <FitVarsSterile.h>

Inheritance diagram for ana::FitTheta24InDegreesSterile:
ana::IConstrainedFitVar 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
 
virtual double LowLimit () const
 
virtual double HighLimit () const
 
- Public Member Functions inherited from ana::IConstrainedFitVar
virtual double Penalty (double val, osc::IOscCalcAdjustable *) const
 

Additional Inherited Members

- Protected Member Functions inherited from ana::IConstrainedFitVar
double Clamp (double val) const
 

Detailed Description

$ \theta_{24} $

Definition at line 390 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 302 of file FitVarsSterile.cxx.

303  {
304  return TMath::RadToDeg()*osc::DowncastToSterile(osc)->GetAngle(2,4);
305  }
virtual double ana::FitTheta24InDegreesSterile::HighLimit ( ) const
inlinevirtual

Implements ana::IConstrainedFitVar.

Definition at line 399 of file FitVarsSterile.h.

399 {return 45;}
virtual std::string ana::FitTheta24InDegreesSterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 396 of file FitVarsSterile.h.

396 {return "#theta_{24}";}
virtual double ana::FitTheta24InDegreesSterile::LowLimit ( ) const
inlinevirtual

Implements ana::IConstrainedFitVar.

Definition at line 398 of file FitVarsSterile.h.

398 {return 0;}
void ana::FitTheta24InDegreesSterile::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
virtual

Implements ana::IFitVar.

Definition at line 308 of file FitVarsSterile.cxx.

309  {
310  osc::DowncastToSterile(osc)->SetAngle(2, 4, TMath::DegToRad()*Clamp(val));
311  }
double Clamp(double val) const
Definition: IFitVar.cxx:31
virtual std::string ana::FitTheta24InDegreesSterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 395 of file FitVarsSterile.h.

395 {return "th24(degrees)";}

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