Write trigger digits if SAVEDIGITS activated (Bogdan)
authorpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Mar 2008 13:30:23 +0000 (13:30 +0000)
committerpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Mar 2008 13:30:23 +0000 (13:30 +0000)
MUON/AliMUONReconstructor.cxx

index f4b1789..59f0c1e 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);
+    }
 }
 
 //_____________________________________________________________________________