printf("============== Supermodule %d\n",supermodule+1);
for (Int_t column=0; column<nCol; column++){
for (Int_t row=0; row<nRow; row++){
- printf("%4.1f",fADCpedestal[supermodule][column][row]);
+ printf(" %2.4f ",fADCpedestal[supermodule][column][row]);
}
printf("\n");
}
printf("============== Supermodule %d\n",supermodule+1);
for (Int_t column=0; column<nCol; column++){
for (Int_t row=0; row<nRow; row++){
- printf("%4.1f",fADCchannel[supermodule][column][row]);
+ printf(" %2.4f ",fADCchannel[supermodule][column][row]);
}
printf("\n");
}
--- /dev/null
+// Macro to print the values stored in the OCDB with AliEMCALCalibData
+// These parameters are used during simulation and reconstruction
+
+// Author: Gustavo Conesa (LPSC-IN2P3)
+
+
+void PrintEMCALCalibData(char * file = "$ALICE_ROOT/OCDB/EMCAL/Calib/Data/Run0_999999999_v0_s0.root"){
+
+
+ TFile * f = new TFile(file,"READ");
+
+ AliCDBEntry * cdb = (AliCDBEntry*) f->Get("AliCDBEntry");
+ AliEMCALCalibData * cparam = cdb->GetObject();
+
+
+ cout<<"============== "<<cparam->GetName()<<" ==============="<<endl;
+
+ cparam->Print("gain");
+ //cparam->Print("ped");
+}
-// Macro to print the values stored in the OCDB with AliEMCALRecParam
-// These parameters are used during reconstruction
+// Macro to print the values stored in the OCDB with AliEMCALSimParam
+// These parameters are used during simulation
-// Author: Gustavo Conesa (INFN-LNF)
+// Author: Gustavo Conesa (IN2P3-LPSC)
void PrintEMCALSimParam(char * file = "$ALICE_ROOT/OCDB/EMCAL/Calib/SimParam/Run0_999999999_v0_s0.root"){