36 JParser<> zap(
"Example program to test DAQ hit selection using JTRIGGER::JBuildL0.");
42 catch(
const exception &error) {
47 const JModule module = getModule<JKM3NeT_t>(1001);
58 for (
int i = 0; i != 100; ++i) {
59 buffer.push_back(
JDAQHit(0, 0, tot));
62 frame.
add(buffer.size(), buffer.data());
74 ASSERT(buffer.size() == (
size_t) frame.
size(),
"Test of L0 hit building w/o DAQ hit selection " << buffer.size() <<
" ?= " << frame.
size());
83 ASSERT(buffer.size() == 0
u,
"Test of L0 hit building with DAQ hit selection " << buffer.size() <<
" ?= " << 0
u);
92 ASSERT(buffer.size() == (
size_t) frame.
size(),
"Test of L0 hit building w/o DAQ hit selection " << buffer.size() <<
" ?= " << frame.
size());
int main(int argc, char **argv)
Basic data structure for L0 hit.
General purpose messaging.
#define ASSERT(A,...)
Assert macro.
Data structure for optical module.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Basic data structure for time and time over threshold information of hit.
Data structure for a composite optical module.
Template definition of a multi-dimensional oscillation probability interpolation table.
Data frame of one optical module.
JDAQSuperFrame & add(const JDAQSuperFrame &super_frame)
Add data from same optical module.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary class to select DAQ hits based on time-over-treshold value.