Public Member Functions | |
MECDoubleGaussEnhSystDOWN (const MECDoubleGaussEnhParam &shift_param, const std::string &shift_param_name) | |
void | Shift (double sigma, caf::SRProxy *sr, double &weight) const override |
Perform the systematic shift. More... | |
virtual const std::string & | ShortName () const final |
The name printed out to the screen. More... | |
virtual const std::string & | LatexName () const final |
The name used on plots (ROOT's TLatex syntax) More... | |
virtual void | TruthShift (double sigma, caf::SRNeutrinoProxy *nu, double &weight) const |
virtual bool | IsGenieReweight () const |
GENIE reweights can only provide +/-1,2sigma. More... | |
Private Attributes | |
const MECDoubleGaussEnhParam | fShiftParam |
Definition at line 1052 of file MECTuningUtils.h.
|
inline |
Definition at line 1055 of file MECTuningUtils.h.
|
inlinevirtualinherited |
GENIE reweights can only provide +/-1,2sigma.
Reimplemented in ana::SummedSyst.
|
inlinefinalvirtualinherited |
The name used on plots (ROOT's TLatex syntax)
Definition at line 30 of file ISyst.h.
References ana::ISyst::fLatexName, ana::ISyst::Shift(), sigma(), sr, and ana::weight.
Referenced by ana::PredictionInterp::DebugPlotColz(), GetGENIEShiftLabels(), ana::NuISyst::SaveTo(), SystsGENIEAna(), and WriteSystName().
|
inlineoverridevirtual |
Perform the systematic shift.
Override this function if your systematic depends on non-SRNeutrino quantities. If it is SRNeutrino-only, implement the other function, and let this default forward to you when necessary.
sigma | Number of sigma to shift record by |
sr | The record to inspect and alter |
weight | Scale this weight for reweighting systematics |
Reimplemented from ana::ISyst.
Definition at line 1059 of file MECTuningUtils.h.
References ana::CalcMECDoubleGaussEnhDOWN(), caf::kMEC, ana::kTrueQ0, ana::kTrueQ2, ana::kTrueQ3, caf::Proxy< caf::StandardRecord >::mc, caf::Proxy< caf::SRTruthBranch >::nnu, caf::Proxy< caf::SRTruthBranch >::nu, and genie::utils::kinematics::Q2().
|
inlinefinalvirtualinherited |
The name printed out to the screen.
Definition at line 27 of file ISyst.h.
References ana::ISyst::fShortName.
Referenced by ana::PredictionSystJoint2018::AddNormSyst(), ana::PredictionSystJointDemo::AddNormSyst(), ana::PredictionSyst3Flavor2020::AddNormSyst(), ana::CovMxManager::AddSystematic(), ana::NuISyst::BaseName(), ana::PredictionInterp::DebugPlot(), DrawBins(), DrawPulls(), DrawSystShifts(), GetGENIEShiftLabels(), ana::SystShifts::GetShift(), ana::Nus17SystFromHist::LoadHists(), ana::NusSystFromHist::LoadHists(), ana::Nus18SystFromHist::LoadHists(), MakeCovarSim(), MakeCovMx(), MakeGENIEMatrix(), plot_3flavor_withsysts(), ana::PredictionSystJoint2018::PredictionSystJoint2018(), ana::PredictionSystJointDemo::PredictionSystJointDemo(), ana::MCMCSamples::SampleValue(), ana::NuISyst::SaveTo(), ana::SystShifts::SetShift(), ana::SortSystsName(), SystsGENIEAna(), test_stanfit_withsysts(), ana::MCMCSample::Val(), and ana::MCMCSamples::VarOffset().
|
inlinevirtualinherited |
For systematics that deal only with the neutrino truth and not any reconstruction/PID details. Systematics defined this way will work on nuTree-derived spectra too (e.g. denominators of efficiencies).
Reimplemented in ana::BeamSyst, demo::DemoSyst1, ana::GenericSystComponentScale< T >, ana::GenericSystComponentScale< T >, ana::GenericSystComponentScale< T >, ana::ReinteractionSyst, and ana::NOvARwgtSyst.
Definition at line 46 of file ISyst.h.
Referenced by ana::ISyst::Shift().
|
private |
Definition at line 1075 of file MECTuningUtils.h.