Public Member Functions | |
ModularExtrapSterile (const ModularExtrapSterile &)=delete | |
ModularExtrapSterile & | operator= (const ModularExtrapSterile &)=delete |
ModularExtrapSterile (ModularExtrapSterile &&)=default | |
ModularExtrapSterile & | operator= (ModularExtrapSterile &&)=default |
virtual | ~ModularExtrapSterile ()=default |
void | SaveTo (TDirectory *dir, const std::string &name) const override |
OscillatableSpectrum | OscNCComponent () const |
Return the oscillatable NC component. More... | |
Spectrum | NCTotalComponent () override |
Override the ModularExtrap method. More... | |
Ratio | NCNueProportion () const |
Return the proportion of NCs that originate as a given neutrino flavor/sign. More... | |
Ratio | NCAntiNueProportion () const |
Ratio | NCNumuProportion () const |
Ratio | NCAntiNumuProportion () const |
void | SavePlotsNue (TDirectory *dir, double potFD) const |
void | SavePlotsNueRHC (TDirectory *dir, double potFD) const |
void | SavePlotsNumu (TDirectory *dir, double potFD) const |
OscillatableSpectrum | NueSurvComponent () override |
Charged current electron neutrino survival ( ![]() | |
OscillatableSpectrum | AntiNueSurvComponent () override |
Charged current electron antineutrino survival ( ![]() | |
OscillatableSpectrum | NumuSurvComponent () override |
Charged current muon neutrino survival ( ![]() | |
OscillatableSpectrum | AntiNumuSurvComponent () override |
Charged current muon antineutrino survival ( ![]() | |
OscillatableSpectrum | NueAppComponent () override |
Charged current electron neutrino appearance ( ![]() | |
OscillatableSpectrum | AntiNueAppComponent () override |
Charged current electron antineutrino appearance ( ![]() | |
OscillatableSpectrum | NumuAppComponent () override |
Charged current muon neutrino appearance ( ![]() | |
OscillatableSpectrum | AntiNumuAppComponent () override |
Charged current muon antineutrino appearance ( ![]() | |
OscillatableSpectrum | TauFromMuComponent () override |
Charged current tau neutrino appearance from muon neutrino ( ![]() | |
OscillatableSpectrum | AntiTauFromMuComponent () override |
Charged current tau antineutrino appearance from muon antineutrino ( ![]() | |
OscillatableSpectrum | TauFromEComponent () override |
Charged current tau neutrino appearance from electron neutrino ( ![]() | |
OscillatableSpectrum | AntiTauFromEComponent () override |
Charged current tau antineutrino appearance from electron antineutrino ( ![]() | |
Spectrum | NCComponent () override |
Spectrum | NCAntiComponent () override |
std::vector< ModularExtrapComponent * > | GetModExtrapComponents () const |
Static Public Member Functions | |
static ModularExtrapSterile | NCDisappearance (Loaders &loaders, const IDecomp &NCSurvDecomp, const IDecomp &NumuOscDecomp, const HistAxis &axis, const HistAxis &axisNumuND, const Cut &fdcut, const Cut &NCNDcut, const Cut &NumuNDcut, const SystShifts &shiftMC=kNoShift, const Var &weight=kUnweighted) |
Creates a NC disappearance extrapolation. More... | |
static ModularExtrapSterile | NCDisappearance (SpectrumLoaderBase &nearMCLoader, SpectrumLoaderBase &farMCswapLoader, SpectrumLoaderBase &farMCnonswapLoader, SpectrumLoaderBase &farMCtauswapLoader, const IDecomp &NCSurvDecomp, const IDecomp &NumuOscDecomp, const HistAxis &axis, const HistAxis &axisNumuND, const Cut &fdcut, const Cut &NCNDcut, const Cut &NumuNDcut, const SystShifts &shiftMC=kNoShift, const Var &weight=kUnweighted) |
Creates a NC disappearance extrapolation with individual spectrum loaders. More... | |
static ModularExtrapSterile | TrivialExtrapNC (Loaders &loaders, const HistAxis &axis, const Cut &fdcut, const SystShifts &shiftMC=kNoShift, const Var &weight=kUnweighted) |
Creates a NC disappearance "extrapolation" by returning FD MC. More... | |
static ModularExtrapSterile | TrivialExtrapNC (SpectrumLoaderBase &farMCswapLoader, SpectrumLoaderBase &farMCnonswapLoader, SpectrumLoaderBase &farMCtauswapLoader, const HistAxis &axis, const Cut &fdcut, const SystShifts &shiftMC=kNoShift, const Var &weight=kUnweighted) |
static std::unique_ptr< ModularExtrapSterile > | LoadFrom (TDirectory *dir, const std::string &name) |
Protected Member Functions | |
ModularExtrapSterile (ModularExtrap &&load) | |
Constructor necessary for loading an extrapolation from file. More... | |
Private Member Functions | |
ModularExtrapSterile (SpectrumLoaderBase &farMCswapLoader, SpectrumLoaderBase &farMCnonswapLoader, SpectrumLoaderBase &farMCtauswapLoader, const HistAxis &axis, const Cut &fdcut, const SystShifts &shiftMC, const Var &weight) | |
Sets up all components to use FD MC–internal use only. More... | |
A ModularExtrap compatible with sterile oscillations. Only extrapolates one sample.
Definition at line 24 of file ExtrapSterile.h.
|
private |
Sets up all components to use FD MC–internal use only.
Use a named constructor to create a ModularExtrapSterile.
Definition at line 188 of file ExtrapSterile.cxx.
Referenced by LoadFrom().
|
delete |
|
default |
|
virtualdefault |
|
protected |
Constructor necessary for loading an extrapolation from file.
Definition at line 225 of file ExtrapSterile.cxx.
|
overridevirtualinherited |
Charged current electron antineutrino appearance ( )
Implements ana::IExtrap.
Definition at line 197 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMEAntiextrap.
|
overridevirtualinherited |
Charged current electron antineutrino survival ( )
Implements ana::IExtrap.
Definition at line 185 of file ModularExtrap.cxx.
References ana::ModularExtrap::fEEAntiextrap.
|
overridevirtualinherited |
Charged current muon antineutrino appearance ( )
Implements ana::IExtrap.
Definition at line 203 of file ModularExtrap.cxx.
References ana::ModularExtrap::fEMAntiextrap.
|
overridevirtualinherited |
Charged current muon antineutrino survival ( )
Implements ana::IExtrap.
Definition at line 191 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMMAntiextrap.
|
overridevirtualinherited |
Charged current tau antineutrino appearance from electron antineutrino ( )
Implements ana::IExtrap.
Definition at line 224 of file ModularExtrap.cxx.
References ana::ModularExtrap::fETAntiextrap.
|
overridevirtualinherited |
Charged current tau antineutrino appearance from muon antineutrino ( )
Implements ana::IExtrap.
Definition at line 218 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMTAntiextrap.
|
inlineinherited |
Definition at line 60 of file ModularExtrap.h.
References allInOneTrainingPlots::axis, ana::ModularExtrap::fEEAntiextrap, ana::ModularExtrap::fEEextrap, ana::ModularExtrap::fEMAntiextrap, ana::ModularExtrap::fEMextrap, ana::ModularExtrap::fETAntiextrap, ana::ModularExtrap::fETextrap, ana::ModularExtrap::fMEAntiextrap, ana::ModularExtrap::fMEextrap, ana::ModularExtrap::fMMAntiextrap, ana::ModularExtrap::fMMextrap, ana::ModularExtrap::fMTAntiextrap, ana::ModularExtrap::fMTextrap, ana::ModularExtrap::fNCAntiextrap, ana::ModularExtrap::fNCextrap, ana::ModularExtrap::fNCTotalextrap, ana::ModularExtrap::ModularExtrap(), and ana::weight.
Referenced by ana::GetDecomp(), and make_files_for_decomp_plots().
|
static |
Definition at line 284 of file ExtrapSterile.cxx.
References ana::assert(), dir, ana::ModularExtrap::LoadFrom(), ana::Spectrum::LoadFrom(), ModularExtrapSterile(), runNovaSAM::release, and runNovaSAM::ret.
|
overridevirtualinherited |
Implements ana::IExtrap.
Definition at line 209 of file ModularExtrap.cxx.
References ana::ModularExtrap::fNCAntiextrap.
Referenced by ana::ModularExtrap::NCTotalComponent().
Ratio ana::ModularExtrapSterile::NCAntiNueProportion | ( | ) | const |
Definition at line 245 of file ExtrapSterile.cxx.
References fNCAntiNueNumerator, and fNCDenominator.
Referenced by ana::PredictionSterile::PredictComponent().
Ratio ana::ModularExtrapSterile::NCAntiNumuProportion | ( | ) | const |
Definition at line 255 of file ExtrapSterile.cxx.
References fNCAntiNumuNumerator, and fNCDenominator.
Referenced by ana::PredictionSterile::PredictComponent().
|
overridevirtualinherited |
Implements ana::IExtrap.
Definition at line 206 of file ModularExtrap.cxx.
References ana::ModularExtrap::fNCextrap.
Referenced by ana::ModularExtrap::NCTotalComponent().
|
static |
Creates a NC disappearance extrapolation.
NCSurvDecomp and NCNDcut are for survival components selected as NCs. NumuOscDecomp and NumuNDCut are for components oscillated from numus, which then get selected as NCs.
Definition at line 22 of file ExtrapSterile.cxx.
References allInOneTrainingPlots::axis, ana::Loaders::GetLoader(), ana::kBeam, caf::kFARDET, ana::Loaders::kFluxSwap, ana::Loaders::kMC, caf::kNEARDET, ana::Loaders::kNonSwap, ana::Loaders::kTauSwap, and ana::weight.
Referenced by AnaResultsLoad(), ExtendedAxesLoad(), ana::SterileGenerator::Generate(), MakeNus17Prediction(), MakeNusPrediction(), SideBandLoad(), sterile_demo(), SystsBirksLoad(), SystsCalibAbsLoad(), SystsCalibAbsLoad17(), SystsCalibAbsMethod17(), SystsCalibRelLoad(), SystsCalibRelLoad17(), SystsDecompLoad(), SystsDecompLoad17(), SystsGENIELoad(), SystsGENIELoad17(), SystsMCStatsLoad(), SystsNoiseLoad(), and SystsPPFXLoad17().
|
static |
Creates a NC disappearance extrapolation with individual spectrum loaders.
NCSurvDecomp and NCNDcut are for survival components selected as NCs. NumuOscDecomp and NumuNDCut are for components oscillated from numus, which then get selected as NCs.
Definition at line 56 of file ExtrapSterile.cxx.
References ana::ModularExtrap::fEEextrap, ana::ModularExtrap::fMEAntiextrap, ana::ModularExtrap::fMEextrap, ana::ModularExtrap::fMMextrap, ana::ModularExtrap::fNCextrap, ana::kIsAntiNu, ana::kIsBeamNue(), ana::kIsNC, ana::kIsNumuCC(), ana::kIsSig(), ana::NCtot, ana::nue, ana::numu, and ana::numubar.
Ratio ana::ModularExtrapSterile::NCNueProportion | ( | ) | const |
Return the proportion of NCs that originate as a given neutrino flavor/sign.
Definition at line 240 of file ExtrapSterile.cxx.
References fNCDenominator, and fNCNueNumerator.
Referenced by ana::PredictionSterile::PredictComponent().
Ratio ana::ModularExtrapSterile::NCNumuProportion | ( | ) | const |
Definition at line 250 of file ExtrapSterile.cxx.
References fNCDenominator, and fNCNumuNumerator.
Referenced by ana::PredictionSterile::PredictComponent().
|
overridevirtual |
Override the ModularExtrap method.
Reimplemented from ana::ModularExtrap.
Definition at line 235 of file ExtrapSterile.cxx.
References OscNCComponent(), and ana::OscillatableSpectrum::Unoscillated().
|
overridevirtualinherited |
Charged current electron neutrino appearance ( )
Implements ana::IExtrap.
Definition at line 194 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMEextrap.
|
overridevirtualinherited |
Charged current electron neutrino survival ( )
Implements ana::IExtrap.
Definition at line 182 of file ModularExtrap.cxx.
References ana::ModularExtrap::fEEextrap.
|
overridevirtualinherited |
Charged current muon neutrino appearance ( )
Implements ana::IExtrap.
Definition at line 200 of file ModularExtrap.cxx.
References ana::ModularExtrap::fEMextrap.
|
overridevirtualinherited |
Charged current muon neutrino survival ( )
Implements ana::IExtrap.
Definition at line 188 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMMextrap.
|
delete |
|
default |
OscillatableSpectrum ana::ModularExtrapSterile::OscNCComponent | ( | ) | const |
Return the oscillatable NC component.
Definition at line 230 of file ExtrapSterile.cxx.
References ana::ModularExtrap::fNCextrap.
Referenced by NCTotalComponent(), and ana::PredictionSterile::PredictComponent().
|
inherited |
Definition at line 52 of file ModularExtrap.cxx.
References ana::ModularExtrap::fEEextrap, ana::ModularExtrap::fMEAntiextrap, ana::ModularExtrap::fMEextrap, ana::ModularExtrap::fMMextrap, ana::ModularExtrap::fNCTotalextrap, and tmp.
|
inherited |
Definition at line 66 of file ModularExtrap.cxx.
References ana::ModularExtrap::fEEAntiextrap, ana::ModularExtrap::fEEextrap, ana::ModularExtrap::fMEAntiextrap, ana::ModularExtrap::fMEextrap, ana::ModularExtrap::fMMAntiextrap, ana::ModularExtrap::fMMextrap, ana::ModularExtrap::fNCAntiextrap, ana::ModularExtrap::fNCextrap, and tmp.
|
inherited |
Definition at line 83 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMMAntiextrap, ana::ModularExtrap::fMMextrap, and tmp.
Referenced by make_extrap_figure_hists(), and modularextrap_demo_numu().
|
overridevirtual |
Reimplemented from ana::ModularExtrap.
Definition at line 260 of file ExtrapSterile.cxx.
References dir, fNCAntiNueNumerator, fNCAntiNumuNumerator, fNCDenominator, fNCNueNumerator, fNCNumuNumerator, ana::ModularExtrap::SaveTo(), and tmp.
Referenced by MakeNus17Prediction(), and MakeNusPrediction().
|
overridevirtualinherited |
Charged current tau neutrino appearance from electron neutrino ( )
Implements ana::IExtrap.
Definition at line 221 of file ModularExtrap.cxx.
References ana::ModularExtrap::fETextrap.
|
overridevirtualinherited |
Charged current tau neutrino appearance from muon neutrino ( )
Implements ana::IExtrap.
Definition at line 215 of file ModularExtrap.cxx.
References ana::ModularExtrap::fMTextrap.
|
static |
Creates a NC disappearance "extrapolation" by returning FD MC.
Definition at line 141 of file ExtrapSterile.cxx.
References allInOneTrainingPlots::axis, ana::Loaders::GetLoader(), ana::kBeam, caf::kFARDET, ana::Loaders::kFluxSwap, ana::Loaders::kMC, ana::Loaders::kNonSwap, ana::Loaders::kTauSwap, and ana::weight.
|
static |
Creates a NC disappearance "extrapolation" by returning FD MC, using individual SpectrumLoaders
Definition at line 163 of file ExtrapSterile.cxx.
|
protectedinherited |
Definition at line 91 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::AntiNueSurvComponent(), ana::ModularExtrap::GetModExtrapComponents(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueFluxExtrap::NueFluxExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::ModularExtrap::SavePlotsNueRHC(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 90 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), NCDisappearance(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueExtrap::NueExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::ModularExtrap::NueSurvComponent(), ana::ModularExtrap::SavePlotsNue(), ana::ModularExtrap::SavePlotsNueRHC(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 97 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::AntiNumuAppComponent(), ana::ModularExtrap::GetModExtrapComponents(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 96 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), ana::ModularExtrap::NumuAppComponent(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 106 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::AntiTauFromEComponent(), ana::ModularExtrap::GetModExtrapComponents(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 105 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), ana::ModularExtrap::SaveTo(), and ana::ModularExtrap::TauFromEComponent().
|
protectedinherited |
Definition at line 95 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::AntiNueAppComponent(), ana::ModularExtrap::GetModExtrapComponents(), NCDisappearance(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueExtrap::NueExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::NueSignalOnlyExtrap::NueSignalOnlyExtrap(), ana::ModularExtrap::SavePlotsNue(), ana::ModularExtrap::SavePlotsNueRHC(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 94 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), NCDisappearance(), ana::ModularExtrap::NueAppComponent(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueExtrap::NueExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::NueSignalOnlyExtrap::NueSignalOnlyExtrap(), ana::ModularExtrap::SavePlotsNue(), ana::ModularExtrap::SavePlotsNueRHC(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 93 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::AntiNumuSurvComponent(), ana::ModularExtrap::GetModExtrapComponents(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::NumuExtrap::NumuExtrap(), ana::ModularExtrap::SavePlotsNueRHC(), ana::ModularExtrap::SavePlotsNumu(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 92 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), NCDisappearance(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueExtrap::NueExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::NumuExtrap::NumuExtrap(), ana::ModularExtrap::NumuSurvComponent(), ana::ModularExtrap::SavePlotsNue(), ana::ModularExtrap::SavePlotsNueRHC(), ana::ModularExtrap::SavePlotsNumu(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 104 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::AntiTauFromMuComponent(), ana::ModularExtrap::GetModExtrapComponents(), and ana::ModularExtrap::SaveTo().
|
protectedinherited |
Definition at line 103 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), ana::ModularExtrap::SaveTo(), and ana::ModularExtrap::TauFromMuComponent().
|
protectedinherited |
Definition at line 101 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), ana::ModularExtrap::NCAntiComponent(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueExtrap::NueExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), ana::ModularExtrap::SavePlotsNueRHC(), and ana::ModularExtrap::SaveTo().
|
protected |
Definition at line 124 of file ExtrapSterile.h.
Referenced by NCAntiNueProportion(), and SaveTo().
|
protected |
Definition at line 126 of file ExtrapSterile.h.
Referenced by NCAntiNumuProportion(), and SaveTo().
|
protected |
Definition at line 127 of file ExtrapSterile.h.
Referenced by NCAntiNueProportion(), NCAntiNumuProportion(), NCNueProportion(), NCNumuProportion(), and SaveTo().
|
protectedinherited |
Definition at line 100 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), ana::ModularExtrap::NCComponent(), NCDisappearance(), ana::NueBkgdOnlyExtrap::NueBkgdOnlyExtrap(), ana::NueExtrap::NueExtrap(), ana::NueRHCExtrap::NueRHCExtrap(), OscNCComponent(), ana::ModularExtrap::SavePlotsNueRHC(), and ana::ModularExtrap::SaveTo().
|
protected |
Definition at line 123 of file ExtrapSterile.h.
Referenced by NCNueProportion(), and SaveTo().
|
protected |
Definition at line 125 of file ExtrapSterile.h.
Referenced by NCNumuProportion(), and SaveTo().
|
protectedinherited |
Definition at line 99 of file ModularExtrap.h.
Referenced by ana::ModularExtrap::GetModExtrapComponents(), ana::ModularExtrap::SavePlotsNue(), and ana::ModularExtrap::SaveTo().