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

#include "/cvmfs/"

Inheritance diagram for ana::FitDeltaCPT:

Public Member Functions

 FitDeltaCPT (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 *) 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 FitDeltaCPT tries to maintain the associated FitSigmaCPT, but if constraints prevent this, only FitDelta is maintained

Definition at line 299 of file FitVarsCPT.h.

Constructor & Destructor Documentation

ana::FitDeltaCPT::FitDeltaCPT ( SigmaDelta sd)

Definition at line 302 of file FitVarsCPT.h.

303  : IFitVar(sd->fXvar.ShortName() + "_minus_" + sd->fYvar.ShortName(),
304  sd->fXvar.LatexName() + "-" + sd->fYvar.LatexName()),
305  fSigDel{sd}
306  {}
IFitVar(std::string shortName, std::string latexName)
Definition: IFitVar.h:20
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:314

Member Function Documentation

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

Implements ana::IFitVar.

Definition at line 307 of file FitVarsCPT.h.

308  { return fSigDel->GetDelta(osc); }
double GetDelta(const osc::IOscCalcAdjustable *osc) const
Definition: FitVarsCPT.cxx:120
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:314
const std::string& ana::IFitVar::LatexName ( ) const
double ana::FitDeltaCPT::Penalty ( double  val,
) const

Reimplemented from ana::IFitVar.

Definition at line 311 of file FitVarsCPT.h.

312  { return fSigDel->DeltaPenalty(val); }
double DeltaPenalty(double val) const
Definition: FitVarsCPT.cxx:137
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:314
void ana::FitDeltaCPT::SetValue ( osc::IOscCalcAdjustable osc,
double  val 
) const

Implements ana::IFitVar.

Definition at line 309 of file FitVarsCPT.h.

310  { fSigDel->SetDelta(osc, val); }
void SetDelta(osc::IOscCalcAdjustable *osc, double val)
Definition: FitVarsCPT.cxx:130
SigmaDelta * fSigDel
Definition: FitVarsCPT.h:314
const std::string& ana::IFitVar::ShortName ( ) const

Member Data Documentation

SigmaDelta* ana::FitDeltaCPT::fSigDel

Definition at line 314 of file FitVarsCPT.h.

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