42     JParser<> zap(
"Example program to build detector from database.");
 
   48     zap[
'f'] = 
make_field(inputFile, 
"output of JPrintDB -q \"integration\" -c \";\" -W1")  = 
"";
 
   56   catch(
const exception &error) {
 
   57     FATAL(error.what() << endl);
 
   63   if (inputFile != 
"") {
 
   69     DEBUG(
"Reading database table " << getTable<JDetectorIntegration_t>() << endl); 
 
   75       detid = getDetector<string>(detid);
 
   77       ResultSet& rs  = 
getResultSet(getTable<JDetectorIntegration_t>());
 
   80         THROW(JDatabaseException, 
"Error reading " << getTable<JDetectorIntegration_t>());
 
   83     catch(
const exception& error) {
 
   84       FATAL(error.what() << endl);
 
   89     FATAL(
"Detector identifier must be object identifier." << endl);
 
   95   if        (pbs != JPBS_t()) {
 
  101     for (JDetectorIntegration_t::range_const_iterator 
i = range.first; 
i != range.second; ++
i) {
 
  103       const JUPI_t upi = 
detector[
i->second].content.getUPI();
 
  105       cout << 
LEFT(32) << upi << right << 
' ' << router.getLocation(upi) << endl;
 
  108   } 
else if (upi != JUPI_t()) {
 
  114     const JLocation_t location = router.getLocation(upi);
 
  116     if (location.is_valid()) {
 
  117       cout << location << endl;
 
  122     cout << 
"Enter UPI." << endl;
 
  128       cout << 
"> " << flush;
 
  135       const JLocation_t location = router.getLocation(upi);
 
  137       if (location.is_valid()) {
 
  138         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. 
 
#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 typeset -Z 4 STRING typeset -Z 2 FLOOR JPlot1D -f $
 
ResultSet & getResultSet(const std::string &query)
Get result set. 
 
std::vector< JServer > getServernames()
Get list of names of available database servers. 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
#define DEBUG(A)
Message macros.