Create the rec-point branch even in the case of no digits. Please review and fix...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALReconstructor.cxx
index 6f7795ae494c3c96fc57784d97ae42478e9fc801..7a1c97154e4383fc7a17f3ca2786c271985e8ffd 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") ;