Create the rec-point branch even in the case of no digits. Please review and fix...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 May 2008 14:26:29 +0000 (14:26 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 May 2008 14:26:29 +0000 (14:26 +0000)
EMCAL/AliEMCALReconstructor.cxx

index 6f7795a..7a1c971 100644 (file)
@@ -144,10 +144,11 @@ void AliEMCALReconstructor::Reconstruct(TTree* digitsTree, TTree* clustersTree)
 
   ReadDigitsArrayFromTree(digitsTree);
 
+  fgClusterizer->SetOutput(clustersTree);
+
   if(fgDigitsArr && fgDigitsArr->GetEntries()) {
 
     fgClusterizer->SetInput(digitsTree);
-    fgClusterizer->SetOutput(clustersTree);
     
     if(Debug())
       fgClusterizer->Digits2Clusters("deb all") ;