1 // Macro to print the values stored in the OCDB with AliEMCALRecParam
2 // These parameters are used during reconstruction
4 // Author: Gustavo Conesa (INFN-LNF)
7 void PrintEMCALRecParam(char * file = "Run0_999999999_v0_s0.root"){
10 TFile * f = new TFile(file,"READ");
12 AliCDBEntry * cdb = (AliCDBEntry*) f->Get("AliCDBEntry");
13 TObjArray * array = (TObjArray *) cdb->GetObject();
15 //Loop on the different event species and print parameters.
16 Int_t nSpecies = array->GetEntriesFast();
17 for(Int_t i = 0; i < nSpecies ; i++){
19 AliEMCALRecParam * rparam = array->At(i);
21 cout<<"================================================"<<endl;
23 cout<<"============== "<<rparam->GetName()<<" ==============="<<endl;
25 cout<<"================================================"<<endl;