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

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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-30/CAFAna/Prediction/PredictionGenerator.h"

Inheritance diagram for ana::NoExtrapGenerator:
ana::IPredictionGenerator

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
overridevirtual

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
private

Definition at line 43 of file PredictionGenerator.h.

Referenced by Generate().

const Cut ana::NoExtrapGenerator::fCut
private

Definition at line 44 of file PredictionGenerator.h.

Referenced by Generate().

const Var ana::NoExtrapGenerator::fWei
private

Definition at line 45 of file PredictionGenerator.h.

Referenced by Generate().


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