#include <EnergySysts.h>
Public Member Functions | |
EnergyScaleSyst (EnergyScaleSystTerm _term, EnergyScaleSystParticle _part, EnergyScaleSystDetector _detector, double _uncertainty, const std::string &name, const std::string &latexName) | |
void | Shift (double sigma, caf::SRSliceProxy *sr, double &weight) const override |
Perform the systematic shift. More... | |
![]() | |
ISyst (const std::string &shortName, const std::string &latexName, bool applyPenalty=true, double min=-3, double max=+3) | |
ISyst (const ISyst &)=delete | |
ISyst (ISyst &&rhs)=delete | |
virtual | ~ISyst () |
void | operator= (const ISyst &)=delete |
void | operator= (ISyst &&)=delete |
virtual std::string | ShortName () const final |
The name printed out to the screen. More... | |
virtual std::string | LatexName () const final |
The name used on plots (ROOT's TLatex syntax) More... | |
virtual double | Penalty (double x) const |
virtual bool | ApplyPenalty () const |
Should a penalty be applied for this shift? More... | |
virtual double | Min () const |
Return the min/max value for this syst. More... | |
virtual double | Max () const |
virtual int | PredInterpMaxNSigma () const |
Private Attributes | |
EnergyScaleSystTerm | term |
EnergyScaleSystParticle | part |
EnergyScaleSystDetector | detector |
double | uncertainty |
Definition at line 33 of file EnergySysts.h.
|
inline |
Definition at line 36 of file EnergySysts.h.
|
overridevirtual |
Perform the systematic shift.
sigma | Number of sigma to shift record by |
sr | The record to inspect and alter |
weight | Scale this weight for reweighting systematics |
Implements ana::ISyst.
Definition at line 6 of file EnergySysts.cxx.
|
private |
Definition at line 44 of file EnergySysts.h.
|
private |
Definition at line 43 of file EnergySysts.h.
|
private |
Definition at line 42 of file EnergySysts.h.
|
private |
Definition at line 45 of file EnergySysts.h.