9 adcNBits_(conf.getParameter<uint32_t>(
"adcNbits")),
12 toaLSBToNS_(conf.getParameter<double>(
"toaLSB_ns")),
13 timeError_(conf.getParameter<double>(
"timeResolutionInNs")),
16 timeCorr_p2_(conf.getParameter<double>(
"timeCorr_p2")) {}
46 std::pair<float, float>
amplitude(0., 0.);
47 std::pair<float, float>
time(0., 0.);
49 unsigned char flag = 0;
51 const auto& sampleLeft = dataFrame.
sample(0);
52 const auto& sampleRight = dataFrame.
sample(1);
54 if (sampleLeft.data() > 0) {
64 if (sampleRight.data() > 0) {
74 << sampleLeft.data() <<
", " << sampleRight.data() <<
" " <<
adcLSB_ <<
' '
76 LogDebug(
"BTLUncalibRecHit") <<
"TDC+: set the time to: (" <<
time.first <<
", " <<
time.second <<
") ("
77 << sampleLeft.toa() <<
", " << sampleRight.toa() <<
" " <<
toaLSBToNS_ <<
' '