24 bool doDetectedLite(
int OpChannel,
int& newOpChannel)
const override;
44 auto const* LarProp = lar::providerFrom<detinfo::LArPropertiesService>();
46 if (LarProp->ScintPreScale() < 1) {
48 <<
"A prescale of " << LarProp->ScintPreScale()
49 <<
" has been applied during optical MC production, " 50 <<
"but DefaultOpDetResponse does not include any QE so this effect is not being corrected " 59 int& newOpChannel)
const 61 newOpChannel = OpChannel;
68 newOpChannel = OpChannel;
Utilities related to art service access.
void doReconfigure(fhicl::ParameterSet const &p) override
All information of a photon entering the sensitive optical detector volume.
DefaultOpDetResponse(fhicl::ParameterSet const &pset)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
bool doDetectedLite(int OpChannel, int &newOpChannel) const override
DECLARE_ART_SERVICE_INTERFACE_IMPL(opdet::DefaultOpDetResponse, opdet::OpDetResponseInterface, LEGACY) namespace opdet
bool doDetected(int OpChannel, const sim::OnePhoton &Phot, int &newOpChannel) const override
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)