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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-18/3FlavorAna/Prediction/PredictionGenerator3Flavor.h"

Inheritance diagram for ana::NuePropExtrapRHCGenerator:
ana::IPredictionGenerator

Public Member Functions

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

Definition at line 74 of file PredictionGenerator3Flavor.h.

Constructor & Destructor Documentation

ana::NuePropExtrapRHCGenerator::NuePropExtrapRHCGenerator ( 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::NuePropExtrapRHCGenerator::Generate ( Loaders loaders,
const SystShifts shiftMC = kNoShift 
) const
overridevirtual

Implements ana::IPredictionGenerator.

Definition at line 32 of file PredictionGenerator3Flavor.cxx.

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

Referenced by NueExtrap().

36  {
37  NumuDecomp *numuDecomp = new NumuDecomp(
39  ProportionalDecomp *nueDecomp = new ProportionalDecomp(
40  loaders, fAxis, fCutNDNue, shiftMC, fShiftDataND, fWei);
41  auto extrap = std::make_unique<NueRHCExtrap>(
42  loaders, *nueDecomp, *numuDecomp, fAxis, fAxisNDNumu,
43  fCutFD, fCutNDNue, fCutNDNumu, shiftMC, fWei);
44  return std::make_unique<PredictionExtrap>(std::move(extrap));
45  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NuePropExtrapRHCGenerator::fAxis
private

Definition at line 89 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const HistAxis ana::NuePropExtrapRHCGenerator::fAxisNDNumu
private

Definition at line 90 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NuePropExtrapRHCGenerator::fCutFD
private

Definition at line 91 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NuePropExtrapRHCGenerator::fCutNDNue
private

Definition at line 92 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NuePropExtrapRHCGenerator::fCutNDNumu
private

Definition at line 93 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const SystShifts ana::NuePropExtrapRHCGenerator::fShiftDataND
private

Definition at line 94 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Var ana::NuePropExtrapRHCGenerator::fWei
private

Definition at line 95 of file PredictionGenerator3Flavor.h.

Referenced by Generate().


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