23 int main(
int argc,
char **argv)
27 using namespace KM3NETDAQ;
36 JParser<> zap(
"Auxiliary program to monitor summary data.");
39 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
45 catch(
const exception &error) {
46 FATAL(error.what() << endl);
57 while (inputFile.hasNext()) {
59 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
65 for (JDAQSummaryslice::const_iterator frame = summaryslice->begin(); frame != summaryslice->end(); ++frame) {
67 Q1.
put(frame->testDAQStatus() ? 1.0 : 0.0);
68 Q2.
put(frame->testWhiteRabbitStatus() ? 1.0 : 0.0);
75 if (frame->getValue(
pmt) != 0) {
79 if (!frame->testHighRateVeto(
pmt) &&
80 !frame->testFIFOStatus (
pmt)) {
81 Q6.
put(frame->getRate(
pmt));
86 Q5.
put((
double) numberOfPTMs);
90 for (
const JQuantile* buffer[] = { &Q1, &Q2, &Q3, &Q4, &Q5, &Q6, NULL }, **i = buffer; *i != NULL; ++i) {
Utility class to parse command line options.
ROOT TTree parameter settings.
Auxiliary data structure for floating point format specification.
esac $JPP_DIR examples JDetector JTransitTime o $OUTPUT_FILE n N $NPE T $TTS_NS d $DEBUG for HISTOGRAM in tts tt2 pmt
Scanning of objects from a single file according a format that follows from the extension of each fil...
Auxiliary class for defining the range of iterations of objects.
I/O formatting auxiliaries.
Auxiliaries for creation of summary data.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
Utility class to parse command line options.
#define QAQC(A)
QA/QC output macro.
Object reading from a list of files.
const JLimit & getLimit() const
Get limit.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
int qaqc
QA/QC file descriptor.
#define DEBUG(A)
Message macros.
int main(int argc, char *argv[])