IExperiment.h
Go to the documentation of this file.
1 #pragma once
2 
8 
9 class TDirectory;
10 
11 namespace ana
12 {
13  /// Base class defining interface for experiments
15  {
16  public:
17  virtual ~IExperiment() {}
19  const SystShifts& syst = SystShifts::Nominal()) const
20  {
21  assert(false && "unimplemented");
22  return 0;
23  };
24 
26  const SystShifts &syst = kNoShift) const
27  {
28  assert(false && "unimplemented");
29  return 0;
30  };
31 
32  virtual void SaveTo(TDirectory *dir, const std::string &name) const;
33  };
34 }
const XML_Char * name
Definition: expat.h:151
virtual double ChiSq(osc::IOscCalcAdjustable *osc, const SystShifts &syst=SystShifts::Nominal()) const
Definition: IExperiment.h:18
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:20
virtual ~IExperiment()
Definition: IExperiment.h:17
static SystShifts Nominal()
Definition: SystShifts.h:34
virtual void SaveTo(TDirectory *dir, const std::string &name) const
Definition: IExperiment.cxx:32
Oscillation probability calculators.
Definition: Calcs.h:5
const SystShifts kNoShift
Definition: SystShifts.cxx:21
virtual stan::math::var LogLikelihood(osc::IOscCalcAdjustableStan *osc, const SystShifts &syst=kNoShift) const
Definition: IExperiment.h:25
TDirectory * dir
Definition: macro.C:5
Base class defining interface for experiments.
Definition: IExperiment.h:14
assert(nhit_max >=nhit_nbins)
enum BeamMode string