All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FitVarsSterileApprox.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #pragma once
6 
7 namespace ana
8 {
9  /// \f$ \Delta m^2 \f$
11  {
12  public:
13  virtual double GetValue(const osc::IOscCalcAdjustable* osc) const;
14  virtual void SetValue(osc::IOscCalcAdjustable* osc, double val) const;
15  virtual std::string ShortName() const {return "dmsq";}
16  virtual std::string LatexName() const {return "#Deltam^{2} (eV^{2})";}
17 
18  virtual double LowLimit() const {return 0;}
19  virtual double HighLimit() const {return 1e6;}
20  };
21 
22  /// \Delta m^2 \f$
24 
25  //----------------------------------------------------------------------
26 
27  /// \f$ \sin^22\theta_{\mu\mu} \f$
28  class FitSinSq2ThetaMuMu: public IConstrainedFitVar
29  {
30  public:
31  virtual double GetValue(const osc::IOscCalcAdjustable* osc) const;
32  virtual void SetValue(osc::IOscCalcAdjustable* osc, double val) const;
33  virtual std::string ShortName() const {return "ss2thmm";}
34  virtual std::string LatexName() const {return "sin^{2}2#theta_{#mu#mu}";}
35 
36  virtual double LowLimit() const {return 0;}
37  virtual double HighLimit() const {return 1;}
38  };
39 
40  /// \f$ \sin^22\theta_{\mu\mu} \f$
41  const FitSinSq2ThetaMuMu kFitSinSq2ThetaMuMu = FitSinSq2ThetaMuMu();
42 
43  //----------------------------------------------------------------------
44 
45  /// \f$ \sin^22\theta_{\mu e} \f$
46  class FitSinSq2ThetaMuE: public IConstrainedFitVar
47  {
48  public:
49  virtual double GetValue(const osc::IOscCalcAdjustable* osc) const;
50  virtual void SetValue(osc::IOscCalcAdjustable* osc, double val) const;
51  virtual std::string ShortName() const {return "ss2thme";}
52  virtual std::string LatexName() const {return "sin^{2}2#theta_{#mue}";}
53 
54  virtual double LowLimit() const {return 0;}
55  virtual double HighLimit() const {return 1;}
56  };
57 
58  /// \f$ \sin^22\theta_{\mu e} \f$
59  const FitSinSq2ThetaMuE kFitSinSq2ThetaMuE = FitSinSq2ThetaMuE();
60 
61  //----------------------------------------------------------------------
62 
63  /// \f$ \sin^22\theta_{e e} \f$
64  class FitSinSq2ThetaEE: public IConstrainedFitVar
65  {
66  public:
67  virtual double GetValue(const osc::IOscCalcAdjustable* osc) const;
68  virtual void SetValue(osc::IOscCalcAdjustable* osc, double val) const;
69  virtual std::string ShortName() const {return "ss2thee";}
70  virtual std::string LatexName() const {return "sin^{2}2#theta_{ee}";}
71 
72  virtual double LowLimit() const {return 0;}
73  virtual double HighLimit() const {return 1;}
74  };
75 
76  /// \f$ \sin^22\theta_{e e} \f$
77  const FitSinSq2ThetaEE kFitSinSq2ThetaEE = FitSinSq2ThetaEE();
78 
79 } // namespace
virtual std::string ShortName() const
const FitDmSqSterile kFitDmSqSterile
m^2
process_name opflashCryoW ana
virtual void SetValue(osc::IOscCalcAdjustable *osc, double val) const
virtual double LowLimit() const
Base class for variables with constraints. Apply penalty outside range.
Definition: IFitVar.h:28
virtual double GetValue(const osc::IOscCalcAdjustable *osc) const
virtual std::string LatexName() const
virtual double HighLimit() const
std::string LatexName(int pdgcode)
Convert PDG code to a latex string (root-style)
Definition: TruthText.cxx:12