5 #include "TDirectory.h"
6 #include "TObjString.h"
21 : fDet(loaderNonswap, loaderNue, loaderNuTau, loaderIntrinsic,
22 axis, spillcut, cut, shift, wei),
24 axis, spillcut, cut, shift, wei)
36 : fDet(loaders, axis, spillcut, cut, shift, wei),
38 axis, spillcut, cut, shift, wei)
48 std::unique_ptr<PredictionIncDirt>
51 assert(dir->GetDirectory(
"det") && dir->GetDirectory(
"dirt"));
53 return std::unique_ptr<PredictionIncDirt>(
new PredictionIncDirt(ana::LoadFrom<PredictionNoExtrap>(dir->GetDirectory(
"det")),
54 ana::LoadFrom<PredictionNoExtrap>(dir->GetDirectory(
"dirt"))));
60 TDirectory* tmp = gDirectory;
64 TObjString(
"PredictionIncDirt").Write(
"type");
Simple record of shifts applied to systematic parameters.
Collection of SpectrumLoaders for many configurations.
virtual void SaveTo(TDirectory *dir) const override
static std::unique_ptr< PredictionIncDirt > LoadFrom(TDirectory *dir)
process_name opflashCryoW ana
Base class for the various types of spectrum loader.
PredictionIncDirt(SpectrumLoaderBase &loaderNonswap, SpectrumLoaderBase &loaderNue, SpectrumLoaderBase &loaderNuTau, SpectrumLoaderBase &loaderIntrinsic, SpectrumLoaderBase &loaderDirt, const HistAxis &axis, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift=kNoShift, const Var &wei=kUnweighted)
static NullLoader kNullLoader
Dummy loader that doesn't load any files.
virtual ~PredictionIncDirt()