1 // Simple example how to get CDB information stored in the ESD:
2 // - The list of parameters got from OCDB during reconstruction (cdbList)
3 // - The map of storages (default + specific) activated (cdbMap)
5 // author: alberto.colla@cern.ch
7 void GetCDBInfoFromESD(){
9 TFile * f = new TFile("AliESDs.root");
11 TTree* tree = f->Get("esdTree");
12 TList* l = tree->GetUserInfo();
14 TList* ids = l->FindObject("cdbList");
17 TMap* storages = l->FindObject("cdbMap");