40     JParser<> zap(
"Example program to build detector from database.");
 
   52   catch(
const exception &error) {
 
   53     FATAL(error.what() << endl);
 
   59   DEBUG(
"Reading database table " << getTable<JDetectorIntegration_t>() << endl); 
 
   69     ResultSet& rs  = 
getResultSet(getTable<JDetectorIntegration_t>());
 
   72       THROW(JDatabaseException, 
"Error reading " << getTable<JDetectorIntegration_t>());
 
   75   catch(
const exception& error) {
 
   76     FATAL(error.what() << endl);
 
   83   if        (
pbs != JPBS_t()) {
 
   89     for (JDetectorIntegration_t::range_const_iterator i = range.first; i != range.second; ++i) {
 
   91       const JUPI_t upi = 
detector[i->second].content.getUPI();
 
   93       cout << 
LEFT(32) << upi << right << 
' ' << router.getLocation(upi) << endl;
 
   96   } 
else if (upi != JUPI_t()) {
 
  102     const JLocation_t location = router.getLocation(upi);
 
  104     if (location.is_valid()) {
 
  105       cout << location << endl;
 
  110     cout << 
"Enter UPI." << endl;
 
  116       cout << 
"> " << flush;
 
  123       const JLocation_t location = router.getLocation(upi);
 
  125       if (location.is_valid()) {
 
  126         cout << location << endl;
 
Utility class to parse command line options. 
 
static JGetPBSSequences getPBSSequences
Function object to get PBS sequences as a function of PBS. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
JDetectorsHelper getDetector
Function object for mapping serial number to object identifier of detector and vice versa...
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
bool is_integer(const std::string &buffer)
Check if string is an integer. 
 
z range($ZMAX-$ZMIN)< $MINIMAL_DZ." fi fi mv $WORKDIR/fit.root $MODULE_ROOT typeset -Z 4 STRING typeset -Z 2 FLOOR JPlot1D -f $
 
then $JPP_DIR software JDB JAsciiDB q upi pbs
 
ResultSet & getResultSet(const std::string &query)
Get result set. 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
#define DEBUG(A)
Message macros.