doubled size of digit array for EMCAL to allow 4 DDL x clusterizer
authorfronchet <fronchet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Nov 2011 14:40:07 +0000 (14:40 +0000)
committerfronchet <fronchet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Nov 2011 14:40:07 +0000 (14:40 +0000)
HLT/CALO/AliHLTCaloClusterizerComponent.cxx

index 864ae9c..dc26fc4 100644 (file)
@@ -263,6 +263,10 @@ AliHLTCaloClusterizerComponent::DoInit(int argc, const char** argv )
 {
     //See headerfile for documentation
 
+  if (fCaloConstants->GetDETNAME() == "EMCAL") 
+    
+    fDigitsPointerArray = new AliHLTCaloDigitDataStruct*[2*fCaloConstants->GetNXCOLUMNSMOD()*fCaloConstants->GetNZROWSMOD()];
+  else 
     fDigitsPointerArray = new AliHLTCaloDigitDataStruct*[fCaloConstants->GetNXCOLUMNSMOD()*fCaloConstants->GetNZROWSMOD()];
 
     fClusterizerPtr->SetDigitArray(fDigitsPointerArray);