16 const std::string& latexName,
20 :
ISyst(shortName, latexName),
32 void Shift(
double sigma,
34 double& weight)
const override;
38 static std::unique_ptr<SystComponentScale>
LoadFrom(TDirectory*
dir);
39 virtual void SaveTo(TDirectory*
dir)
const {assert(0 &&
"unimplemented");}
double OneSigmaScale() const
Scaling this component between 1/(1+x) and (1+x) is the 1-sigma range.
Uncertainty in the scale of a single component of the spectrum.
const Cut & GetCut() const
static std::unique_ptr< SystComponentScale > LoadFrom(TDirectory *dir)
virtual void SaveTo(TDirectory *dir) const
process_name opflashCryoW ana
Encapsulate code to systematically shift a caf::StandardRecord.
caf::Proxy< caf::SRSlice > SRSliceProxy
SystComponentScale(const std::string &shortName, const std::string &latexName, const Cut &cut, double oneSigma, ESystType type=kExponential)
void Shift(double sigma, caf::SRSliceProxy *slc, double &weight) const override
Perform the systematic shift.