10 unsigned int nIterations)
12 assert(nIterations > 0);
22 for(
unsigned int i = 2; i <= nIterations; ++i){
Spectrum with the value of a second variable, allowing for reweighting
void ReweightToRecoSpectrum(const Spectrum &target)
Recale bins so that Unweighted will return target.
process_name opflashCryoW ana
Representation of a spectrum in any variable, with associated POT.
process_name standard_reco_uboone reco
Spectrum FakeData(double pot) const
Fake data is a MC spectrum scaled to the POT expected in the data.
Spectrum UnfoldIterative(const Spectrum &reco, const ReweightableSpectrum &recoVsTrue, unsigned int nIterations)
void ReweightToTrueSpectrum(const Spectrum &target)
Rescale bins so that WeightingVariable will return target.
Spectrum WeightingVariable() const