Public Member Functions | |
CorrMuEScaleSyst2020 (const std::string &shortName, const std::string &latexName, const double scaleFD, const double scaleND, const double scaleMuCat) | |
CorrMuEScaleSyst2020 (const double scaleFD, const double scaleND, const double scaleMuCat) | |
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 double | fScaleFD |
const double | fScaleND |
const double | fScaleMuCat |
Definition at line 17 of file EnergySysts2020.h.
|
inline |
Definition at line 20 of file EnergySysts2020.h.
|
inline |
Definition at line 27 of file EnergySysts2020.h.
References Shift(), sigma(), sr, and ana::weight.
|
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().
|
overridevirtual |
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 31 of file EnergySysts2020.cxx.
References caf::Proxy< caf::SRHeader >::det, caf::Proxy< caf::StandardRecord >::energy, fScaleFD, fScaleMuCat, fScaleND, caf::Proxy< caf::StandardRecord >::hdr, caf::Proxy< caf::SRTrackBranch >::kalman, caf::kFARDET, caf::kNEARDET, caf::Proxy< caf::SRNumuEnergy >::ndtrklenact, caf::Proxy< caf::SRNumuEnergy >::ndtrklencat, caf::Proxy< caf::SREnergyBranch >::numu, ana::UnCorrFDMuEScaleSyst2020::Shift(), sigma(), caf::Proxy< caf::SRKalman >::tracks, and caf::Proxy< caf::StandardRecord >::trk.
Referenced by CorrMuEScaleSyst2020(), ana::PileupMuESyst2020::PileupMuESyst2020(), ana::UnCorrFDMuEScaleSyst2020::UnCorrFDMuEScaleSyst2020(), ana::UnCorrMuCatMuESyst2020::UnCorrMuCatMuESyst2020(), and ana::UnCorrNDMuEScaleSyst2020::UnCorrNDMuEScaleSyst2020().
|
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 35 of file EnergySysts2020.h.
Referenced by Shift().
|
private |
Definition at line 37 of file EnergySysts2020.h.
Referenced by Shift().
|
private |
Definition at line 36 of file EnergySysts2020.h.
Referenced by Shift().