26int main(
int argc,
char **argv)
33 JLimit_t& numberOfEvents = inputFile.getLimit();
39 JParser<> zap(
"Program to test router of summary data.");
48 catch(
const exception& error) {
49 FATAL(error.what() << endl);
68 const double R = router.
getRate(
id, rate_Hz);
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();
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Scanning of objects from a single file according a format that follows from the extension of each fil...
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
Object reading from a list of files.
virtual bool hasNext() override
Check availability of next element.
counter_type getCounter() const
Get counter.
virtual const pointer_type & next() override
Get next element.
File router for fast addressing of summary data.
void update(const JDAQHeader &header)
Update router.
double getRate(const JDAQPMTIdentifier &id, const double rate_Hz) const
Get rate.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for sequence of same character.
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.