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

#include "/cvmfs/"

Inheritance diagram for jw::NDPredGenerator:

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 

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 ( )

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

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

Definition at line 104 of file MECTuningUtils.h.

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

Definition at line 105 of file MECTuningUtils.h.

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

Definition at line 106 of file MECTuningUtils.h.

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