PredictionSterile.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
6 
7 namespace ana
8 {
9  class ModularExtrapSterile;
10 
11  /// A prediction object compatible with sterile oscillations
13  {
14  public:
15  PredictionSterile(std::unique_ptr<ModularExtrapSterile> && extrap);
16 
17  // un-hide inherited method stubs so we don't get warnings from the compiler
21 
22  virtual Spectrum PredictUnoscillated() const override;
23 
25  Flavors::Flavors_t flav,
27  Sign::Sign_t sign) const override;
28 
29  virtual void SaveTo(TDirectory* dir, const std::string& name) const override;
30  static std::unique_ptr<PredictionSterile> LoadFrom(TDirectory* dir, const std::string& name);
31 
32  PredictionSterile() = delete;
33  protected:
34 
35  /// Constructor used for loading a PredictionSterile from file
37  };
38 }
const XML_Char * name
Definition: expat.h:151
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const =0
virtual Spectrum Predict(osc::IOscCalc *calc) const =0
General interface to oscillation calculators.
Definition: StanTypedefs.h:23
void load(std::string lib)
Definition: load_libs.C:3
static std::unique_ptr< PredictionSterile > LoadFrom(TDirectory *dir, const std::string &name)
virtual void SaveTo(TDirectory *dir, const std::string &name) const override
osc::OscCalcDumb calc
Representation of a spectrum in any variable, with associated POT.
Definition: Spectrum.h:40
virtual Spectrum PredictSyst(osc::IOscCalc *calc, const SystShifts &syst) const
Definition: IPrediction.cxx:49
TDirectory * dir
Definition: macro.C:5
virtual Spectrum PredictUnoscillated() const override
A prediction object compatible with sterile oscillations.
Take the output of an extrapolation and oscillate it as required.
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const override
def sign(x)
Definition: canMan.py:197
enum BeamMode string