Correct initialization of ann array
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 Nov 2006 13:23:58 +0000 (13:23 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 Nov 2006 13:23:58 +0000 (13:23 +0000)
EMCAL/AliEMCALShishKebabTrd1Module.cxx

index 5847ef1..aa7c117 100644 (file)
@@ -104,10 +104,10 @@ AliEMCALShishKebabTrd1Module::AliEMCALShishKebabTrd1Module(const AliEMCALShishKe
     fOK2(mod.fOK2),
     fOB(mod.fOB),
     fOB1(mod.fOB1),
-    fOB2(mod.fOB2),
-    fOK3X3(mod.fOK3X3)
+    fOB2(mod.fOB2)
 {
   //copy ctor
+  for (Int_t i=0; i<3; i++) fOK3X3[i] = mod.fOK3X3[i];
 }
 
 //________________________________________________________________