]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRawWriter.h
Fixing compiler warnings
[u/mrichter/AliRoot.git] / MUON / AliMUONRawWriter.h
index 3358813db869ee67f308dbd31cad1b826c31c0c7..006766f7da4374f18d9e78b57a0bb60e58cf3843 100644 (file)
@@ -12,7 +12,6 @@
 //  Author Christian Finck and Laurent Aphecetche, Subatech
 
 #include <TObject.h>
-#include "AliRawDataHeader.h"
 #include "AliFstream.h"
 
 class AliMUONBlockHeader;
@@ -27,6 +26,7 @@ class AliMUONVDigitStore;
 class AliMUONVTriggerStore;
 class AliMpDDLStore;
 class AliMpExMap;
+class AliRawDataHeaderSim;
 
 class AliMUONRawWriter : public TObject 
 {
@@ -39,6 +39,9 @@ class AliMUONRawWriter : public TObject
   
   void SetScalersNumbers();
 
+  /// Set the header of DDL
+  void SetHeader(AliRawDataHeaderSim& header) {fHeader = &header;}
+
 private:
 
   void Digits2BusPatchMap(const AliMUONVDigitStore& digitStore, AliMpExMap& busPatchMap);
@@ -70,12 +73,12 @@ private:
 
   Bool_t fScalerEvent;               ///< flag to generates scaler event
 
-  AliRawDataHeader    fHeader;           ///< header of DDL
+  AliRawDataHeaderSim*    fHeader;           ///< header of DDL
   
   Int_t fBufferSize; //!< size of internal data buffer
   Int_t* fBuffer; //!< internal data buffer
 
-  ClassDef(AliMUONRawWriter,4) // MUON cluster reconstructor in ALICE
+  ClassDef(AliMUONRawWriter,5) // MUON cluster reconstructor in ALICE
 };
        
 #endif