32 JParser<> zap(
"Example program to find the largest event in a file.");
39 catch(
const exception& error) {
44 unsigned int overlays = 0;
47 while (inputFile.hasNext()) {
51 const JDAQEvent*
event = inputFile.next();
53 if (event->getOverlays() > overlays) {
54 overlays =
event->getOverlays();
55 index = inputFile.getCounter() - 1;
61 cout <<
"Largest number of overlays " << overlays <<
endl;
62 cout <<
"JConvert -f " << inputFile.getFilename() <<
" -n " << index <<
":1" <<
endl;
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
int main(int argc, char **argv)
Scanning of objects from a single file according a format that follows from the extension of each fil...
ROOT TTree parameter settings of various packages.
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.