44     JParser<> zap(
"Auxiliary program to check HV.");
 
   56   catch(
const exception &error) {
 
   57     FATAL(error.what() << endl);
 
   64     load(detectorFile, detectorA);
 
   75     const string detid = 
getDetector(detectorA.getID());
 
   79     detector_type detectorB;
 
   86         if (parameters.PMTUPI.getPBS() == 
PBS::PMT) {
 
   94     for (JDetector::iterator module = detectorA.begin(); module != detectorA.end(); ++module) {
 
   98       for (
size_t i = 0; i != module->size(); ++i) {
 
  100         const int pmt = (*module)[i].getID();
 
  102         if (detectorB.count(pmt) == 1) {
 
  108           if (module->getLocation() != location) {
 
  109             FATAL(
"Wrong location " << left << setw(5) << pmt << 
" " << module->getLocation() << 
" != "  << location << endl);
 
  114             NOTICE(
"Swap PMT " << right << setw(10) << module->getID() << 
' '  
  123           ERROR(
"Missing PMT " << left << setw(5) << pmt << right << setw(10) << module->getID() << 
"." << 
FILL(2,
'0') << i << 
FILL() << endl);
 
  127       module->swap(buffer);
 
  130   catch(
const exception& error) {
 
  131     FATAL(error.what() << endl);
 
Utility class to parse command line options. 
 
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT) 
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
JDetectorsHelper getDetector
Function object for mapping serial number to object identifier of detector and vice versa...
 
Logical location of module. 
 
Auxiliary data structure for location of product in detector. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
void store(const std::string &file_name, const JDetector &detector)
Store detector to output file. 
 
Auxiliary data structure for sequence of same character. 
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file. 
 
ResultSet & getResultSet(const std::string &query)
Get result set. 
 
std::vector< JServer > getServernames()
Get list of names of available database servers. 
 
Wrapper class for server name. 
 
Template definition for getting table specific selector.