19 int main(
int argc, 
char **argv)
 
   31     JParser<> zap(
"Auxiliary program to print module identifier for a given module location." 
   32                   "\nInteractive mode in absence of option -L <location>.");
 
   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 location " << location << endl);
 
   68     while (cin >> location && location != 
JLocation()) {
 
   73         FATAL(
"Missing location " << location << endl);
 
Data structure for detector geometry and calibration.
 
Direct access to location in detector data structure.
 
General purpose messaging.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Router for direct addressing of location data in detector data structure.
 
bool hasLocation(const JLocation &location) const
Has module.
 
const JModule & getModule(const JLocation &location) const
Get module parameters.
 
Logical location of module.
 
int getID() const
Get identifier.
 
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.
 
const JObjectID & getUndefinedObjectID()
Get undefined object identifier.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).