Jpp  16.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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  */
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 }
bool IsReading()
Definition: JRoot.hh:23
Definition: JRoot.hh:21
JTOT_t tot
time over threshold [ns]
Definition: JDAQHit.hh:160
JTDC_t tdc
leading edge [ns]
Definition: JDAQHit.hh:159
JPMT_t pmt
PMT readout channel in FPGA.
Definition: JDAQHit.hh:158