LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
A shower calibration service provider applying a uniform scale. More...
#include "ShowerCalibrationGaloreScale.h"
Classes | |
struct | Config |
Collection of configuration parameters for the service. More... | |
Public Types | |
using | parameters_type = fhicl::Table< Config > |
Type describing all the parameters. More... | |
using | PDGID_t = int |
A type representing a particle ID in Particle Data Group convention. More... | |
Public Member Functions | |
ShowerCalibrationGaloreScale (Config const &config) | |
Constructor from the complete configuration object. More... | |
ShowerCalibrationGaloreScale (fhicl::ParameterSet const &pset) | |
Constructor from a parameter set. More... | |
virtual std::string | report () const override |
Returns a string with a short report of the current correctionß More... | |
Correction query | |
virtual float | correctionFactor (recob::Shower const &, PDGID_t=unknownID) const override |
Returns a correction factor for a given reconstructed shower. More... | |
virtual Correction_t | correction (recob::Shower const &, PDGID_t=unknownID) const override |
Returns the correction for a given reconstructed shower. More... | |
Static Public Attributes | |
static constexpr PDGID_t | unknownID = 0 |
A mnemonic constant for unknown particle ID. More... | |
Private Attributes | |
Correction_t | corr |
A shower calibration service provider applying a uniform scale.
The service provider computes a calibration factor for a reconstructed shower. The calibration factor is a single number for the whole detector and for the entire data sample.
Definition at line 48 of file ShowerCalibrationGaloreScale.h.
Type describing all the parameters.
Definition at line 70 of file ShowerCalibrationGaloreScale.h.
|
inherited |
A type representing a particle ID in Particle Data Group convention.
Definition at line 66 of file ShowerCalibrationGalore.h.
|
inline |
Constructor from the complete configuration object.
Definition at line 75 of file ShowerCalibrationGaloreScale.h.
|
inline |
Constructor from a parameter set.
Definition at line 81 of file ShowerCalibrationGaloreScale.h.
References correctionFactor().
|
inlineoverridevirtual |
Returns the correction for a given reconstructed shower.
The returned value includes a correction factor to be applied to any shower energy to calibrate it, with its global uncertainty.
Implements lar::example::ShowerCalibrationGalore.
Definition at line 114 of file ShowerCalibrationGaloreScale.h.
References corr.
Referenced by correctionFactor().
|
inlineoverridevirtual |
Returns a correction factor for a given reconstructed shower.
The returned value includes a correction factor to be applied to the shower energy to calibrate it, but no uncertainty.
Implements lar::example::ShowerCalibrationGalore.
Definition at line 101 of file ShowerCalibrationGaloreScale.h.
References corr, correction(), and lar::example::ShowerCalibrationGalore::Correction_t::factor.
Referenced by ShowerCalibrationGaloreScale().
|
inlineoverridevirtual |
Returns a string with a short report of the current correctionß
Implements lar::example::ShowerCalibrationGalore.
Definition at line 121 of file ShowerCalibrationGaloreScale.h.
References corr.
|
private |
Definition at line 131 of file ShowerCalibrationGaloreScale.h.
Referenced by correction(), correctionFactor(), and report().
|
staticinherited |
A mnemonic constant for unknown particle ID.
Definition at line 69 of file ShowerCalibrationGalore.h.
Referenced by lar::example::ShowerCalibrationGaloreFromPID::selectCorrection().