28{
31
33 string usr;
38
39 try {
40
41 JParser<> zap(
"Example program for module identification.");
42
49
51 }
52 catch(const exception &error) {
54 }
55
56
58
60
61 try {
62
64
66
69 }
70 }
71 catch(const exception& error) {
73 }
74
75
77
78 try {
80 }
83 }
84
85
87
89
91
93
96
101
102 for (JDetector::const_iterator
module =
detx.begin();
module != detx.end(); ++
module) {
103
105 module->getFloor() == location.floor) {
106
107 cout << setw(10) << module->getID();
108
109 break;
110 }
111 }
112
114 }
115
116 return 0;
117}
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
#define DEBUG(A)
Message macros.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
ResultSet & getResultSet(const std::string &query)
Get result set.
JDetectorsHelper & getDetector()
Auxiliary function for helper object initialisation.
JCLBIDHelper & getCLBID()
Auxiliary function for helper object initialisation.
std::vector< JServer > getServernames()
Get list of names of available database servers.
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).
map_type::const_iterator range_const_iterator
Auxiliary data structure for location of product in detector.
int string
position in detector
int floor
position in string
Auxiliary class to map UPI to location in detector.
Wrapper class for server name.
Universal product identifier (UPI).