Go to the documentation of this file.
20 int main(
int argc,
char **argv)
31 JParser<> zap(
"Example program to test meta.");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
43 argv[0] = (
char*)
"test";
45 const JMeta meta(argc, argv);
48 DEBUG(meta.toString() << endl);
50 ASSERT(JMeta::valueOf(meta.toString()) == meta);
53 TFile* file = TFile::Open(
outputFile.c_str(),
"recreate");
62 TFile* file = TFile::Open(
outputFile.c_str(),
"exists");
TObject * getObject(const JRootObjectID &id)
Get TObject.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
bool putObject(TDirectory *dir, const T &object)
Write object to ROOT directory.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
#define MAKE_CSTRING(A)
Make C-string.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
static const char *const META_NAME
ROOT name for meta data.
#define DEBUG(A)
Message macros.