Go to the documentation of this file.
20 int main(
int argc,
char **argv)
31 JParser<> zap(
"Example program to create PMT parameters map.");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
44 if (detectorFile !=
"") {
55 for (JDetector::const_iterator module =
detector.begin(); module !=
detector.end(); ++module) {
57 for (
unsigned int pmt = 0; pmt != module->size(); ++pmt) {
int main(int argc, char **argv)
Empty structure for specification of parser element that is initialised (i.e.
void load(const JString &file_name, JDetector &detector)
Load detector from input file.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for map of PMT parameters.
const JPMTParameters & getDefaultPMTParameters() const
Get default PMT parameters.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object