Go to the documentation of this file.
22 int main(
int argc,
char **argv)
35 JParser<> zap(
"Program to test sampling of summary data.");
45 catch(
const exception& error) {
46 FATAL(error.what() << endl);
49 gRandom->SetSeed(seed);
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.
const T & get() const
Get reference to object.
Auxiliary class for defining the range of iterations of objects.
virtual const pointer_type & next()
Get next element.
Empty structure for specification of parser element that is initialised (i.e.
int getFrameIndex() const
Get frame index.
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.
virtual bool hasNext()
Check availability of next element.
const JSampler_t< T > & getSampler() const
Get sampler.
Long64_t counter_type
Type definition for counter.