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

Generates extrapolated Nue predictions using ProportionalDecomp. More...

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

Inheritance diagram for ana::NuePropExtrapGenerator:
ana::IPredictionGenerator

Public Member Functions

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

Private Attributes

const HistAxis fAxis
 
const HistAxis fAxisNDNumu
 
const Cut fCutFD
 
const Cut fCutNDNue
 
const Cut fCutNDNumu
 
const SystShifts fShiftDataND
 
const Var fWei
 

Detailed Description

Generates extrapolated Nue predictions using ProportionalDecomp.

Definition at line 48 of file PredictionGenerator3Flavor.h.

Constructor & Destructor Documentation

ana::NuePropExtrapGenerator::NuePropExtrapGenerator ( const HistAxis  axis,
const HistAxis  axisNDNumu,
const Cut  cutFD,
const Cut  cutNDNue,
const Cut  cutNDNumu,
const SystShifts  shiftDataND = kNoShift,
const Var  wei = kUnweighted 
)

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 195 of file PredictionGenerator3Flavor.cxx.

References fAxis, fAxisNDNumu, fCutFD, fCutNDNue, fCutNDNumu, fShiftDataND, fWei, and loaders.

Referenced by NueExtrap().

199  {
200  NumuDecomp *numuDecomp = new NumuDecomp(
202  ProportionalDecomp *nueDecomp = new ProportionalDecomp(
203  loaders, fAxis, fCutNDNue, shiftMC, fShiftDataND, fWei);
204  auto extrap = std::make_unique<NueExtrap>(
205  loaders, *nueDecomp, *numuDecomp, fAxis, fAxisNDNumu,
206  fCutFD, fCutNDNue, fCutNDNumu, shiftMC, fWei);
207  return std::make_unique<PredictionExtrap>(std::move(extrap));
208  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NuePropExtrapGenerator::fAxis
private

Definition at line 63 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const HistAxis ana::NuePropExtrapGenerator::fAxisNDNumu
private

Definition at line 64 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NuePropExtrapGenerator::fCutFD
private

Definition at line 65 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NuePropExtrapGenerator::fCutNDNue
private

Definition at line 66 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NuePropExtrapGenerator::fCutNDNumu
private

Definition at line 67 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const SystShifts ana::NuePropExtrapGenerator::fShiftDataND
private

Definition at line 68 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Var ana::NuePropExtrapGenerator::fWei
private

Definition at line 69 of file PredictionGenerator3Flavor.h.

Referenced by Generate().


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