Auxiliary program to print PMT thresholds.
More...
#include <string>
#include <iostream>
#include "JDB/JDB.hh"
#include "JDB/JDBToolkit.hh"
#include "JDB/JSelector.hh"
#include "JDB/JSelectorSupportkit.hh"
#include "JDB/JPMTThreshold.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
int | main (const int argc, const char *const argv[]) |
|
Auxiliary program to print PMT thresholds.
- Author
- lnauta
Definition in file software/JDB/JPrintPMTThreshold.cc.
◆ main()
int main |
( |
const int | argc, |
|
|
const char *const | argv[] ) |
Definition at line 19 of file software/JDB/JPrintPMTThreshold.cc.
20{
23
25 string usr;
26 string pwd;
27 string cookie;
28 string detid;
29 int run;
31
32 try {
33
34 JParser<> zap(
"Auxiliary program to print PMT thresholds.");
35
43
44 zap(argc, argv);
45 }
46 catch(const exception& error) {
47 FATAL(error.what() << endl);
48 }
49
50
51 try {
52
53 JDB::reset(usr, pwd, cookie);
54
56
57 cout << getPMTThreshold;
58 }
59 catch(const exception& error) {
60 FATAL(error.what() << endl);
61 }
62}
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary class for PMT thresholds.
Utility class to parse command line options.
std::vector< JServer > getServernames()
Get list of names of available database servers.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Wrapper class for server name.