22int main(
int argc,
char **argv)
34 JParser<> zap(
"Auxiliary program to selec PMT parameters.");
37 zap[
'P'] =
make_field(pmtParameters,
"PMT simulation data (or corresponding file name)");
43 catch(
const exception &error) {
61 parameters.
load(pmtParameters.c_str());
63 for (JPMTParametersMap::iterator i = parameters.begin(); i != parameters.end(); ) {
64 if (router.
hasModule(i->first.getModuleID()))
67 i = parameters.erase(i);
Data structure for detector geometry and calibration.
General purpose messaging.
Direct access to module in detector data structure.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Router for direct addressing of module data in detector data structure.
bool hasModule(const JObjectID &id) const
Has module.
Auxiliary class for map of PMT parameters.
Template definition of a multi-dimensional oscillation probability interpolation table.
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.