30 auto const* LarProp = lar::providerFrom<detinfo::LArPropertiesService>();
32 if ( LarProp->ScintPreScale() < 1 ) {
33 mf::LogWarning(
"DefaultOpDetResponse_service") <<
"A prescale of " << LarProp->ScintPreScale() <<
" has been applied during optical MC production, " 34 <<
"but DefaultOpDetResponse does not include any QE so this effect is not being corrected out.";
44 newOpChannel = OpChannel;
51 newOpChannel = OpChannel;
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)
virtual void doReconfigure(fhicl::ParameterSet const &p)
DefaultOpDetResponse(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
virtual bool doDetectedLite(int OpChannel, int &newOpChannel) const
virtual bool doDetected(int OpChannel, const sim::OnePhoton &Phot, int &newOpChannel) const