NDPredictionSterile.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  namespace Neutrino
11  {
12  enum NumuOrNue {kNue, kNumu};
13  }
14 
15  class NDExtrap;
16 
17  /// Take the output of an extrapolation and oscillate it as required
19  {
20  public:
22  virtual ~NDPredictionSterile();
23 
24  // un-hide inherited method stubs so we don't get warnings from the compiler
28 
29  virtual Spectrum Predict(osc::IOscCalc* calc) const override;
30 
31  virtual Spectrum PredictComponent(osc::IOscCalc* calc,
32  Flavors::Flavors_t flav,
34  Sign::Sign_t sign) const override;
35 
36  virtual Spectrum FakeData(osc::IOscCalc* calc, double POT);
37 
38  virtual void SaveTo(TDirectory* dir, const std::string& name) const override;
39 
40  static std::unique_ptr<NDPredictionSterile> LoadFrom(TDirectory* dir, const std::string& name);
41 
42  NDPredictionSterile() = delete;
43 
44  protected:
45 
47  };
48 }
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
void SaveTo(const osc::IOscCalc &x, TDirectory *dir, const std::string &name)
virtual Spectrum Predict(osc::IOscCalc *calc) const =0
General interface to oscillation calculators.
Definition: StanTypedefs.h:22
osc::OscCalcDumb calc
std::unique_ptr< T > LoadFrom(TDirectory *dir, const std::string &label)
Definition: LoadFromFile.h:17
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
void FakeData()
Definition: rootlogon.C:156
Take the output of an extrapolation and oscillate it as required.
std::vector< double > POT
TDirectory * dir
Definition: macro.C:5
Standard interface to all prediction techniques.
Definition: IPrediction.h:57
def sign(x)
Definition: canMan.py:197
enum BeamMode string