]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Protection against pathiological situations in which the T0 reconstructor is instanti...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Nov 2008 13:25:58 +0000 (13:25 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Nov 2008 13:25:58 +0000 (13:25 +0000)
STEER/AliReconstruction.cxx

index e64527ba507786bedfe1ec95babc752b0d3d7d58..83ba33dd00289783308fe7ff192b3814e1cde288 100644 (file)
@@ -2153,7 +2153,9 @@ Bool_t AliReconstruction::RunTracking(AliESDEvent*& esd)
   if (fReconstructor[11] && fLoader[11]) {
     fLoader[11]->LoadRecPoints("READ");
     TTree *treeR = fLoader[11]->TreeR();
-    GetReconstructor(11)->FillESD((TTree *)NULL,treeR,esd);
+    if (treeR) {
+      GetReconstructor(11)->FillESD((TTree *)NULL,treeR,esd);
+    }
   }
 
   // pass 1: TPC + ITS inwards