40     JParser<> zap(
"Example program for module identification.");
 
   50   catch(
const exception &error) {
 
   51     FATAL(error.what() << endl);
 
   57   DEBUG(
"Reading database table " << getTable<JDetectorIntegration_t>() << endl); 
 
   63     ResultSet& rs  = 
getResultSet(getTable<JDetectorIntegration_t>());
 
   69   catch(
const exception& error) {
 
   70     FATAL(error.what() << endl);
 
   77     load(detectorFile, detx);
 
   93     const JLocation_t location = router.getLocation(upi);
 
   95     cout << setw(24) << left << upi << right  << 
' ' 
   96          << setw(4)  << location.
string       << 
' ' 
   97          << setw(2)  << location.
floor        << 
' ' 
  100     for (JDetector::const_iterator module = detx.begin(); module != detx.end(); ++module) {
 
  102       if (module->getString() == location.
string &&
 
  103           module->getFloor()  == location.
floor) {
 
  105         cout << setw(10) << module->getID();
 
Utility class to parse command line options. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
Universal product identifier (UPI). 
 
static const JPBS_t CLB(3, 4, 3, 2)
PBS of central-logic board 
 
JDetectorsHelper getDetector
Function object for mapping serial number to object identifier of detector and vice versa...
 
int floor
position in string 
 
map_type::const_iterator range_const_iterator
 
Auxiliary data structure for location of product in detector. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
static const JPBSSequences CLB_SEQUENCES
PBS sequences for central-logic board. 
 
Auxiliary class to map UPI to location in detector. 
 
z range($ZMAX-$ZMIN)< $MINIMAL_DZ." fi fi mv $WORKDIR/fit.root $MODULE_ROOT typeset -Z 4 STRING typeset -Z 2 FLOOR JPlot1D -f $
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file. 
 
ResultSet & getResultSet(const std::string &query)
Get result set. 
 
JCLBIDHelper getCLBID
Function object for mapping UPI of central-logic board to module identifier. 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
int string
position in detector 
 
#define DEBUG(A)
Message macros.