Jpp
test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
externals
km3net-dataformat
src
JDAQPreamble.cc
Go to the documentation of this file.
1
#include "
km3net-dataformat/online/JDAQPreamble.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::JDAQPreamble::Streamer(
TBuffer
& R__b)
14
{
15
if
(R__b.
IsReading
()) {
16
R__b >>
length
;
17
R__b >>
type
;
18
}
else
{
19
R__b <<
length
;
20
R__b <<
type
;
21
}
22
}
JDAQPreamble.hh
KM3NETDAQ::JDAQAbstractPreamble::length
int length
Definition
JDAQAbstractPreamble.hh:69
KM3NETDAQ::JDAQAbstractPreamble::type
int type
Definition
JDAQAbstractPreamble.hh:70
TBuffer
Definition
JROOT_t.hh:21
TBuffer::IsReading
bool IsReading()
Definition
JROOT_t.hh:23
Generated by
1.12.0