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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-02/NuXAna/Prediction/PredictionGeneratorNuX.h"

Inheritance diagram for ana::FDPredictionGenerator:
ana::IPredictionGenerator

Public Member Functions

 FDPredictionGenerator (const HistAxis axis, const Cut cutFD, const SystShifts shiftFD=kNoShift, const Var wei=kUnweighted)
 
std::unique_ptr< IPredictionGenerate (Loaders &loaders, const SystShifts &shiftMC=kNoShift) const override
 

Private Attributes

const HistAxis fAxis
 
const Cut fCutFD
 
const SystShifts fShiftFD
 
const Var fWei
 

Detailed Description

Definition at line 62 of file PredictionGeneratorNuX.h.

Constructor & Destructor Documentation

ana::FDPredictionGenerator::FDPredictionGenerator ( const HistAxis  axis,
const Cut  cutFD,
const SystShifts  shiftFD = kNoShift,
const Var  wei = kUnweighted 
)

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 87 of file PredictionGeneratorNuX.cxx.

References fAxis, fCutFD, ana::FDExtrap::FDExtrap_c(), and fWei.

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

90  {
91  FDExtrap* extrap = new FDExtrap(FDExtrap::FDExtrap_c(
92  loaders, fAxis, fCutFD, shiftMC, fWei));
93  return std::make_unique<FDPredictionSterile>(extrap);
94  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386
static FDExtrap FDExtrap_c(Loaders &loaders, const HistAxis &axis, const Cut &selection, const SystShifts &shiftMC=kNoShift, const Var &weight=kUnweighted)
Definition: FDExtrap.cxx:23

Member Data Documentation

const HistAxis ana::FDPredictionGenerator::fAxis
private

Definition at line 74 of file PredictionGeneratorNuX.h.

Referenced by Generate().

const Cut ana::FDPredictionGenerator::fCutFD
private

Definition at line 75 of file PredictionGeneratorNuX.h.

Referenced by Generate().

const SystShifts ana::FDPredictionGenerator::fShiftFD
private

Definition at line 76 of file PredictionGeneratorNuX.h.

const Var ana::FDPredictionGenerator::fWei
private

Definition at line 77 of file PredictionGeneratorNuX.h.

Referenced by Generate().


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