1 // Macro to print the values stored in the OCDB with AliEMCALSimParam
2 // These parameters are used during simulation
4 // Author: Gustavo Conesa (IN2P3-LPSC)
7 void PrintEMCALSimParam(char * file = "$ALICE_ROOT/OCDB/EMCAL/Calib/SimParam/Run0_999999999_v0_s0.root"){
10 TFile * f = new TFile(file,"READ");
12 AliCDBEntry * cdb = (AliCDBEntry*) f->Get("AliCDBEntry");
13 AliEMCALSimParam * sparam = cdb->GetObject();
16 cout<<"============== "<<sparam->GetName()<<" ==============="<<endl;