Public Member Functions | Private Attributes | List of all members
ana::FitSigmaCPT Class Reference

#include "/cvmfs/"

Inheritance diagram for ana::FitSigmaCPT:

Public Member Functions

 FitSigmaCPT (SigmaDelta *sd)
double GetValue (const osc::IOscCalcAdjustable *osc) const override
void SetValue (osc::IOscCalcAdjustable *osc, double val) const override
double Penalty (double val, osc::IOscCalcAdjustable *osc) const override
const std::stringShortName () const
const std::stringLatexName () const

Private Attributes


Detailed Description

A FitVar that acts like fXvar+fYvar for members of its helper SigmaDelta. Changing a FitSigmaCPT maintains the associated FitDeltaCPT

Definition at line 273 of file FitVarsCPT.h.

Constructor & Destructor Documentation

ana::FitSigmaCPT::FitSigmaCPT ( SigmaDelta sd)

Definition at line 276 of file FitVarsCPT.h.

277  : IFitVar(sd->fXvar.ShortName() + "_plus_" + sd->fYvar.ShortName(),
278  sd->fXvar.LatexName() + "+" + sd->fYvar.LatexName()),
279  fSigDel{sd}
280  {}
IFitVar(std::string shortName, std::string latexName)
Definition: IFitVar.h:20
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:291

Member Function Documentation

double ana::FitSigmaCPT::GetValue ( const osc::IOscCalcAdjustable osc) const

Implements ana::IFitVar.

Definition at line 282 of file FitVarsCPT.h.

283  { return fSigDel->GetSigma(osc); }
double GetSigma(const osc::IOscCalcAdjustable *osc) const
Definition: FitVarsCPT.cxx:118
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:291
const std::string& ana::IFitVar::LatexName ( ) const
double ana::FitSigmaCPT::Penalty ( double  val,
osc::IOscCalcAdjustable osc 
) const

Reimplemented from ana::IFitVar.

Definition at line 288 of file FitVarsCPT.h.

289  { return fSigDel->SigmaPenalty(val, osc); }
double SigmaPenalty(double val, osc::IOscCalcAdjustable *) const
Definition: FitVarsCPT.cxx:142
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:291
void ana::FitSigmaCPT::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const

Implements ana::IFitVar.

Definition at line 285 of file FitVarsCPT.h.

286  { fSigDel->SetSigma(osc, val); }
void SetSigma(osc::IOscCalcAdjustable *osc, double val)
Definition: FitVarsCPT.cxx:123
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:291
const std::string& ana::IFitVar::ShortName ( ) const

Member Data Documentation

SigmaDelta* ana::FitSigmaCPT::fSigDel

Definition at line 291 of file FitVarsCPT.h.

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