]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDRawStream.h
Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / PMD / AliPMDRawStream.h
index 83213eb82d747be972e9a2f09cb0c0da8a6b738e..7c87ff6be40daf91c43367445ffcda8c9d282308 100644 (file)
 #include <TObject.h>
 
 class AliRawReader;
+class AliCDBManager;
+class AliCDBStorage;
+class AliCDBEntry;
+class AliPMDMappingData;
 
 
 class AliPMDRawStream: public TObject {
@@ -45,36 +49,34 @@ class AliPMDRawStream: public TObject {
     void             TransformH2S(Int_t smn, Int_t &row, Int_t &col) const;
     Int_t            ComputeParity(UInt_t data1);
     UInt_t           GetNextWord();
-    void             Ddl0Mapping(Int_t modulePerDDL,
-                                Int_t moduleNo[],    Int_t mcmperBus[],
+    void             Ddl0Mapping(Int_t moduleNo[],    Int_t mcmperBus[],
                                 Int_t startRowBus[], Int_t endRowBus[],
                                 Int_t startColBus[], Int_t endColBus[]);
-    void             Ddl1Mapping(Int_t modulePerDDL,
-                                Int_t moduleNo[],    Int_t mcmperBus[],
+    void             Ddl1Mapping(Int_t moduleNo[],    Int_t mcmperBus[],
                                 Int_t startRowBus[], Int_t endRowBus[],
                                 Int_t startColBus[], Int_t endColBus[]);
-    void             Ddl2Mapping(Int_t modulePerDDL,
-                                Int_t moduleNo[],    Int_t mcmperBus[],
+    void             Ddl2Mapping(Int_t moduleNo[],    Int_t mcmperBus[],
                                 Int_t startRowBus[], Int_t endRowBus[],
                                 Int_t startColBus[], Int_t endColBus[]);
-    void             Ddl3Mapping(Int_t modulePerDDL,
-                                Int_t moduleNo[],    Int_t mcmperBus[],
+    void             Ddl3Mapping(Int_t moduleNo[],    Int_t mcmperBus[],
                                 Int_t startRowBus[], Int_t endRowBus[],
                                 Int_t startColBus[], Int_t endColBus[]);
-    void             Ddl4Mapping(Int_t modulePerDDL,
-                                Int_t moduleNo[],    Int_t mcmperBus[],
+    void             Ddl4Mapping(Int_t moduleNo[],    Int_t mcmperBus[],
                                 Int_t startRowBus[], Int_t endRowBus[],
                                 Int_t startColBus[], Int_t endColBus[]);
-    void             Ddl5Mapping(Int_t modulePerDDL,
-                                Int_t moduleNo[],    Int_t mcmperBus[],
+    void             Ddl5Mapping(Int_t moduleNo[],    Int_t mcmperBus[],
                                 Int_t startRowBus[], Int_t endRowBus[],
                                 Int_t startColBus[], Int_t endColBus[]);
 
+    AliPMDMappingData *GetMappingData() const;
+
     AliRawReader*    fRawReader;    // object for reading the raw data
     UChar_t*         fData;         // pointer to the data
     Int_t            fPosition;
 
-    ClassDef(AliPMDRawStream, 7)    // class for reading PMD raw digits
+    AliPMDMappingData  *fMapData;   //! Mapping data
+
+    ClassDef(AliPMDRawStream, 8)    // class for reading PMD raw digits
 };
 
 #endif