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

$ \theta_{34} $ More...

#include <FitVarsSterile.h>

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

Definition at line 408 of file FitVarsSterile.h.

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 314 of file FitVarsSterile.cxx.

315  {
316  return TMath::RadToDeg()*osc::DowncastToSterile(osc)->GetAngle(3,4);
317  }
virtual double ana::FitTheta34InDegreesSterile::HighLimit ( ) const
inlinevirtual

Implements ana::IConstrainedFitVar.

Definition at line 417 of file FitVarsSterile.h.

417 {return 90;}
virtual std::string ana::FitTheta34InDegreesSterile::LatexName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 414 of file FitVarsSterile.h.

414 {return "#theta_{34}";}
virtual double ana::FitTheta34InDegreesSterile::LowLimit ( ) const
inlinevirtual

Implements ana::IConstrainedFitVar.

Definition at line 416 of file FitVarsSterile.h.

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

Implements ana::IFitVar.

Definition at line 320 of file FitVarsSterile.cxx.

321  {
322  osc::DowncastToSterile(osc)->SetAngle(3, 4, TMath::DegToRad()*Clamp(val));
323  }
double Clamp(double val) const
Definition: IFitVar.cxx:31
virtual std::string ana::FitTheta34InDegreesSterile::ShortName ( ) const
inlinevirtual

Implements ana::IFitVar.

Definition at line 413 of file FitVarsSterile.h.

413 {return "th34(degrees)";}

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