Public Member Functions | List of all members
ana::FDMuEnergyScaleSyst Class Reference

FD muon energy scale systematic. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-01/3FlavorAna/Systs/EnergySysts.h"

Inheritance diagram for ana::FDMuEnergyScaleSyst:
ana::MuEnergyScaleSyst ana::ISyst

Public Member Functions

 FDMuEnergyScaleSyst (const double scale)
 
void Shift (double sigma, caf::SRProxy *sr, double &weight) const override
 FD muon energy scale systematic. More...
 
virtual const std::stringShortName () const final
 The name printed out to the screen. More...
 
virtual const std::stringLatexName () 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...
 

Detailed Description

FD muon energy scale systematic.

Definition at line 79 of file EnergySysts.h.

Constructor & Destructor Documentation

ana::FDMuEnergyScaleSyst::FDMuEnergyScaleSyst ( const double  scale)
inline

Definition at line 82 of file EnergySysts.h.

References ana::HadEnergyScaleSyst::Shift(), sigma(), sr, and ana::weight.

83  : MuEnergyScaleSyst("FDMuEScale", "FD Relativs Muon Energy Scale", scale)
84  {
85  }
Double_t scale
Definition: plot.C:25
MuEnergyScaleSyst(const std::string &shortName, const std::string &latexName, double scale)
Definition: EnergySysts.h:42

Member Function Documentation

virtual bool ana::ISyst::IsGenieReweight ( ) const
inlinevirtualinherited

GENIE reweights can only provide +/-1,2sigma.

Reimplemented in ana::SummedSyst.

Definition at line 56 of file ISyst.h.

56 {return false;}
virtual const std::string& ana::ISyst::LatexName ( ) const
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().

30 {return fLatexName;}
std::string fLatexName
Definition: ISyst.h:60
void ana::FDMuEnergyScaleSyst::Shift ( double  sigma,
caf::SRProxy sr,
double &  weight 
) const
overridevirtual

FD muon energy scale systematic.

Reimplemented from ana::MuEnergyScaleSyst.

Definition at line 51 of file EnergySysts.cxx.

References caf::Proxy< caf::SRHeader >::det, caf::Proxy< caf::StandardRecord >::hdr, caf::kFARDET, and ana::MuEnergyScaleSyst::Shift().

Referenced by ana::FDHadEnergyScaleSyst::Shift().

52  {
53  if (sr->hdr.det != caf::kFARDET) return;
55  }
Far Detector at Ash River.
Definition: SREnums.h:11
const Var weight
caf::Proxy< caf::SRHeader > hdr
Definition: SRProxy.h:2137
double sigma(TH1F *hist, double percentile)
void Shift(double sigma, caf::SRProxy *sr, double &weight) const override
Perform the systematic shift.
Definition: EnergySysts.cxx:29
caf::Proxy< caf::Det_t > det
Definition: SRProxy.h:232
virtual const std::string& ana::ISyst::ShortName ( ) const
inlinefinalvirtualinherited
virtual void ana::ISyst::TruthShift ( double  sigma,
caf::SRNeutrinoProxy nu,
double &  weight 
) const
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 demo::DemoSyst1, ana::BeamSyst, ana::GenericSystComponentScale< T >, ana::GenericSystComponentScale< T >, ana::GenericSystComponentScale< T >, and ana::NOvARwgtSyst.

Definition at line 46 of file ISyst.h.

Referenced by ana::ISyst::Shift().

49  {
50  // Implement this function if your systematic depends only
51  // SRNeutrino. Left blank by default, since systematics using other
52  // information can do nothing sensible to the nuTree.
53  }

The documentation for this class was generated from the following files: