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

Generates extrapolated Nue background-only predictions using ProportionalDecomp. More...

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

Inheritance diagram for ana::NueBkgdPropExtrapGenerator:
ana::IPredictionGenerator

Public Member Functions

 NueBkgdPropExtrapGenerator (const bool isRHC, const HistAxis axis, const Cut cutFD, const Cut cutNDNue, const SystShifts shiftDataND=kNoShift, const Var wei=kUnweighted)
 
std::unique_ptr< IPredictionGenerate (Loaders &loaders, const SystShifts &shiftMC=kNoShift) const override
 

Private Attributes

const bool fIsRHC
 
const HistAxis fAxis
 
const Cut fCutFD
 
const Cut fCutNDNue
 
const SystShifts fShiftDataND
 
const Var fWei
 

Detailed Description

Generates extrapolated Nue background-only predictions using ProportionalDecomp.

Definition at line 186 of file PredictionGenerator3Flavor.h.

Constructor & Destructor Documentation

ana::NueBkgdPropExtrapGenerator::NueBkgdPropExtrapGenerator ( const bool  isRHC,
const HistAxis  axis,
const Cut  cutFD,
const Cut  cutNDNue,
const SystShifts  shiftDataND = kNoShift,
const Var  wei = kUnweighted 
)

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 149 of file PredictionGenerator3Flavor.cxx.

References fAxis, fCutFD, fCutNDNue, fIsRHC, fShiftDataND, fWei, and loaders.

153  {
154  ProportionalDecomp *nueDecomp = new ProportionalDecomp(
155  loaders, fAxis, fCutNDNue, shiftMC, fShiftDataND, fWei);
156  auto extrap = std::make_unique<NueBkgdOnlyExtrap>(
157  fIsRHC, loaders, *nueDecomp, fAxis, fCutFD, fCutNDNue, shiftMC, fWei);
158  return std::make_unique<PredictionExtrap>(std::move(extrap));
159  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NueBkgdPropExtrapGenerator::fAxis
private

Definition at line 201 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NueBkgdPropExtrapGenerator::fCutFD
private

Definition at line 202 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NueBkgdPropExtrapGenerator::fCutNDNue
private

Definition at line 203 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const bool ana::NueBkgdPropExtrapGenerator::fIsRHC
private

Definition at line 200 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const SystShifts ana::NueBkgdPropExtrapGenerator::fShiftDataND
private

Definition at line 204 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Var ana::NueBkgdPropExtrapGenerator::fWei
private

Definition at line 205 of file PredictionGenerator3Flavor.h.

Referenced by Generate().


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