7 #include "TDirectory.h"
8 #include "TObjString.h"
27 fNumuSurvAnti (loaderNonswap, axis, spillcut, cut &&
kIsNumuCC &&
kIsAntiNu, shift, wei),
41 fNCFromNumu (loaderNonswap, axis, spillcut, cut &&
kIsNCFromNumu, shift, wei),
42 fNCFromNue (loaderNonswap, axis, spillcut, cut &&
kIsNCFromNue, shift, wei)
74 TrivialExtrap(loaderNonswap, loaderNue, loaderNuTau, loaderIntrinsic,
76 spillcut, cut, shift, wei)
104 axis, spillcut, cut, shift, wei)
111 TDirectory* tmp = gDirectory;
115 TObjString(
"TrivialExtrap").Write(
"type");
141 #define LOAD_OSC(FIELD, LABEL) assert(dir->GetDirectory(LABEL)); ret->FIELD = *OscillatableSpectrum::LoadFrom(dir->GetDirectory(LABEL));
142 #define LOAD_SPECT(FIELD, LABEL) assert(dir->GetDirectory(LABEL)); ret->FIELD = *Spectrum::LoadFrom(dir->GetDirectory(LABEL));
const Cut kIsNumuCC(CCFlavSel(14, 14))
Select CC .
Represent the binning of a Spectrum's x-axis.
Simple record of shifts applied to systematic parameters.
Collection of SpectrumLoaders for many configurations.
const Cut kIsBeamNue(CCFlavSel(12, 12))
Select CC .
const Cut kIsNumuApp(CCFlavSel(14, 12))
Select CC .
process_name opflashCryoW ana
const Cut kIsTauFromE(CCFlavSel(16, 12))
Select CC .
const Cut kIsNCFromNue(NCFlavOrig(12))
const Cut kIsTauFromMu(CCFlavSel(16, 14))
Select CC .
virtual void AddReweightableSpectrum(ReweightableSpectrum &spect, const Var &var, const Cut &cut, const SystShifts &shift, const Var &wei)
For use by the constructors of ReweightableSpectrum subclasses.
const Cut kIsNCFromNumu(NCFlavOrig(14))
Base class for the various types of spectrum loader.
const Cut kIsAntiNu([](const caf::SRSliceProxy *slc){return kHasMatchedNu(slc)&&slc->truth.pdg< 0;})
Is this truly an antineutrino?
const Cut kIsNueApp(CCFlavSel(12, 14))
Select CC .
void SaveTo(TDirectory *dir) const