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

$ \theta_{14} $ More...

#include <FitVarsSterile.h>

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

Definition at line 372 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 290 of file FitVarsSterile.cxx.

291  {
292  return TMath::RadToDeg()*osc::DowncastToSterile(osc)->GetAngle(1,4);
293  }
virtual double ana::FitTheta14InDegreesSterile::HighLimit ( ) const
inlinevirtual

Implements ana::IConstrainedFitVar.

Definition at line 381 of file FitVarsSterile.h.

381 {return 90;}
virtual std::string ana::FitTheta14InDegreesSterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 378 of file FitVarsSterile.h.

378 {return "#theta_{14}";}
virtual double ana::FitTheta14InDegreesSterile::LowLimit ( ) const
inlinevirtual

Implements ana::IConstrainedFitVar.

Definition at line 380 of file FitVarsSterile.h.

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

Implements ana::IFitVar.

Definition at line 296 of file FitVarsSterile.cxx.

297  {
298  osc::DowncastToSterile(osc)->SetAngle(1, 4, TMath::DegToRad()*Clamp(val));
299  }
double Clamp(double val) const
Definition: IFitVar.cxx:31
virtual std::string ana::FitTheta14InDegreesSterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 377 of file FitVarsSterile.h.

377 {return "th14(degrees)";}

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