22 int main(
int argc,
char **argv)
37 JParser<> zap(
"Auxiliary program to generate detector files.");
40 zap[
'D'] =
make_field(detectorID,
"detector identifier") = 1001;
41 zap[
'V'] =
make_field(variant,
"detector version") = getDetectorVersions<string>();
49 catch(
const exception &error) {
50 FATAL(error.what() << endl);
58 for (
const auto id : moduleID) {
60 JModule module = getModule<JKM3NeT_t>(
id);
Data structure for detector geometry and calibration.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Logical location of module.
void setLocation(const JLocation &location)
Set location.
Data structure for a composite optical module.
JModule & set(const JVector3D &pos)
Set position.
Data structure for position in three dimensions.
Utility class to parse command line options.
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).
int main(int argc, char **argv)
Empty structure for specification of parser element that is initialised (i.e. does not require input)...