Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
externals/km3net-dataformat/src/JDAQHit.cc
Go to the documentation of this file.
2
3
4/**
5 * \author mdejong
6 */
7
8/**
9 * Custom ROOT streamer.
10 *
11 * \param R__b I/O buffer
12 */
13void 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}
JPMT_t pmt
PMT readout channel in FPGA.
Definition JDAQHit.hh:158
JTDC_t tdc
leading edge [ns]
Definition JDAQHit.hh:159
JTOT_t tot
time over threshold [ns]
Definition JDAQHit.hh:160
bool IsReading()
Definition JROOT_t.hh:23