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