Jpp 21.0.0-rc.1
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 <type_traits>
#include "JLang/JType.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 72 of file JClassDef.cc.

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