18 int main(
int argc, 
char **argv)
 
   31     JParser<> zap(
"Auxiliary program to detach PMTs from detector.");
 
   33     zap[
'a'] = 
make_field(detectorFile, 
"detector file");
 
   35     zap[
'q'] = 
make_field(squash,       
"squash meta data");
 
   40   catch(
const exception &error) {
 
   41     FATAL(error.what() << endl);
 
   60     NOTICE(
"Set detector version to " << 
detector.getVersion() << endl);
 
   63   for (JDetector::iterator module = 
detector.begin(); module != 
detector.end(); ++module) {
 
   65     DEBUG(
"Detach PMTs in module " << setw(10) << module->getID() << endl);
 
int main(int argc, char **argv)
 
Data structure for detector geometry and calibration.
 
General purpose messaging.
 
#define DEBUG(A)
Message macros.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Utility class to parse command line options.
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
 
void store(const std::string &file_name, const JDetector &detector)
Store detector to output file.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).