]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONreco.C
Protection against nonexisting input tree
[u/mrichter/AliRoot.git] / MUON / MUONreco.C
index 802d15d304efb04d4407fb0940e56b3d38bc2d76..cbe7db48fc3e49770f034ee40daaf48dc09ca020 100644 (file)
@@ -65,6 +65,8 @@ void MUONreco (Int_t FirstEvent = 0, Int_t LastEvent = 0, Int_t RecGeantHits = 0
       if (Reco->GetBkgGeantFile())Reco->NextBkgGeantEvent();
     }
     Reco->EventReconstruct();
+    // Write this event in a tree
+    Reco->FillEvent();
     // Dump current event
     Reco->EventDump();
   } // Event loop