ReactorExperiment.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <memory>
6 
7 namespace ana
8 {
9  /// Very simple model allowing inclusion of reactor constraints
11  {
12  public:
13  ReactorExperiment(double bestFit, double sigma)
14  : fBestFit(bestFit), fSigma(sigma)
15  {
16  }
17 
18  virtual double ChiSq(osc::IOscCalcAdjustable* osc,
19  const SystShifts& shift = SystShifts::Nominal()) const override;
20 
21  void SaveTo(TDirectory* dir, const std::string& name) const override;
22  static std::unique_ptr<ReactorExperiment> LoadFrom(TDirectory* dir, const std::string& name);
23  protected:
24  virtual double SSTh13(osc::IOscCalcAdjustable* osc) const;
25 
26  double fBestFit, fSigma;
27  };
28 
29  /// For use in CPT analysis
31  {
32  public:
33  ReactorExperimentNu(double bestFit, double sigma)
34  : ReactorExperiment(bestFit, sigma)
35  {
36  }
37 
38  protected:
39  virtual double SSTh13(osc::IOscCalcAdjustable* osc) const override;
40  };
41 
42  /// For use in CPT analysis
44  {
45  public:
46  ReactorExperimentNubar(double bestFit, double sigma)
47  : ReactorExperiment(bestFit, sigma)
48  {
49  }
50 
51  protected:
52  virtual double SSTh13(osc::IOscCalcAdjustable* osc) const override;
53  };
54 
55 
56  /// A \ref ReactorExperiment initialized with the Nu2014 Daya Bay constraints
58 
59  /// Weighted average of all experiments as of first nue paper writing
61 
62  /// Updated value for SecondAna based on the latest PDG
64 
65  /// Reactor constraint from PDG 2017
67 
68  /// Reactor constraint from NuFit 4.0 2018 CPT nu
70 
71  /// Reactor constraint from NuFit 4.0 2018 CPT bar
73 
74  /// Reactor constraint from PDG 2019
76 
77 }
static std::unique_ptr< ReactorExperiment > LoadFrom(TDirectory *dir, const std::string &name)
const XML_Char * name
Definition: expat.h:151
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const ReactorExperiment * ReactorConstraintNuFit2018nu()
Reactor constraint from NuFit 4.0 2018 CPT nu.
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:20
const ReactorExperiment * WorldReactorConstraint2015()
Weighted average of all experiments as of first nue paper writing.
virtual double SSTh13(osc::IOscCalcAdjustable *osc) const
ReactorExperimentNu(double bestFit, double sigma)
static SystShifts Nominal()
Definition: SystShifts.h:34
const ReactorExperiment * ReactorConstraintNuFit2018bar()
Reactor constraint from NuFit 4.0 2018 CPT bar.
const ReactorExperiment * WorldReactorConstraint2016()
Updated value for SecondAna based on the latest PDG.
const ReactorExperiment * WorldReactorConstraint2017()
Reactor constraint from PDG 2017.
ReactorExperimentNubar(double bestFit, double sigma)
Very simple model allowing inclusion of reactor constraints.
Oscillation probability calculators.
Definition: Calcs.h:5
double sigma(TH1F *hist, double percentile)
const ReactorExperiment * DayaBayConstraint2014()
A ReactorExperiment initialized with the Nu2014 Daya Bay constraints.
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &shift=SystShifts::Nominal()) const override
TDirectory * dir
Definition: macro.C:5
Base class defining interface for experiments.
Definition: IExperiment.h:14
For use in CPT analysis.
const ReactorExperiment * WorldReactorConstraint2019()
Reactor constraint from PDG 2019.
void SaveTo(TDirectory *dir, const std::string &name) const override
ReactorExperiment(double bestFit, double sigma)
For use in CPT analysis.
enum BeamMode string