You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CCDB/README.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,4 +96,44 @@ auto alignment = mgr.get<o2::FOO::GeomAlignment>("/FOO/Alignment");
96
96
97
97
## Note on the use of TFile to store data
98
98
99
-
The reason for using a TFile to store the data in the CCDB is because it has the advantage of keeping the data together with the ROOT streamer info in the same place and because it makes it easy to open objects directly from a ROOT session. The streamers enable class schema evolution.
99
+
The reason for using a TFile to store the data in the CCDB is because it has the advantage of keeping the data together with the ROOT streamer info in the same place and because it makes it easy to open objects directly from a ROOT session. The streamers enable class schema evolution.
100
+
101
+
## Command line tools
102
+
103
+
A few prototypic command line tools are offered. These can be used in scriptable generic workflows
104
+
and facilitate the following tasks:
105
+
106
+
1. Upload and annotate a generic C++ object serialized in a ROOT file
This will download the CCDB object under path given by `--path` to a directory given by `--dest` on the disc.
120
+
(The final filename will be `/tmp/CCDB/Detector1/QA/snapshot.root`for the moment).
121
+
All meta-information as well as the information associated to this query will be appended to the file.
122
+
123
+
For full list of options see `o2-ccdb-downloadccdbfile --help`.
124
+
125
+
3. Inspect the content of a ROOT file and print summary about type of contained (CCDB) objects and its meta information
126
+
127
+
```bash
128
+
o2-ccdb-inspectccdbfile filename
129
+
```
130
+
Lists all keys and stored types in a ROOT file (downloaded with tool `o2-ccdb-downloadccdbfile`) and prints a summary about the attached meta-information.
131
+
132
+
133
+
### TODO command line tools
134
+
135
+
- [ ] combine all tools into a single swiss-knife executable?
136
+
- [ ] offer more tools mapping all REST functionality of the server: be able to browse, list, query online content, etc.
137
+
- [ ] provide error diagnostics; different level of verbosity
0 commit comments