Compare a data spectrum to MC expectation using only the event count. More...
#include <CountingExperiment.h>
Public Member Functions | |
CountingExperiment (const IPrediction *p, const Spectrum &d, const Spectrum &cosmic) | |
CountingExperiment (const IPrediction *p, const Spectrum &d) | |
Version without cosmics may be wanted for MC studies. More... | |
~CountingExperiment () | |
virtual double | ChiSq (osc::IOscCalcAdjustable *osc, const SystShifts &syst=SystShifts::Nominal()) const override |
virtual void | SaveTo (TDirectory *dir) const override |
Public Member Functions inherited from ana::IExperiment | |
virtual | ~IExperiment () |
Static Public Member Functions | |
static std::unique_ptr < CountingExperiment > | LoadFrom (TDirectory *dir) |
Protected Attributes | |
const IPrediction * | fMC |
Spectrum | fData |
TH1 * | fCosmic |
Compare a data spectrum to MC expectation using only the event count.
Definition at line 12 of file CountingExperiment.h.
ana::CountingExperiment::CountingExperiment | ( | const IPrediction * | p, |
const Spectrum & | d, | ||
const Spectrum & | cosmic | ||
) |
Definition at line 17 of file CountingExperiment.cxx.
|
inline |
Version without cosmics may be wanted for MC studies.
Definition at line 17 of file CountingExperiment.h.
ana::CountingExperiment::~CountingExperiment | ( | ) |
Definition at line 26 of file CountingExperiment.cxx.
|
overridevirtual |
Implements ana::IExperiment.
Definition at line 32 of file CountingExperiment.cxx.
|
static |
Definition at line 59 of file CountingExperiment.cxx.
|
overridevirtual |
Reimplemented from ana::IExperiment.
Definition at line 43 of file CountingExperiment.cxx.
|
protected |
Definition at line 27 of file CountingExperiment.h.
|
protected |
Definition at line 26 of file CountingExperiment.h.
|
protected |
Definition at line 25 of file CountingExperiment.h.