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

Generates extrapolated Nue predictions using Michel+BEN decomposition. More...

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

Inheritance diagram for ana::NueComboExtrapGenerator:
ana::IPredictionGenerator

Public Types

enum  EBENAnaStyle { kSAKaScale, k2017KaScale }
 

Public Member Functions

 NueComboExtrapGenerator (const HistAxis axis, const HistAxis axisNDNumu, const Cut cutFD, const Cut cutNDNue, const Cut cutNDNumu, const SystShifts shiftDataND=kNoShift, const Var wei=kUnweighted, const EBENAnaStyle benStyle=k2017KaScale)
 
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
 
const EBENAnaStyle fBenStyle
 

Detailed Description

Generates extrapolated Nue predictions using Michel+BEN decomposition.

Definition at line 101 of file PredictionGenerator3Flavor.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements ana::IPredictionGenerator.

Definition at line 60 of file PredictionGenerator3Flavor.cxx.

References fAxis, fAxisNDNumu, fBenStyle, fCutFD, fCutNDNue, fCutNDNumu, fShiftDataND, fWei, ana::BENDecomp::kCalcKaonScale, kSAKaScale, and loaders.

Referenced by NueExtrap().

64  {
65  NumuDecomp *numuDecomp = new NumuDecomp(
67  BENDecomp *benDecomp = new BENDecomp(BENDecomp::kCalcKaonScale,
68  loaders, fAxis, fCutNDNue, shiftMC, fShiftDataND, fWei);
69  if (fBenStyle == kSAKaScale)
70  {
71  delete benDecomp;
72  benDecomp = new BENDecomp(
73  loaders, fAxis, fCutNDNue, shiftMC, fShiftDataND, fWei);
74  }
75  MichelDecomp *nueDecomp = new MichelDecomp(
76  loaders, fAxis, fCutNDNue, benDecomp, shiftMC, fShiftDataND, fWei);
77  auto extrap = std::make_unique<NueExtrap>(
78  loaders, *nueDecomp, *numuDecomp, fAxis, fAxisNDNumu,
79  fCutFD, fCutNDNue, fCutNDNumu, shiftMC, fWei);
80  return std::make_unique<PredictionExtrap>(std::move(extrap));
81  }
std::vector< Loaders * > loaders
Definition: syst_header.h:386

Member Data Documentation

const HistAxis ana::NueComboExtrapGenerator::fAxis
private

Definition at line 119 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const HistAxis ana::NueComboExtrapGenerator::fAxisNDNumu
private

Definition at line 120 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const EBENAnaStyle ana::NueComboExtrapGenerator::fBenStyle
private

Definition at line 126 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NueComboExtrapGenerator::fCutFD
private

Definition at line 121 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NueComboExtrapGenerator::fCutNDNue
private

Definition at line 122 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Cut ana::NueComboExtrapGenerator::fCutNDNumu
private

Definition at line 123 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const SystShifts ana::NueComboExtrapGenerator::fShiftDataND
private

Definition at line 124 of file PredictionGenerator3Flavor.h.

Referenced by Generate().

const Var ana::NueComboExtrapGenerator::fWei
private

Definition at line 125 of file PredictionGenerator3Flavor.h.

Referenced by Generate().


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