SolarConstraints.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <memory>
6 
7 namespace ana
8 {
9  /// \brief Constraints on the parameters \f$ \Delta m^2_{21} \f$ and
10  /// \f$ \sin^22\theta_{12} \f$ from solar experiments
12  {
13  public:
15 
16  SolarConstraints(const double dmsq, const double errorDmsq,
17  const double ss2th, const double errorSs2th);
18 
19  virtual double ChiSq(osc::IOscCalcAdjustable* osc,
20  const SystShifts& syst = SystShifts::Nominal()) const override;
21 
22  virtual void SaveTo(TDirectory* dir, const std::string& name) const override;
23  static std::unique_ptr<SolarConstraints> LoadFrom(TDirectory* dir, const std::string& name);
24  protected:
25  virtual double Dmsq21(osc::IOscCalcAdjustable* calc) const;
26  virtual double Th12(osc::IOscCalcAdjustable* calc) const;
27 
30  };
31 
32  /// For use in CPT analysis
34  {
35  public:
36  SolarConstraintsNu(const double dmsq, const double errorDmsq,
37  const double ss2th, const double errorSs2th);
38 
39  protected:
40  virtual double Dmsq21(osc::IOscCalcAdjustable* calc) const override;
41  virtual double Th12(osc::IOscCalcAdjustable* calc) const override;
42  };
43 
44  /// For use in CPT analysis
46  {
47  public:
48  SolarConstraintsNubar(const double dmsq, const double errorDmsq,
49  const double ss2th, const double errorSs2th);
50 
51  protected:
52  virtual double Dmsq21(osc::IOscCalcAdjustable* calc) const override;
53  virtual double Th12(osc::IOscCalcAdjustable* calc) const override;
54  };
55 
59 
60 }
const XML_Char * name
Definition: expat.h:151
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
Constraints on the parameters and from solar experiments.
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:20
virtual double Dmsq21(osc::IOscCalcAdjustable *calc) const
static SystShifts Nominal()
Definition: SystShifts.h:34
osc::OscCalcDumb calc
For use in CPT analysis.
virtual void SaveTo(TDirectory *dir, const std::string &name) const override
virtual double Th12(osc::IOscCalcAdjustable *calc) const
Oscillation probability calculators.
Definition: Calcs.h:5
const SolarConstraints kSolarConstraintsPDG2017(7.53e-5, 0.18e-5, 0.851, 0.020)
const SolarConstraintsNu kSolarConstraintsNuFit2018nu(7.39e-5, 0.21e-5, 0.856, 0.020)
TDirectory * dir
Definition: macro.C:5
Base class defining interface for experiments.
Definition: IExperiment.h:14
For use in CPT analysis.
static std::unique_ptr< SolarConstraints > LoadFrom(TDirectory *dir, const std::string &name)
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &syst=SystShifts::Nominal()) const override
const SolarConstraintsNubar kSolarConstraintsNuFit2018bar(7.39e-5, 0.21e-5, 0.856, 0.020)
enum BeamMode string