13 #ifndef LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_PROVIDERS_SHOWERCALIBRATIONGALORESCALE_H 14 #define LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_PROVIDERS_SHOWERCALIBRATIONGALORESCALE_H 59 Comment(
"correction factor to be applied to all particles")
64 Comment(
"uncertainty on the correction factor")
123 std::ostringstream sstr;
124 sstr <<
"Uniform correction: " <<
corr;
140 #endif // LAREXAMPLES_SERVICES_SHOWERCALIBRATIONGALORE_PROVIDERS_SHOWERCALIBRATIONGALORESCALE_H virtual Correction_t correction(recob::Shower const &, PDGID_t=unknownID) const override
Returns the correction for a given reconstructed shower.
A shower calibration service provider applying a uniform scale.
ChannelGroupService::Name Name
virtual float correctionFactor(recob::Shower const &, PDGID_t=unknownID) const override
Returns a correction factor for a given reconstructed shower.
A correction factor with global uncertainty.
fhicl::Atom< float > factor
virtual std::string report() const override
Returns a string with a short report of the current correctionß
ShowerCalibrationGaloreScale(fhicl::ParameterSet const &pset)
Constructor from a parameter set.
ShowerCalibrationGaloreScale(Config const &config)
Constructor from the complete configuration object.
static constexpr PDGID_t unknownID
A mnemonic constant for unknown particle ID.
int PDGID_t
A type representing a particle ID in Particle Data Group convention.
Interface for a shower calibration service provider.
LArSoft-specific namespace.
Collection of configuration parameters for the service.
float factor
correction factor
Interface for a shower calibration service provider.