22int main(
int argc,
char **argv)
32 JParser<> zap(
"Auxiliary program to print live time of data taking.");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
44 cout <<
getLivetime(inputFile.begin(), inputFile.end()) << endl;
General purpose messaging.
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.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double getLivetime(const std::string &file_name)
Get data taking live time.