Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JClassDef.cc File Reference

Program to test JROOT::JClassDef. More...

#include <string>
#include <iostream>
#include <iomanip>
#include "JLang/JType.hh"
#include "JLang/JBool.hh"
#include "JROOT/JClassDef.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.

Functions

int main (int argc, char **argv)
 

Detailed Description

Program to test JROOT::JClassDef.

Author
mdejong

Definition in file JClassDef.cc.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 73 of file JClassDef.cc.

74{
75 using namespace std;
76 using namespace JPP;
77
78 int debug;
79
80 try {
81
82 JParser<> zap("Program to test JClassDef.");
83
84 zap['d'] = make_field(debug) = 3;
85
86 zap(argc, argv);
87 }
88 catch(const exception& error) {
89 FATAL(error.what() << endl);
90 }
91
92 print(cout, JType<JHead>());
93 print(cout, JType<double>());
94
95 return 0;
96}
#define FATAL(A)
Definition JMessage.hh:67
int debug
debug level
Definition JSirene.cc:72
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Definition JParser.hh:2142
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.
Utility class to parse command line options.
Definition JParser.hh:1698
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for a type holder.
Definition JType.hh:19