20int main(
int argc,
char **argv)
31 JParser<> zap(
"Auxiliary program to merge PMT parameters files.");
33 zap[
'P'] =
make_field(pmtParameters,
"PMT simulation data (or corresponding file name)");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
46 for (
size_t i = 0; i != pmtParameters.size(); ++i) {
50 buffer.
load(pmtParameters[i].c_str());
55 copy(buffer.begin(), buffer.end(), inserter(parameters, parameters.end()));
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary class for map of PMT parameters.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
void store(const char *file_name) const
Store to output file.
void load(const char *file_name)
Load from input file.