All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PredictionGenerator.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
7 
8 namespace ana
9 {
10 
11  class Loaders;
12  class IPrediction;
13 
14  /** \brief Given loaders and an MC shift, Generate() generates an IPrediction
15 
16  All other arguments needed to construct the prediction are passed to the
17  IPredictionGenerator constructor, and are identical for all generated
18  predictions. For standalone use or use with PredictionInterp. **/
20  {
21  public:
22  virtual std::unique_ptr<IPrediction> Generate(
23  Loaders& loaders, const SystShifts& shiftMC = kNoShift ) const = 0;
24 
25  };
26 
27 }
Simple record of shifts applied to systematic parameters.
Definition: SystShifts.h:16
Collection of SpectrumLoaders for many configurations.
Definition: Loaders.h:12
process_name opflashCryoW ana
const SystShifts kNoShift
Definition: SystShifts.h:61
virtual std::unique_ptr< IPrediction > Generate(Loaders &loaders, const SystShifts &shiftMC=kNoShift) const =0
Given loaders and an MC shift, Generate() generates an IPrediction.