From 636af9b4a2d4a91921306a5a681b91680162e676 Mon Sep 17 00:00:00 2001 From: gconesab Date: Sun, 14 Feb 2010 14:40:51 +0000 Subject: [PATCH] In AliEMCALCalibData::Print increase precision of float to be printed, add simple macro to print calibration coefficients in OCDB --- EMCAL/AliEMCALCalibData.cxx | 4 ++-- .../CalibrationDB/PrintEMCALCalibData.C | 20 +++++++++++++++++++ EMCAL/macros/SimParamDB/PrintEMCALSimParam.C | 6 +++--- 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 EMCAL/macros/CalibrationDB/PrintEMCALCalibData.C diff --git a/EMCAL/AliEMCALCalibData.cxx b/EMCAL/AliEMCALCalibData.cxx index 401fa56c3ea..453c0f0a5fc 100644 --- a/EMCAL/AliEMCALCalibData.cxx +++ b/EMCAL/AliEMCALCalibData.cxx @@ -150,7 +150,7 @@ void AliEMCALCalibData::Print(Option_t *option) const printf("============== Supermodule %d\n",supermodule+1); for (Int_t column=0; columnGet("AliCDBEntry"); + AliEMCALCalibData * cparam = cdb->GetObject(); + + + cout<<"============== "<GetName()<<" ==============="<Print("gain"); + //cparam->Print("ped"); +} diff --git a/EMCAL/macros/SimParamDB/PrintEMCALSimParam.C b/EMCAL/macros/SimParamDB/PrintEMCALSimParam.C index ce7ae01e671..1917429aeff 100644 --- a/EMCAL/macros/SimParamDB/PrintEMCALSimParam.C +++ b/EMCAL/macros/SimParamDB/PrintEMCALSimParam.C @@ -1,7 +1,7 @@ -// 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"){ -- 2.43.0