8 int main(
int argc,
char *argv[])
11 cout <<
"Usage: dumpValidityTabletoCSV [detector name] [data|mc|datamc] [Validity Time Stamp (seconds)] [table name] [CSV data file]" 21 catch (std::runtime_error&
e) {
22 std::cerr << e.what() <<
" Exiting..." << std::endl;
26 std::string dt = argv[2];
31 else if (dt ==
"datamc")
34 std::cout << argv[3] << std::endl;
35 time_t tStart = atof(argv[3]);
36 time_t tEnd = time_t(1<<31);
int main(int argc, char *argv[])