Public Member Functions | |
GainFluctuator ()=default | |
GainFluctuator (double const refGain, Rand &&randomGain) | |
double | operator() (double const n) |
Returns the new number of photoelectrons after fluctuation from n . More... | |
Private Attributes | |
std::optional< Rand > | fRandomGain |
Random gain extractor (optional). More... | |
double const | fReferenceGain = 0.0 |
Reference (average) gain. More... | |
Applies a random gain fluctuation to the specified number of photoelectrons.
Definition at line 555 of file PMTsimulationAlg.h.
|
default |
|
inline |
Definition at line 562 of file PMTsimulationAlg.h.
double icarus::opdet::PMTsimulationAlg::GainFluctuator< Rand >::operator() | ( | double const | n | ) |
Returns the new number of photoelectrons after fluctuation from n
.
Definition at line 736 of file PMTsimulationAlg.cxx.
|
private |
Random gain extractor (optional).
Definition at line 557 of file PMTsimulationAlg.h.
|
private |
Reference (average) gain.
Definition at line 558 of file PMTsimulationAlg.h.