| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

GaudiSvc/doc/MetaDataSvc.md
Go to the documentation of this file.
1 # MetaData service for self-descriptive n-tuples {#MetaDataSvc-readme}
2
3 The service adds information about n-tuple production into the resulting n-tuple.
4 These information include job options as well as application name and version.
5 They are named 'info' and saved inside the n-tuple.
6
7 ## Usage
8 Metadata can be added to n-tuples adding Gaudi::MetaDataSvc to the list of extra
9 services in your options, for example with:
10
11 ~~~{.py}
12 ApplicationMgr().ExtSvc += [ "Gaudi::MetaDataSvc" ]
13 ~~~
14
15 The content of the metadata info in a file can be dumped with the command line
16 tool `dumpMetaData` as in:
17
18 ~~~
19 $ dumpMetaData TupleEx.root
20 ~~~
21
22 An example on how to read the metadata from C++ is in the readMetaData.C example.