10 adcNBits_(conf.getParameter<uint32_t>(
"adcNbits")),
13 toaLSBToNS_(conf.getParameter<double>(
"toaLSB_ns")),
14 timeError_(conf.getParameter<double>(
"timeResolutionInNs")),
18 c_LYSO_(conf.getParameter<double>(
"c_LYSO")) {}
49 std::pair<float, float>
amplitude(0., 0.);
50 std::pair<float, float>
time(0., 0.);
52 unsigned char flag = 0;
54 const auto& sampleLeft = dataFrame.
sample(0);
55 const auto& sampleRight = dataFrame.
sample(1);
57 if (sampleLeft.data() > 0) {
67 if (sampleRight.data() > 0) {
82 << sampleLeft.data() <<
", " << sampleRight.data() <<
" " <<
adcLSB_ <<
' '
84 LogDebug(
"BTLUncalibRecHit") <<
"TDC+: set the time to: (" <<
time.first <<
", " <<
time.second <<
") ("
85 << sampleLeft.toa() <<
", " << sampleRight.toa() <<
" " <<
toaLSBToNS_ <<
' '