26 int main(
int argc,
char **argv)
30 using namespace KM3NETDAQ;
39 JParser<> zap(
"Program to test router of summary data.");
42 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
48 catch(
const exception& error) {
49 FATAL(error.what() << endl);
56 while (inputFile.hasNext()) {
58 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
62 router.update(*event);
68 const double R = router.getRate(
id);
75 cout << setw(10) << i->first.getModuleID() <<
'.'
76 <<
FILL(2,
'0') << i->first.getPMTAddress() <<
FILL() <<
' '
77 <<
FIXED(9,2) << i->second.getMean();
78 if (i->second.getCount() > 2) {
80 <<
FIXED(9,2) << i->second.getSTDev();
Utility class to parse command line options.
int main(int argc, char *argv[])
ROOT TTree parameter settings of various packages.
Auxiliary data structure for floating point format specification.
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.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
File router for fast addressing of summary data.
then usage $script[distance] fi case set_variable R
General purpose messaging.
Auxiliary data structure for sequence of same character.
Utility class to parse command line options.
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
Object reading from a list of files.
const JLimit & getLimit() const
Get limit.
JTriggerCounter_t next()
Increment trigger counter.