From 7d6200454c6fe85dd9d33cbbb6d24cadb3f68514 Mon Sep 17 00:00:00 2001 From: gconesab Date: Mon, 30 Jan 2012 14:52:46 +0000 Subject: [PATCH] Increase default size of ObjArray to avoid crash in PbPb data --- PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx b/PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx index 0cd35128e8b..84051e9b57b 100644 --- a/PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx +++ b/PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx @@ -12,7 +12,6 @@ * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ -/* $Id$ */ //_________________________________________________________________________ // This analysis provides a new list of clusters to be used in other analysis @@ -96,9 +95,9 @@ AliAnalysisTaskEMCALClusterize::AliAnalysisTaskEMCALClusterize(const char *name) fCellMatchdPhi[j] = -999; } - fDigitsArr = new TClonesArray("AliEMCALDigit",200); - fClusterArr = new TObjArray(100); - fCaloClusterArr = new TObjArray(1000); + fDigitsArr = new TClonesArray("AliEMCALDigit",12000); + fClusterArr = new TObjArray(10000); + fCaloClusterArr = new TObjArray(10000); fRecParam = new AliEMCALRecParam; fBranchNames = "ESD:AliESDHeader.,EMCALCells."; fRecoUtils = new AliEMCALRecoUtils(); @@ -136,9 +135,9 @@ AliAnalysisTaskEMCALClusterize::AliAnalysisTaskEMCALClusterize() fCellMatchdEta[j] = -999; fCellMatchdPhi[j] = -999; } - fDigitsArr = new TClonesArray("AliEMCALDigit",200); - fClusterArr = new TObjArray(100); - fCaloClusterArr = new TObjArray(100); + fDigitsArr = new TClonesArray("AliEMCALDigit",12000); + fClusterArr = new TObjArray(10000); + fCaloClusterArr = new TObjArray(10000); fRecParam = new AliEMCALRecParam; fBranchNames = "ESD:AliESDHeader.,EMCALCells."; fRecoUtils = new AliEMCALRecoUtils(); -- 2.43.5