Jpp
19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
externals
km3net-dataformat
src
externals/km3net-dataformat/src/JDAQHit.cc
Go to the documentation of this file.
1
#include "
km3net-dataformat/online/JDAQHit.hh
"
2
3
4
/**
5
* \author mdejong
6
*/
7
8
/**
9
* Custom ROOT streamer.
10
*
11
* \param R__b I/O buffer
12
*/
13
void
KM3NETDAQ::JDAQHit::Streamer(
TBuffer
& R__b)
14
{
15
if
(R__b.
IsReading
()) {
16
R__b >>
pmt
;
17
R__b >>
tdc
;
18
R__b >>
tot
;
19
}
else
{
20
R__b <<
pmt
;
21
R__b <<
tdc
;
22
R__b <<
tot
;
23
}
24
}
JDAQHit.hh
KM3NETDAQ::JDAQHit::pmt
JPMT_t pmt
PMT readout channel in FPGA.
Definition
JDAQHit.hh:158
KM3NETDAQ::JDAQHit::tdc
JTDC_t tdc
leading edge [ns]
Definition
JDAQHit.hh:159
KM3NETDAQ::JDAQHit::tot
JTOT_t tot
time over threshold [ns]
Definition
JDAQHit.hh:160
TBuffer
Definition
JROOT_t.hh:21
TBuffer::IsReading
bool IsReading()
Definition
JROOT_t.hh:23
Generated by
1.12.0