opdet::DefaultOpDetResponse::DefaultOpDetResponse |
( |
fhicl::ParameterSet const & |
pset | ) |
|
bool opdet::DefaultOpDetResponse::doDetected |
( |
int |
OpChannel, |
|
|
const sim::OnePhoton & |
Phot, |
|
|
int & |
newOpChannel |
|
) |
| const |
|
overrideprivatevirtual |
bool opdet::DefaultOpDetResponse::doDetectedLite |
( |
int |
OpChannel, |
|
|
int & |
newOpChannel |
|
) |
| const |
|
overrideprivatevirtual |
void opdet::DefaultOpDetResponse::doReconfigure |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
overrideprivatevirtual |
Implements opdet::OpDetResponseInterface.
Definition at line 44 of file DefaultOpDetResponse_service.cc.
46 auto const* LarProp = lar::providerFrom<detinfo::LArPropertiesService>();
48 if ( LarProp->ScintPreScale() < 1 ) {
49 mf::LogWarning(
"DefaultOpDetResponse_service") <<
"A prescale of " << LarProp->ScintPreScale() <<
" has been applied during optical MC production, "
50 <<
"but DefaultOpDetResponse does not include any QE so this effect is not being corrected out.";
The documentation for this class was generated from the following file: