7 #include "TDirectory.h"
9 #include "TObjString.h"
25 TDirectory* tmp =
dir;
28 TObjString(
"ReactorExperiment").Write(
"type");
30 TH1D params(
"",
"", 2, 0, 2);
32 params.SetBinContent(2,
fSigma);
33 params.Write(
"params");
41 TObjString* tag = (TObjString*)dir->Get(
"type");
43 assert(tag->GetString() ==
"ReactorExperiment");
45 TH1* params = (TH1*)dir->Get(
"params");
48 const double bestFit = params->GetBinContent(1);
49 const double sigma = params->GetBinContent(2);
void SaveTo(TDirectory *dir) const override
Simple record of shifts applied to systematic parameters.
const ReactorExperiment * WorldReactorConstraint2015()
Weighted average of all experiments as of first nue paper writing.
process_name opflashCryoW ana
T sqr(T x)
More efficient square function than pow(x,2)
const ReactorExperiment * WorldReactorConstraint2016()
Updated value for SecondAna based on the latest PDG.
const ReactorExperiment * WorldReactorConstraint2017()
Reactor constraint from PDG 2017 update.
Very simple model allowing inclusion of reactor constraints.
static std::unique_ptr< ReactorExperiment > LoadFrom(TDirectory *dir)
const ReactorExperiment * DayaBayConstraint2014()
A ReactorExperiment initialized with the Nu2014 Daya Bay constraints.
virtual double GetValue(const osc::IOscCalcAdjustable *osc) const
const FitSinSq2Theta13 kFitSinSq2Theta13
ReactorExperiment(double bestFit, double sigma)
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &shift=SystShifts::Nominal()) const override