5 #include "CAFAna/Core/Binning.h" 27 std::unique_ptr<TMD5>
hash;
98 static std::unique_ptr<OscillatableSpectrum>
LoadFrom(TDirectory* dir,
const std::string& name);
Represent the binning of a Spectrum's x-axis.
Cuts and Vars for the 2020 FD DiF Study.
TDC::value_type operator-(TDC lhs, TDC rhs)
TDC::value_type operator+=(TDC lhs, TDC rhs)
void SaveTo(const osc::IOscCalc &x, TDirectory *dir, const std::string &name)
void Fill(double x, double y, double w=1)
Simple record of shifts applied to systematic parameters.
TDC::value_type operator+(TDC lhs, TDC rhs)
General interface to oscillation calculators.
ThreadLocal< OscCache > fCache
Spectrum with the value of a second variable, allowing for reweighting
void ReweightToRecoSpectrum(const Spectrum &target)
Recale bins so that Unweighted will return target.
OscillatableSpectrum()
Constructor for Uninitialized()
std::unique_ptr< T > LoadFrom(TDirectory *dir, const std::string &label)
Representation of a spectrum in any variable, with associated POT.
Spectrum Unoscillated() const
Spectrum TrueEnergy() const
static OscillatableSpectrum Uninitialized()
const SystShifts kNoShift
Base class for the various types of spectrum loader.
Collaborates with Spectrum and OscillatableSpectrum to fill spectra from CAF files.
Dummy loader that doesn't load any files.
std::unique_ptr< TMD5 > hash
void ReweightToTrueSpectrum(const Spectrum &target)
Rescale bins so that WeightingVariable will return target.
Spectrum with true energy information, allowing it to be oscillated
const Var kUnweighted
The simplest possible Var, always 1. Used as a default weight.
TH2D * ToTH2(double pot) const