Functor to convert tick point into a tick number and a subsample index. More...
Public Types | |
using | SubsampleIndex_t = DiscretePhotoelectronPulse::SubsampleIndex_t |
Public Member Functions | |
TimeToTickAndSubtickConverter (unsigned int nSubsamples) | |
std::tuple< tick, SubsampleIndex_t > | operator() (double const tick_d) const |
Converts the tick_d in a subsample number and tick number. More... | |
Private Attributes | |
double const | fNSubsamples |
Number of subsamples. More... | |
Functor to convert tick point into a tick number and a subsample index.
Definition at line 536 of file PMTsimulationAlg.h.
using icarus::opdet::PMTsimulationAlg::TimeToTickAndSubtickConverter::SubsampleIndex_t = DiscretePhotoelectronPulse::SubsampleIndex_t |
Definition at line 541 of file PMTsimulationAlg.h.
|
inline |
Definition at line 543 of file PMTsimulationAlg.h.
auto icarus::opdet::PMTsimulationAlg::TimeToTickAndSubtickConverter::operator() | ( | double const | tick_d | ) | const |
Converts the tick_d
in a subsample number and tick number.
Definition at line 722 of file PMTsimulationAlg.cxx.
|
private |
Number of subsamples.
Definition at line 538 of file PMTsimulationAlg.h.