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

Generates extrapolated Numu predictions. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/3FlavorAna/Prediction/PredictionGenerator3Flavor.h"

Inheritance diagram for ana::NumuExtrapGenerator:
ana::IPredictionGenerator

Public Member Functions

 NumuExtrapGenerator (const HistAxis axis, const Cut cutFD, const Cut cutND, const SystShifts shiftDataND=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 Cut fCutND
 
const SystShifts fShiftDataND
 
const Var fWei
 

Detailed Description

Generates extrapolated Numu predictions.

Definition at line 20 of file PredictionGenerator3Flavor.h.

Constructor & Destructor Documentation

ana::NumuExtrapGenerator::NumuExtrapGenerator ( const HistAxis  axis,
const Cut  cutFD,
const Cut  cutND,
const SystShifts  shiftDataND = kNoShift,
const Var  wei = kUnweighted 
)

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 171 of file PredictionGenerator3Flavor.cxx.

References plot_validation_datamc_2018::decomp, fAxis, fCutFD, fCutND, fShiftDataND, fWei, and loaders.

Referenced by make_extrap_figure_hists().

175  {
176  NumuDecomp *decomp = new NumuDecomp(
177  loaders, fAxis, fCutND, shiftMC, fShiftDataND, fWei);
178  auto extrap = std::make_unique<NumuExtrap>(
179  loaders, *decomp, fAxis, fCutFD, fCutND, shiftMC, fWei);
180  return std::make_unique<PredictionExtrap>(std::move(extrap));
181  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NumuExtrapGenerator::fAxis
private

Definition at line 33 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NumuExtrapGenerator::fCutFD
private

Definition at line 34 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NumuExtrapGenerator::fCutND
private

Definition at line 35 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const SystShifts ana::NumuExtrapGenerator::fShiftDataND
private

Definition at line 36 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Var ana::NumuExtrapGenerator::fWei
private

Definition at line 37 of file PredictionGenerator3Flavor.h.

Referenced by Generate().


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