26  const char* 
const offset_t    =  
"offset";
 
   27  const char* 
const origin_t    =  
"origin";
 
   28  const char* 
const cylinder_t  =  
"cylinder";
 
   38int main(
int argc, 
char **argv)
 
   52    JParser<> zap(
"Auxiliary program to print contents of summed Monte Carlo run headers.");
 
   56                          "optional key corresponds to a data member or any of the values "\
 
   59                          << cylinder_t << 
".")    = 
"";
 
   67  catch(
const exception &error) {
 
   68    FATAL(error.what() << endl);
 
   84      output_type out = (print_as_json ? 
 
   85                         (output_type) 
new JSonObjectOutput   <typelist>(cout) : 
 
   99      else if (key == origin_t)
 
  101      else if (key == cylinder_t)
 
  107  catch (
const exception& error) {
 
  108    FATAL(error.what() << endl);
 
 
General purpose messaging.
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Print objects in ASCII format using ROOT dictionary.
 
ROOT TTree parameter settings of various packages.
 
static JRootDictionary & getInstance()
Get reference to unique instance of this class object.
 
Template interface of object output for single data type.
 
virtual bool put(const T &object)=0
Object output.
 
Template implementation of stream output for single data type.
 
Utility class to parse command line options.
 
General purpose class for object reading from a list of file names.
 
Vec getOrigin(const JHead &header)
Get origin.
 
JCylinder3D getCylinder(const JHead &header)
Get cylinder corresponding to the positions of generated tracks (i.e.
 
void copy(const Head &from, JHead &to)
Copy header from from to to.
 
Vec getOffset(const JHead &header)
Get offset.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Head getCommonHeader(const JMultipleFileScanner_t &file_list)
Get common Monte Carlo header.
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
 
The Head class reflects the header of Monte-Carlo event files, which consists of keys (also referred ...
 
static void print(JRootWriter &writer, const JRootWritableClass &cls)
Write class contents to output.