22int main(
int argc,
char **argv)
35 JParser<> zap(
"Program to test sampling of summary data.");
37 zap[
'f'] =
make_field(inputFile->getFilelist(),
"inputFile");
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;
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
virtual bool hasNext() override
Check availability of next element.
const JSampler_t< T > & getSampler() const
Get sampler.
virtual const pointer_type & next() override
Get next element.
Utility class to parse command line options.
int getFrameIndex() const
Get frame index.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Long64_t counter_type
Type definition for counter.
KM3NeT DAQ data structures and auxiliaries.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for defining the range of iterations of objects.
Auxiliary class to sample from a list of files.