]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Protection against a zero pointer to a non-existing T0 reconstructor (Silvia)
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2007 17:42:29 +0000 (17:42 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2007 17:42:29 +0000 (17:42 +0000)
STEER/AliReconstruction.cxx

index 62fbd87c3fcdddf5e2906e4f255c23dbef315f9c..95520240c1f3eaf6485221184869358f68ba5173 100644 (file)
@@ -1182,7 +1182,8 @@ Bool_t AliReconstruction::RunTracking(AliESD*& esd)
   AliInfo("running tracking");
 
   //Fill the ESD with the T0 info (will be used by the TOF) 
-  GetReconstructor(11)->FillESD(fRunLoader, esd);
+  if (fReconstructor[11])
+      GetReconstructor(11)->FillESD(fRunLoader, esd);
 
   // pass 1: TPC + ITS inwards
   for (Int_t iDet = 1; iDet >= 0; iDet--) {