Public Member Functions | Private Attributes | List of all members
ana::NDPredictionGenerator Class Reference

Generates Near Detector predictions. More...

#include "/cvmfs/"

Inheritance diagram for ana::NDPredictionGenerator:

Public Member Functions

 NDPredictionGenerator (const HistAxis axis, const Cut cutND, const SystShifts shiftND=kNoShift, const Var wei=kUnweighted)
std::unique_ptr< IPredictionGenerate (Loaders &loaders, const SystShifts &shiftMC=kNoShift) const override

Private Attributes

const HistAxis fAxis
const Cut fCutND
const SystShifts fShiftND
const Var fWei

Detailed Description

Generates Near Detector predictions.

Definition at line 44 of file PredictionGeneratorNuX.h.

Constructor & Destructor Documentation

ana::NDPredictionGenerator::NDPredictionGenerator ( const HistAxis  axis,
const Cut  cutND,
const SystShifts  shiftND = kNoShift,
const Var  wei = kUnweighted 

Member Function Documentation

std::unique_ptr< IPrediction > ana::NDPredictionGenerator::Generate ( Loaders loaders,
const SystShifts shiftMC = kNoShift 
) const

Implements ana::IPredictionGenerator.

Definition at line 69 of file PredictionGeneratorNuX.cxx.

References fAxis, fCutND, fWei, and ana::NDExtrap::NDExtrap_c().

Referenced by NDPredictionHandler::AddVar(), ana::GetPrediction(), MakePrediction(), Nus18SystsBeamTranspLoad(), Nus18SystsCalibAbsLoad(), Nus18SystsCalibRelLoad(), Nus18SystsGENIELoad(), Nus18SystsLightLevelLoad(), Nus18SystsLLMethodLoad(), Nus18SystsNeutronLoad(), Nus18SystsPPFXLoad(), and Nus18SystsXSecOnOffLoad().

72  {
73  NDExtrap* extrap = new NDExtrap(NDExtrap::NDExtrap_c(
74  loaders, fAxis, fCutND, shiftMC, fWei));
75  return std::make_unique<NDPredictionSterile>(extrap);
76  }
static NDExtrap NDExtrap_c(Loaders &loaders, const HistAxis &axis, const Cut &selection, const SystShifts &shiftMC=kNoShift, const Var &weight=kUnweighted)
Definition: NDExtrap.cxx:25
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NDPredictionGenerator::fAxis

Definition at line 56 of file PredictionGeneratorNuX.h.

Referenced by Generate().

const Cut ana::NDPredictionGenerator::fCutND

Definition at line 57 of file PredictionGeneratorNuX.h.

Referenced by Generate().

const SystShifts ana::NDPredictionGenerator::fShiftND

Definition at line 58 of file PredictionGeneratorNuX.h.

const Var ana::NDPredictionGenerator::fWei

Definition at line 59 of file PredictionGeneratorNuX.h.

Referenced by Generate().

The documentation for this class was generated from the following files: