22 int main(
int argc,
char **argv)
34 JParser<> zap(
"Auxiliary program to print module status for a given module identifier."
35 "\nInteractive mode in absence of option -M <module identifier>.");
37 zap[
'a'] =
make_field(detectorFile,
"Detector file");
44 catch(
const exception &error) {
45 FATAL(error.what() << endl);
Data structure for detector geometry and calibration.
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
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
Router for direct addressing of module data in detector data structure.
const JModule & getModule(const JObjectID &id) const
Get module parameters.
bool hasModule(const JObjectID &id) const
Has module.
bool has(const int bit) const
Test PMT status.
Auxiliary class for object identification.
Utility class to parse command line options.
int main(int argc, char **argv)
std::ostream & print(std::ostream &out, const JTestSummary &summary, const char delimiter=' ', const bool useColors=true)
Print test summary.
static const JGetModuleStatusBit getModuleStatusBit
Function object to map key to module status bit.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
static const JPutModuleStatusBit putModuleStatusBit(getModuleStatusBit)
Function object to map module status bit to key.
JLANG::JObjectID JModuleIdentifier
const array_type< JKey_t > & get_keys(const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data)
Method to create array of keys of map.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
int getStatus() const
Get status.