24 auto const* LarProp = lar::providerFrom<detinfo::LArPropertiesService>();
26 if ( LarProp->ScintPreScale() < 1 ) {
27 mf::LogWarning(
"DefaultOpDetResponse_service") <<
"A prescale of " << LarProp->ScintPreScale() <<
" has been applied during optical MC production, " 28 <<
"but DefaultOpDetResponse does not include any QE so this effect is not being corrected out.";
Index OpChannel(Index detNum, Index channel)
All information of a photon entering the sensitive optical detector volume.
virtual void doReconfigure(fhicl::ParameterSet const &p)
DefaultOpDetResponse(fhicl::ParameterSet const &pset)
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
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)