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

Generates FD-only predictions (no extrapolation) More...

#include "/cvmfs/"

Inheritance diagram for ana::NoExtrapGenerator:

Public Member Functions

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

Private Attributes

const HistAxis fAxis
const Cut fCut
const Var fWei

Detailed Description

Generates FD-only predictions (no extrapolation)

Definition at line 32 of file PredictionGenerator.h.

Constructor & Destructor Documentation

ana::NoExtrapGenerator::NoExtrapGenerator ( const HistAxis  axis,
const Cut  cut,
const Var  wei = kUnweighted 

Definition at line 9 of file PredictionGenerator.cxx.

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 15 of file PredictionGenerator.cxx.

References fAxis, fCut, fWei, and loaders.

Referenced by make_prediction_rhc(), make_rockpred(), NueExtrap(), and NumuExtrap().

18  {
19  return std::make_unique<PredictionNoExtrap>( loaders, fAxis, fCut, shiftMC, fWei );
20  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NoExtrapGenerator::fAxis

Definition at line 43 of file PredictionGenerator.h.

Referenced by Generate().

const Cut ana::NoExtrapGenerator::fCut

Definition at line 44 of file PredictionGenerator.h.

Referenced by Generate().

const Var ana::NoExtrapGenerator::fWei

Definition at line 45 of file PredictionGenerator.h.

Referenced by Generate().

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