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... | |
Public Types inherited from lar::example::ShowerCalibrationGalore | |
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... | |
Public Member Functions inherited from lar::example::ShowerCalibrationGalore | |
virtual | ~ShowerCalibrationGalore ()=default |
Private Attributes | |
Correction_t | corr |
Additional Inherited Members | |
Static Public Attributes inherited from lar::example::ShowerCalibrationGalore | |
static constexpr PDGID_t | unknownID = 0 |
A mnemonic constant for unknown particle ID. More... | |
Protected Member Functions inherited from lar::UncopiableClass | |
UncopiableClass ()=default | |
Default constructor. More... | |
~UncopiableClass ()=default | |
Default destructor. More... | |
UncopiableClass (UncopiableClass const &)=delete | |
Deleted copy and move constructors and assignments. More... | |
UncopiableClass (UncopiableClass &&)=default | |
UncopiableClass & | operator= (UncopiableClass const &)=delete |
UncopiableClass & | operator= (UncopiableClass &&)=default |
Protected Member Functions inherited from lar::UnmovableClass | |
UnmovableClass ()=default | |
Default constructor. More... | |
~UnmovableClass ()=default | |
Default destructor. More... | |
UnmovableClass (UnmovableClass const &)=default | |
Default copy constructor and assignment. More... | |
UnmovableClass & | operator= (UnmovableClass const &)=default |
UnmovableClass (UnmovableClass &&)=delete | |
Deleted move constructor and assignment. More... | |
UnmovableClass & | operator= (UnmovableClass &&)=delete |
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.
|
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.
|
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.
|
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.
|
inlineoverridevirtual |
Returns a string with a short report of the current correctionß
Implements lar::example::ShowerCalibrationGalore.
Definition at line 121 of file ShowerCalibrationGaloreScale.h.
|
private |
Definition at line 131 of file ShowerCalibrationGaloreScale.h.