Write trigger digits if SAVEDIGITS activated (Bogdan)
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstructor.cxx
index f4b1789a72050105da06f62439ef1957d2c63b8a..59f0c1e5de01f49472c3be3d78e281ec506ca660 100644 (file)
@@ -281,6 +281,11 @@ AliMUONReconstructor::CreateDigitMaker() const
     useFastDecoder = kTRUE;
   }
   fDigitMaker = new AliMUONDigitMaker(enableErrorLogging, useFastDecoder);
+  option.ToUpper();
+  if ( option.Contains("SAVEDIGITS" ))
+    {
+      fDigitMaker->SetMakeTriggerDigits(kTRUE);
+    }
 }
 
 //_____________________________________________________________________________