19 int main(
int argc,
char **argv)
36 JParser<> zap(
"Auxiliary program to print detector from database.");
51 catch(
const exception &error) {
52 FATAL(error.what() << endl);
61 if (!tcalset.empty() && !pcalset.empty() && !rcalset.empty())
62 *(
JDB::get()->DetX)(
id.c_str(), tcalset.c_str(), pcalset.c_str(), rcalset.c_str()) >> detector;
64 *(
JDB::get()->DetX)(
id.c_str(), run) >> detector;
66 detector.comment.add(JMeta(argc,argv));
68 cout << detector << endl;
70 catch(
const exception& error) {
71 FATAL(error.what() << endl);