opdet::MicrobooneOpDetResponse::MicrobooneOpDetResponse |
( |
fhicl::ParameterSet const & |
pset | ) |
|
bool opdet::MicrobooneOpDetResponse::doDetected |
( |
int |
OpChannel, |
|
|
const sim::OnePhoton & |
Phot, |
|
|
int & |
newOpChannel |
|
) |
| const |
|
overrideprivatevirtual |
Don't apply QE here. It is applied in the uboone
electronics simulation.
Check QE if ( CLHEP::RandFlat::shoot(1.0) > fQE ) return false;
Implements opdet::OpDetResponseInterface.
Definition at line 71 of file MicrobooneOpDetResponse_service.cc.
74 newOpChannel = OpChannel;
float Energy
Scintillation photon energy [GeV].
virtual float wavelength(double energy) const
bool opdet::MicrobooneOpDetResponse::doDetectedLite |
( |
int |
OpChannel, |
|
|
int & |
newOpChannel |
|
) |
| const |
|
overrideprivatevirtual |
void opdet::MicrobooneOpDetResponse::doReconfigure |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
overrideprivatevirtual |
Don't apply QE here. It is applied in the uboone
electronics simulation.
Correct out the prescaling applied during simulation auto const* LarProp = lar::providerFrom<detinfo::LArPropertiesService>(); fQE = tempfQE / LarProp->ScintPreScale();
if (fQE > 1.0001 ) { mf::LogWarning("MicrobooneOpDetResponse_service") << "Quantum efficiency set in OpDetResponse_service, " << tempfQE << " is too large. It is larger than the prescaling applied during simulation, " << LarProp->ScintPreScale() << ". Final QE must be equalt to or smaller than the QE applied at simulation time."; assert(false); }
Implements opdet::OpDetResponseInterface.
Definition at line 44 of file MicrobooneOpDetResponse_service.cc.
46 fQE= pset.get<
double>(
"QuantumEfficiency");
float opdet::MicrobooneOpDetResponse::fQE |
|
private |
float opdet::MicrobooneOpDetResponse::fWavelengthCutHigh |
|
private |
float opdet::MicrobooneOpDetResponse::fWavelengthCutLow |
|
private |
The documentation for this class was generated from the following file: