Go to the documentation of this file.
22 int main(
int argc,
char **argv)
28 JMultipleFileSampler<JDAQSummaryslice, JRandomSampler> inputFile;
35 JParser<> zap(
"Program to test sampling of summary data.");
45 catch(
const exception& error) {
46 FATAL(error.what() << endl);
49 gRandom->SetSeed(seed);
51 for (
counter_type i = 0; i != numberOfEvents && inputFile.hasNext(); ++i) {
53 cout <<
"event: " << setw(8) << i << flush;
57 cout <<
" index " << setw(8) << summary->
getFrameIndex() << endl;
JParserTemplateElement< bool > getOption(bool &object, const std::string &name, const std::string &help="")
Auxiliary method for creation of template parser element object.
Empty structure for specification of parser element that is initialised (i.e.
int getFrameIndex() const
Get frame index.
JLimit JLimit_t
Type definition of limit.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
int main(int argc, char **argv)
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
KM3NeT DAQ data structures and auxiliaries.
Long64_t counter_type
Type definition for counter.