23 int main(
int argc, 
char **argv)
 
   27   using namespace KM3NETDAQ;
 
   35     JParser<> zap(
"Example program to count event data.");
 
   38     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   43   catch(
const exception& error) {
 
   44     FATAL(error.what() << endl);
 
   61   while (inputFile.hasNext()) {
 
   63     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
   71         counter[hit->getModuleID()].trigger  += 1;
 
   79         counter[hit->getModuleID()].snapshot += 1;
 
   86     cout << setw(10) << i->first            << 
' ' 
   87          << setw (8) << i->second.trigger   << 
' ' 
   88          << setw (8) << i->second.snapshot  << endl;
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
Long64_t counter_type
Type definition for counter. 
 
Auxiliary class for defining the range of iterations of objects. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
General purpose messaging. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
Auxiliary class to set-up Hit. 
 
const JLimit & getLimit() const 
Get limit. 
 
JTriggerCounter_t next()
Increment trigger counter. 
 
#define DEBUG(A)
Message macros.