24{
28
30 JLimit_t& numberOfEvents = inputFile.getLimit();
34
35 try {
36
37 JParser<> zap(
"Auxiliary program to monitor summary data.");
38
44
46 }
47 catch(const exception &error) {
49 }
50
51
58
60
63
64 while (inputFile.hasNext()) {
65
67
69
71
74 }
75
76
78
80
81 Q1.put(frame->testDAQStatus() ? 1.0 : 0.0);
82 Q2.put(frame->testWhiteRabbitStatus() ? 1.0 : 0.0);
83
84 Q3.put((
double) frame->countHighRateVeto() / (
double) NUMBER_OF_PMTS);
85 Q4.put((
double) frame->countFIFOStatus() / (
double) NUMBER_OF_PMTS);
86
88
89 if ((*frame)[pmt].is_valid()) {
91 }
92
93 if (!frame->testHighRateVeto(pmt) &&
94 !frame->testFIFOStatus (pmt)) {
95 Q6.put(frame->getRate(pmt));
96
99 }
100 }
101 }
102 }
103
105 }
107
110 }
111
114
116 <<
FIXED(7,5) << Q1.getMean() <<
' '
117 <<
FIXED(7,5) <<
Q2.getMean() <<
' '
118 <<
FIXED(7,5) <<
Q3.getMean() <<
' '
119 <<
FIXED(7,5) <<
Q4.getMean() <<
' '
120 <<
FIXED(8,1) <<
Q5.getMean() <<
' '
121 <<
FIXED(7,0) <<
Q6.getMean() <<
' '
122 <<
FIXED(7,0) <<
Q6.getSTDev() <<
' '
125}
#define DEBUG(A)
Message macros.
#define QAQC(A)
QA/QC output macro.
int qaqc
QA/QC file descriptor.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template definition of a multi-dimensional oscillation probability interpolation table.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Auxiliary data structure for floating point format specification.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.