Public Member Functions | Private Attributes | List of all members
ana::IFitVar Class Referenceabstract

Interface definition for fittable variables. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/CAFAna/Core/IFitVar.h"

Inheritance diagram for ana::IFitVar:
ana::FitDelta13InPiUnitsSterile ana::FitDelta14InPiUnitsSterile ana::FitDelta24InPiUnitsSterile ana::FitDeltaCPT ana::FitDmSq32Sterile ana::FitDmSq41Sterile ana::FitDmSq43Sterile ana::FitSigmaCPT ana::FitTheta13 ana::IConstrainedFitVar ana::StanFitSupport< ana::IFitVar > ana::StanFitSupport< IFitVar >

Public Member Functions

 IFitVar (std::string shortName, std::string latexName)
 
virtual ~IFitVar ()
 
virtual double GetValue (const osc::IOscCalcAdjustable *osc) const =0
 
virtual void SetValue (osc::IOscCalcAdjustable *osc, double val) const =0
 
virtual double Penalty (double, osc::IOscCalcAdjustable *) const
 
const std::stringShortName () const
 
const std::stringLatexName () const
 

Private Attributes

std::string fShortName
 
std::string fLatexName
 

Detailed Description

Interface definition for fittable variables.

Definition at line 16 of file IFitVar.h.

Constructor & Destructor Documentation

ana::IFitVar::IFitVar ( std::string  shortName,
std::string  latexName 
)
inline

Definition at line 19 of file IFitVar.h.

References ana::Registry< T >::Register().

20  : fShortName(std::move(shortName)),
21  fLatexName(std::move(latexName))
22  {
24  }
std::string fShortName
Definition: IFitVar.h:37
static void Register(const T *s)
Definition: Registry.cxx:20
std::string fLatexName
Definition: IFitVar.h:41
string shortName
THUMBNAIL BLOCK: We need to make a thumbnail for each.
virtual ana::IFitVar::~IFitVar ( )
inlinevirtual

Definition at line 26 of file IFitVar.h.

References GetValue(), SetValue(), ana::Registry< T >::UnRegister(), and febshutoff_auto::val.

27  {
29  }
static void UnRegister(const T *s)
Definition: Registry.cxx:44

Member Function Documentation

virtual double ana::IFitVar::GetValue ( const osc::IOscCalcAdjustable osc) const
pure virtual

Implemented in FitSinSqTheta23UpperOctant, FitSinSqTheta23LowerOctant, ana::FitTheta34InDegreesSterile, ana::FitTheta24InDegreesSterile, FitSinSqTheta23UpperOctant, FitSinSqTheta23MaxMix, ana::FitTheta14InDegreesSterile, FitSinSqTheta23LowerOctant, FitSinSqTheta23UpperOctant, ana::FitTheta23InDegreesSterile, FitSinSqTheta23LowerOctant, ana::FitTheta13InDegreesSterile, ana::FitDeltaCPT, ana::FitDmSq21, ana::FitSinSqTheta34Sterile, ana::FitSigmaCPT, ana::FitSinSq2Theta12, ana::FitTheta34Sterile, ana::FitTanSqTheta12, ana::FitSinSqTheta24Sterile, FitSinSqTheta23MaxMix, ana::FitDmSq32InvertedHierarchy, ana::FitTheta24Sterile, ana::FitSinSq2Theta12CPT, ana::FitDmSq32ScaledIH, ana::FitSinSqTheta14Sterile, ana::FitDmSq32ScaledNH, ana::FitSinSq2Theta13CPT, ana::FitTheta14Sterile, ana::FitDmSq32NormalHierarchy, ana::FitSinSqTheta23Sterile, ana::FitDmSq32Scaled, ana::FitTheta23Sterile, ana::FitSinSqTheta23CPT, ana::FitDmSq32, ana::FitSinSq2Theta13Sterile, FitSinSqTheta23UpperOctant, ana::FitSinSq2Theta23, ana::FitSinSq2Theta23CPT, ana::FitSinSqTheta13Sterile, FitSinSqTheta23LowerOctant, ana::FitSinSqTheta23LowerOctant, ana::FitDmSq21CPT, ana::FitTheta13Sterile, FitSinSqTheta23LO, FitSinSqTheta23LO, FitSinSqTheta23LO, ana::ConstrainedFitVarWithPrior, ana::FitDelta24InPiUnitsSterile, ana::FitSinSqTheta23UpperOctant, FitSinSqTheta23UO, ana::Fit2SinSqTheta23SinSq2Theta13, FitSinSqTheta23UO, FitSinSqTheta23UO, ana::FitDelta14InPiUnitsSterile, ana::FitSinSqTheta23, ana::FitDelta13InPiUnitsSterile, ana::FitDeltaInPiUnits, ana::FitDmSq32ScaledCPT, ana::FitVarsProductMarg, ana::FitDmSq43Sterile, ana::FitVarWithPrior, ana::FitSinSq2Theta13, ana::FitVarsProduct, ana::FitDmSq41Sterile, ana::FitDmSq32CPT, ana::FitTheta13, ana::FitDmSq32Sterile, and ana::FitEpsMuTau.

Referenced by ana::GaussianConstraint::ChiSq(), ana::FrequentistSurface::FindMinimum(), ana::FindValley(), ana::FitVarsProduct::GetValue(), ana::FitVarsProductMarg::GetValue(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_2020(), make_fc_surfaces_2020_validation(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), plot_3flavor_withsysts(), ana::Profile(), ana::SigmaDelta::SetFitVars(), ana::FitVarsProduct::SetValue(), ana::FitVarsProductMarg::SetValue(), ana::SigmaDelta::SigmaDelta(), test_fitvarsproduct(), and ~IFitVar().

const std::string& ana::IFitVar::LatexName ( ) const
inline

Definition at line 37 of file IFitVar.h.

References fLatexName, fShortName, and string.

Referenced by ana::FrequentistSurface::CreateHistograms(), ana::SurfaceKrige::SurfaceKrige(), and test_fitvarsproduct().

37 { return fLatexName; };
std::string fLatexName
Definition: IFitVar.h:41
virtual double ana::IFitVar::Penalty ( double  ,
osc::IOscCalcAdjustable  
) const
inlinevirtual

Reimplemented in ana::FitDeltaCPT, ana::FitSigmaCPT, and ana::IConstrainedFitVar.

Definition at line 34 of file IFitVar.h.

Referenced by ana::FrequentistSurface::FillSurface().

34 {return 0;}
virtual void ana::IFitVar::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const
pure virtual

Implemented in FitSinSqTheta23UpperOctant, FitSinSqTheta23LowerOctant, ana::FitTheta34InDegreesSterile, ana::FitTheta24InDegreesSterile, FitSinSqTheta23UpperOctant, FitSinSqTheta23MaxMix, ana::FitTheta14InDegreesSterile, FitSinSqTheta23LowerOctant, FitSinSqTheta23UpperOctant, FitSinSqTheta23LowerOctant, ana::FitTheta23InDegreesSterile, ana::FitTheta13InDegreesSterile, ana::FitDeltaCPT, ana::FitDmSq21, ana::FitSinSqTheta34Sterile, ana::FitSigmaCPT, ana::FitSinSq2Theta12, ana::FitTheta34Sterile, ana::FitTanSqTheta12, ana::FitSinSqTheta24Sterile, FitSinSqTheta23MaxMix, ana::FitDmSq32InvertedHierarchy, ana::FitTheta24Sterile, ana::FitSinSq2Theta12CPT, ana::FitDmSq32ScaledIH, ana::FitSinSqTheta14Sterile, ana::FitDmSq32ScaledNH, ana::FitSinSq2Theta13CPT, ana::FitTheta14Sterile, ana::FitDmSq32NormalHierarchy, ana::FitSinSqTheta23Sterile, ana::FitDmSq32Scaled, ana::FitTheta23Sterile, ana::FitSinSqTheta23CPT, ana::FitDmSq32, ana::FitSinSq2Theta13Sterile, FitSinSqTheta23UpperOctant, ana::FitSinSq2Theta23, ana::FitSinSq2Theta23CPT, FitSinSqTheta23LowerOctant, ana::FitSinSqTheta13Sterile, ana::FitSinSqTheta23LowerOctant, ana::FitDmSq21CPT, ana::FitTheta13Sterile, FitSinSqTheta23LO, ana::ConstrainedFitVarWithPrior, FitSinSqTheta23LO, FitSinSqTheta23LO, ana::FitSinSqTheta23UpperOctant, ana::FitDelta24InPiUnitsSterile, FitSinSqTheta23UO, ana::Fit2SinSqTheta23SinSq2Theta13, FitSinSqTheta23UO, FitSinSqTheta23UO, ana::FitDmSq32CPTHierarchy, ana::FitDelta14InPiUnitsSterile, ana::FitSinSqTheta23, ana::FitDelta13InPiUnitsSterile, ana::FitVarWithPrior, ana::FitDeltaInPiUnits, ana::FitDmSq32ScaledCPT, ana::FitVarsProductMarg, ana::FitDmSq43Sterile, ana::FitSinSq2Theta13, ana::FitVarsProduct, ana::FitDmSq41Sterile, ana::FitDmSq32CPT, ana::FitTheta13, ana::FitDmSq32Sterile, and ana::FitEpsMuTau.

Referenced by ana::CovMxSurface::CovMxSurface(), ana::FrequentistSurface::FillSurfacePoint(), ana::FrequentistSurface::FindMinimum(), ana::FindValley(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_2020(), make_fc_surfaces_2020_validation(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), ana::Profile(), ana::SigmaDelta::SetFitVars(), ana::FitVarsProduct::SetValue(), ana::FitVarsProductMarg::SetValue(), test_fitvarsproduct(), and ~IFitVar().

const std::string& ana::IFitVar::ShortName ( ) const
inline

Member Data Documentation

std::string ana::IFitVar::fLatexName
private

Definition at line 41 of file IFitVar.h.

Referenced by LatexName().

std::string ana::IFitVar::fShortName
private

Definition at line 37 of file IFitVar.h.

Referenced by LatexName(), and ShortName().


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