PredictionGeneratorNuX.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace ana
6 {
7 
8  /// Generates extrapolated NC predictions using ProportionalDecomp
10  {
11  public:
13  const HistAxis axis,
14  const HistAxis axisNDNumu,
15  const Cut cutFD,
16  const Cut cutNDNC,
17  const Cut cutNDNumu,
18  const SystShifts shiftDataND = kNoShift,
19  const Var wei = kUnweighted );
20  std::unique_ptr<IPrediction> Generate(
22  const SystShifts& shiftMC = kNoShift ) const override;
23  std::unique_ptr<IPrediction> Generate(
24  Loaders& loaders_nd,
25  Loaders& loaders_fd,
26  const SystShifts& shiftMC = kNoShift ) const;
27  private:
28  const HistAxis fAxis;
30  const Cut fCutFD;
31  const Cut fCutNDNC;
32  const Cut fCutNDNumu;
34  const Var fWei;
35  };
36 
37  //---------------------------------------------------------------------------
38 
39  // const SterileGenerator kSterileGenerator(
40  // kNCAxis, kNCBinsNumuCCAxis, kNusFD, kNusND, kNumuND, kNoShift, kTuftsWeightCC );
41 
42  //............................................................................
43  /// Generates Near Detector predictions
45  {
46  public:
48  const HistAxis axis,
49  const Cut cutND,
50  const SystShifts shiftND = kNoShift,
51  const Var wei = kUnweighted );
52  std::unique_ptr<IPrediction> Generate(
54  const SystShifts& shiftMC = kNoShift ) const override;
55  private:
56  const HistAxis fAxis;
57  const Cut fCutND;
59  const Var fWei;
60  };
61 
63  {
64  public:
66  const HistAxis axis,
67  const Cut cutFD,
68  const SystShifts shiftFD = kNoShift,
69  const Var wei = kUnweighted );
70  std::unique_ptr<IPrediction> Generate(
72  const SystShifts& shiftMC = kNoShift ) const override;
73  private:
74  const HistAxis fAxis;
75  const Cut fCutFD;
77  const Var fWei;
78  };
79 }
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
SterileGenerator(const HistAxis axis, const HistAxis axisNDNumu, const Cut cutFD, const Cut cutNDNC, const Cut cutNDNumu, const SystShifts shiftDataND=kNoShift, const Var wei=kUnweighted)
std::unique_ptr< IPrediction > Generate(Loaders &loaders, const SystShifts &shiftMC=kNoShift) const override
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:20
Collection of SpectrumLoaders for many configurations.
Definition: Loaders.h:23
Generates extrapolated NC predictions using ProportionalDecomp.
const SystShifts kNoShift
Definition: SystShifts.cxx:22
std::vector< Loaders * > loaders
Definition: syst_header.h:386
Given loaders and an MC shift, Generate() generates an IPrediction.
Generates Near Detector predictions.
const Var kUnweighted
The simplest possible Var, always 1. Used as a default weight.
Definition: Var.h:96