]> git.uio.no Git - u/mrichter/AliRoot.git/commit
Map of CDB storages and list of CDB object Id's used for the reconstruction are
authoracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Nov 2007 09:35:17 +0000 (09:35 +0000)
committeracolla <acolla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Nov 2007 09:35:17 +0000 (09:35 +0000)
commit69adb7b53b1026ce3d6e97f126cb94728a7cc2f4
tree5b196b26c5e99f3c48aea63c17f2b4165c4b8ad7
parentd9cae8af026d35a5242337b0aef2702a98d0485c
Map of CDB storages and list of CDB object Id's used for the reconstruction are
now written to the ESD tree's UserInfo.

The storage map (named "cdbMap") is a list of TObjString pairs. The key is "default" or the paths
for which the specific storages are accessed, e.g.:

key value
"default" "local://$ALICE_ROOT"
"TPC/Calib/*" "local://TPC_SPECIFIC"
...

The list of retrieved objects (named "cdbList") is made of the AliCDBId's of the retrieved data.

To get them:

TFile * f = new TFile("AliESDs.root");

TTree* tree = f->Get("esdTree");
TList* l = tree->GetUserInfo();

TList* ids = l->FindObject("cdbList");
ids->Print();

TMap* storages = l->FindObject("cdbMap");
storages->Print();
STEER/AliReconstruction.cxx