Run control driver program.  
More...
#include <string>
#include <iostream>
#include <fstream>
#include <iomanip>
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
#include "JLogger/JStreamLogger.hh"
#include "JLogger/JControlHostLogger.hh"
#include "JRuncontrol/JDAQClient.hh"
#include "JRuncontrol/JDAQDriver.hh"
 
Go to the source code of this file.
 | 
| int  | main (int argc, char *argv[]) | 
|   | 
Run control driver program. 
- Author
 - mdejong 
 
Definition in file JDAQDriver.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 20 of file JDAQDriver.cc.
   33     JParser<> zap(
"Run control driver program.");
 
   44   catch(
const exception &error) {
 
   45     FATAL(error.what() << endl);
 
   49   using namespace KM3NETDAQ;
 
   60     out = 
new JStreamLogger(cout);
 
   62     out = 
new JControlHostLogger(logger);
 
   66   ifstream 
in(file_name.c_str());
 
Utility class to parse command line options. 
 
Simple driver for run control clients. 
 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable SERVER localhost define_variable LOGGER if do_usage *then usage $script[host[local file]] fi case set_variable LOGGER
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
std::string getHostname()
Get host name. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in