Fix for #85555: Trigger.root invalidated in AliSimulation
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Aug 2011 11:46:22 +0000 (11:46 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Aug 2011 11:46:22 +0000 (11:46 +0000)
STEER/STEER/AliSimulation.cxx

index 0c6ab5b..2463083 100644 (file)
@@ -715,7 +715,7 @@ Bool_t AliSimulation::Run(Int_t nEvents)
   
   
   // digits -> trigger
-  if (!RunTrigger(fTriggerConfig,fMakeDigits)) {
+  if (!fTriggerConfig.IsNull() && !RunTrigger(fTriggerConfig,fMakeDigits)) {
     if (fStopOnError) return kFALSE;
   }