25 int main(
int argc,
char **argv)
40 JParser<> zap(
"Auxiliary program to merge disable files.");
42 zap[
'f'] =
make_field(inputFile,
"disable input file");
44 zap[
'a'] =
make_field(detectorFile,
"detector file") =
"";
45 zap[
'q'] =
make_field(squash,
"squash meta data");
50 catch(
const exception &error) {
51 FATAL(error.what() << endl);
57 data.load(inputFile.c_str());
67 if (detectorFile !=
"") {
80 for (container_type::iterator i =
data.begin(); i !=
data.end(); ) {
Data structure for detector geometry and calibration.
int main(int argc, char **argv)
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
I/O formatting auxiliaries.
Acoustic transmission identifier.
Router for direct addressing of module data in detector data structure.
bool hasModule(const JObjectID &id) const
Has module.
Utility class to parse command line options.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary wrapper for I/O of container with optional comment (see JComment).