]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUON.cxx
Update of HP decoders:
[u/mrichter/AliRoot.git] / MUON / AliMUON.cxx
index b1ccdefd5fa0fcd7cef2e96cb44586bbf1f86967..a6765b48194c4be02f5d4dd1318eb2362a9d2004 100644 (file)
@@ -620,14 +620,54 @@ Int_t  AliMUON::GetDigitizerWithNoise() const
 }  
 
 //____________________________________________________________________
-void AliMUON::SetFastDecoder(Bool_t useFastDecoder)
+Bool_t AliMUON::UsingFastTrackerDecoder() const
+{
+/// Checks to see if we are using the fast decoder for tracker DDL streams.
+
+  if ( ! fDigitMaker ) {
+    AliError("Digit maker is not instantiated.");
+    return kFALSE;
+  }
+  
+  return fDigitMaker->UsingFastTrackerDecoder();
+}
+
+//____________________________________________________________________
+Bool_t AliMUON::UsingFastTriggerDecoder() const
+{
+/// Checks to see if we are using the fast decoder for trigger DDL streams.
+
+  if ( ! fDigitMaker ) {
+    AliError("Digit maker is not instantiated.");
+    return kFALSE;
+  }
+  
+  return fDigitMaker->UsingFastTriggerDecoder();
+}
+
+//____________________________________________________________________
+void AliMUON::SetFastTrackerDecoder(Bool_t useFastDecoder)
 {
 /// Set fast raw data decoder 
 
   if ( ! fDigitMaker ) {
     AliError("Digit maker is not instantiated.");
     return;
-  }   
+  }
+
+  fDigitMaker->SetFastTrackerDecoder(useFastDecoder);
+}
+
+//____________________________________________________________________
+void AliMUON::SetFastTriggerDecoder(Bool_t useFastDecoder)
+{
+/// Set fast raw data decoder 
+
+  if ( ! fDigitMaker ) {
+    AliError("Digit maker is not instantiated.");
+    return;
+  }
+
+  fDigitMaker->SetFastTriggerDecoder(useFastDecoder);
+}
 
-  fDigitMaker->SetFastDecoder(useFastDecoder);
-}