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);
53 TFile* file = TFile::Open(
outputFile.c_str(),
"recreate");
62 TFile* file = TFile::Open(
outputFile.c_str(),
"exists");
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define MAKE_CSTRING(A)
Make C-string.
Utility class to parse command line options.
TObject * getObject(const JRootObjectID &id)
Get first TObject with given identifier.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
bool putObject(TDirectory &dir, const TObject &object)
Write object to ROOT directory.
static const char *const META_NAME
ROOT name for meta data.