Using static CDB entry
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Dec 2007 13:50:34 +0000 (13:50 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Dec 2007 13:50:34 +0000 (13:50 +0000)
EMCAL/AliEMCAL.cxx

index 3b436b2..982cf0c 100644 (file)
 /* History of cvs commits:
  *
  * $Log$
+
+ * Revision 1.54  2007/12/06 10:31:13  hristov
+ * Bug fix: using the mapping from CDB
+ *
  * Revision 1.53.10.1  2007/12/06 10:29:59  hristov
  * Bug fix: using the mapping from CDB
  *
@@ -278,7 +282,7 @@ void AliEMCAL::CreateMaterials()
 void AliEMCAL::Digits2Raw() {
   static AliEMCALRawUtils rawUtil;
   //Get Mapping RCU files from the AliEMCALRecParam                                                          
-  AliCDBEntry* entry = AliCDBManager::Instance()->Get("EMCAL/Calib/Mapping");
+  static AliCDBEntry* entry = AliCDBManager::Instance()->Get("EMCAL/Calib/Mapping");
   const TObjArray* maps = 0x0;
   if(entry)
     maps = (TObjArray*)entry->GetObject();