Program to test JROOT::JRootClass.  
More...
#include <string>
#include <iostream>
#include <iomanip>
#include "JROOT/JRootClass.hh"
#include "km3net-dataformat/offline/Head.hh"
#include "JAAnet/JHead.hh"
#include "Jeep/JPrint.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
 
Go to the source code of this file.
 | 
| #define  | PRINT(OUT, T) | 
|   | Print data member.  More...
  | 
|   | 
| #define  | TEST(T)   (getClassname(#T) == (getDataMember(T) != NULL ? getDataMember(T)->GetName() : "?")) | 
|   | Test data member.  More...
  | 
|   | 
 | 
| int  | main (int argc, char **argv) | 
|   | 
Program to test JROOT::JRootClass. 
- Author
 - mdejong 
 
Definition in file JRootClass.cc.
 
Value:do { OUT                                        \
  << std::setw(24) << left << #
T << 
" --> "     \
 
const TDataMember * getDataMember(const JRootClass &parent, const JRootClass &member)
Get ROOT data member for given parent and member class. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
 
Print data member. 
- Parameters
 - 
  
    | OUT | output stream  | 
    | T | data member  | 
  
   
Definition at line 24 of file JRootClass.cc.
 
 
      
        
          | #define TEST | 
          ( | 
            | 
          T | ) | 
             (getClassname(#T) == (getDataMember(T) != NULL ? getDataMember(T)->GetName() : "?")) | 
        
      
 
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 45 of file JRootClass.cc.
   54     JParser<> zap(
"Program to test JRootClass.");
 
   60   catch(
const exception& error) {
 
   61     FATAL(error.what() << endl);
 
   65     PRINT(cout, &JHead::start_run);
 
   67     PRINT(cout, &JHead::physics);
 
   68     PRINT(cout, &JHead::simul);
 
   69     PRINT(cout, &JHead::cut_primary);
 
   70     PRINT(cout, &JHead::cut_seamuon);
 
   71     PRINT(cout, &JHead::spectrum);
 
   72     PRINT(cout, &JHead::can);
 
   73     PRINT(cout, &JHead::genvol);
 
   74     PRINT(cout, &JHead::coord_origin);
 
   75     PRINT(cout, &JHead::livetime);
 
   76     PRINT(cout, &JHead::seabottom);
 
Utility class to parse command line options. 
 
#define TEST(T)
Test data member. 
 
#define ASSERT(A,...)
Assert macro. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
#define PRINT(OUT, T)
Print data member.