28 int main(
int argc,
char **argv)
34 JLimit_t& numberOfEvents = inputFile.getLimit();
40 JParser<> zap(
"Auxiliary program to print slow control parameters.");
42 zap[
'f'] =
make_field(inputFile,
"ROOT input file (output file of JTuna).");
43 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
44 zap[
'S'] =
make_field(
id,
"string identifier (-1 => all)") = -1;
49 catch(
const exception &error) {
50 FATAL(error.what() << endl);
55 long long int counter = 0;
63 if (
id == -1 ||
id == p->
string) {
69 for (
map<
int,
set<string> >::const_iterator i = buffer.begin(); i != buffer.end(); ++i) {
71 cout <<
"floor: " << setw(2) << i->first <<
' ';
73 copy(i->second.begin(), i->second.end(), ostream_iterator<string>(cout,
" "));
ROOT TTree parameter settings.
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
int main(int argc, char **argv)
I/O formatting auxiliaries.
Utility class to parse command line options.
General purpose class for object reading from a list of file names.
virtual void rewind() override
Rewind.
virtual bool hasNext() override
Check availability of next element.
virtual const pointer_type & next() override
Get next element.
void copy(const Head &from, JHead &to)
Copy header from from to to.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for defining the range of iterations of objects.