]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Increase default size of ObjArray to avoid crash in PbPb data
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Jan 2012 14:52:46 +0000 (14:52 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Jan 2012 14:52:46 +0000 (14:52 +0000)
PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx

index 0cd35128e8b935cf349529342c7027e7481d82f9..84051e9b57bf1002bbf14416a32f650f14bf9f42 100644 (file)
@@ -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();