All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RatioExperiment.h
Go to the documentation of this file.
1 #pragma once
2 
4 
7 
8 #include "OscLib/IOscCalc.h"
9 
10 #include <memory>
11 #include <vector>
12 
13 namespace ana
14 {
16  {
17  public:
19  const IPrediction* predFD,
20  const Spectrum& spectND,
21  const Spectrum& spectFD)
22  : fPredND(predND), fPredFD(predFD), fSpectND(spectND), fSpectFD(spectFD)
23  {
24  }
25 
26  virtual double ChiSq(osc::IOscCalcAdjustable* osc,
27  const SystShifts& syst = SystShifts::Nominal()) const override;
28 
29  // virtual void SaveTo(TDirectory* dir) const override;
30  // static std::unique_ptr<RatioExperiment> LoadFrom(TDirectory* dir);
31 
32  protected:
37  };
38 }
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:16
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &syst=SystShifts::Nominal()) const override
const IPrediction * fPredFD
process_name opflashCryoW ana
static SystShifts Nominal()
Definition: SystShifts.h:23
Representation of a spectrum in any variable, with associated POT.
Definition: Spectrum.h:30
const IPrediction * fPredND
Base class defining interface for experiments.
Definition: IExperiment.h:21
RatioExperiment(const IPrediction *predND, const IPrediction *predFD, const Spectrum &spectND, const Spectrum &spectFD)
Standard interface to all prediction techniques.
Definition: IPrediction.h:58