19 int main(
int argc,
char **argv)
31 JParser<> zap(
"Auxiliary program to print module location for a given module identifier."
32 "\nInteractive mode in absence of option -M <module>.");
34 zap[
'a'] =
make_field(detectorFile,
"Detector file");
36 zap[
'F'] =
make_field(fatal,
"Make error fatal");
41 catch(
const exception &error) {
42 FATAL(error.what() << endl);
62 FATAL(
"Missing module " <<
id << endl);
73 FATAL(
"Missing module " <<
id << endl);
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
Logical location of module.
const JLocation & getLocation() const
Get location.
Router for direct addressing of module data in detector data structure.
const JModule & getModule(const JObjectID &id) const
Get module parameters.
bool hasModule(const JObjectID &id) const
Has module.
Auxiliary class for object identification.
Utility class to parse command line options.
int main(int argc, char **argv)
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
JLANG::JObjectID JModuleIdentifier
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).