Public Member Functions | Private Attributes | List of all members
jw::NDPredGenerator Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-18/CAFAna/xsec_tuning/Ana2018/tuning/MECTuningUtils.h"

Inheritance diagram for jw::NDPredGenerator:
ana::IPredictionGenerator

Public Member Functions

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

Private Attributes

const ana::HistAxis fAxis
 
const ana::Cut fCut
 
const ana::Var fWei
 

Detailed Description

Definition at line 90 of file MECTuningUtils.h.

Constructor & Destructor Documentation

jw::NDPredGenerator::NDPredGenerator ( const ana::HistAxis  axis,
const ana::Cut  cut,
const ana::Var  wei = ana::kUnweighted 
)
inline

Definition at line 93 of file MECTuningUtils.h.

94  : fAxis(axis), fCut(cut), fWei(wei)
95  {};
const ana::Cut fCut
const ana::Var fWei
const ana::HistAxis fAxis
virtual jw::NDPredGenerator::~NDPredGenerator ( )
inlinevirtual

Definition at line 97 of file MECTuningUtils.h.

References ana::kNoShift, and loaders.

97 {};

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 108 of file MECTuningUtils.h.

References jw::TrivialPrediction::TrivialPrediction().

111  {
112  return std::unique_ptr<ana::IPrediction>( new TrivialPrediction(
113  loaders, fAxis, fCut, shiftMC, fWei ) );
114  }
const ana::Cut fCut
const ana::Var fWei
const ana::HistAxis fAxis

Member Data Documentation

const ana::HistAxis jw::NDPredGenerator::fAxis
private

Definition at line 104 of file MECTuningUtils.h.

const ana::Cut jw::NDPredGenerator::fCut
private

Definition at line 105 of file MECTuningUtils.h.

const ana::Var jw::NDPredGenerator::fWei
private

Definition at line 106 of file MECTuningUtils.h.


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