]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUON.cxx
New class that is used by SPD-MOOD to retrieve information on consistency errors...
[u/mrichter/AliRoot.git] / MUON / AliMUON.cxx
index e7b6cdae40377c9def57f6d9e160c5496091635e..e5acd4ed93467d2fa15de704721a9a2f9bc84ec9 100644 (file)
 
 /* $Id$ */
 
-// ------------------
+//-----------------------------------------------------------------------------
 // Class AliMUON
 // ------------------
 // AliDetector class for MUON subsystem 
 // providing simulation data management 
+//-----------------------------------------------------------------------------
 
 #include "Riostream.h"
 
@@ -118,7 +119,8 @@ AliMUON::AliMUON()
     fDigitizerWithNoise(1),
     fRawWriter(0x0),
     fDigitMaker(0x0),
-    fHitStore(0x0)
+    fHitStore(0x0),
+  fDigitStoreConcreteClassName()
 {
 /// Default Constructor
     
@@ -150,7 +152,8 @@ AliMUON::AliMUON(const char *name, const char* title)
     fDigitizerWithNoise(1),
     fRawWriter(0x0),
     fDigitMaker(new AliMUONDigitMaker),
-    fHitStore(0x0)
+    fHitStore(0x0),
+  fDigitStoreConcreteClassName("AliMUONDigitStoreV2S")
 {
 /// Standard constructor  
   
@@ -610,3 +613,15 @@ Int_t  AliMUON::GetDigitizerWithNoise() const
     
 }  
 
+//____________________________________________________________________
+void AliMUON::SetFastDecoder(Bool_t useFastDecoder)
+{
+/// Set fast raw data decoder 
+
+  if ( ! fDigitMaker ) {
+    AliError("Digit maker is not instantiated.");
+    return;
+  }   
+
+  fDigitMaker->SetFastDecoder(useFastDecoder);
+}