FDPredictionSterile.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include "CAFAna/Vars/Vars.h" // for kMeanTime
6 
7 namespace ana
8 {
9 
10  class FDExtrap;
11 
12  /// Take the output of an extrapolation and oscillate it as required
14  {
15  public:
17  virtual ~FDPredictionSterile();
18 
19  // un-hide inherited method stubs so we don't get warnings from the compiler
23 
24  virtual Spectrum Predict(osc::IOscCalc* calc) const override;
25 
27  Flavors::Flavors_t flav,
29  Sign::Sign_t sign) const override;
30 
31  virtual Spectrum FakeData(osc::IOscCalc* calc, double POT);
32 
33  virtual void SaveTo(TDirectory* dir, const std::string& name) const override;
34 
35  static std::unique_ptr<FDPredictionSterile> LoadFrom(TDirectory* dir, const std::string& name);
36 
37  FDPredictionSterile() = delete;
38 
39  protected:
40 
42  };
43 }
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const override
const XML_Char * name
Definition: expat.h:151
static std::unique_ptr< FDPredictionSterile > LoadFrom(TDirectory *dir, const std::string &name)
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:22
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
virtual Spectrum FakeData(osc::IOscCalc *calc, double POT)
std::vector< double > POT
TDirectory * dir
Definition: macro.C:5
Standard interface to all prediction techniques.
Definition: IPrediction.h:57
Take the output of an extrapolation and oscillate it as required.
virtual Spectrum Predict(osc::IOscCalc *calc) const override
def sign(x)
Definition: canMan.py:197
virtual void SaveTo(TDirectory *dir, const std::string &name) const override
enum BeamMode string