30int main(
int argc,
char **argv)
37 JLimit_t& numberOfEvents = inputFile.getLimit();
43 JParser<> zap(
"Program to test ordered reading from a ROOT TTree.");
52 catch(
const exception& error) {
53 FATAL(error.what() << endl);
59 TH1D h0(
"h0", NULL, 401, -200.5, +200.5);
60 TH1D h1(
"h1", NULL, 401, -200.5, +200.5);
71 STATUS(
"event: " << setw(10) << in.getCounter() <<
'\r');
DEBUG(endl);
74 Long64_t index = scan.find(*event);
78 h0.Fill(event ->getFrameIndex() - frame_index);
81 frame_index =
event->getFrameIndex();
General purpose messaging.
#define DEBUG(A)
Message macros.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
ROOT TTree parameter settings of various packages.
int main(int argc, char **argv)
Utility class to parse command line options.
Template definition for direct access of elements in ROOT TChain.
int getFrameIndex() const
Get frame index.
JTriggerCounter_t next()
Increment trigger counter.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.