]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDRawStream.h
link HLTbase to XMLParser library in order to meet new dependencies
[u/mrichter/AliRoot.git] / PMD / AliPMDRawStream.h
index 2d9f42c2cae5a65caf986925aa09d1f692627d40..83213eb82d747be972e9a2f09cb0c0da8a6b738e 100644 (file)
@@ -21,7 +21,7 @@ class AliPMDRawStream: public TObject {
     AliPMDRawStream(AliRawReader* rawReader);
     virtual ~AliPMDRawStream();
 
-    Bool_t DdlData(Int_t indexDDL, TObjArray *pmdddlcont);
+    Int_t DdlData(TObjArray *pmdddlcont);
 
     enum {kDDLOffset = 0xC00};      // offset for DDL numbers
 
@@ -35,7 +35,7 @@ class AliPMDRawStream: public TObject {
     AliPMDRawStream(const AliPMDRawStream& stream);
     AliPMDRawStream& operator = (const AliPMDRawStream& stream);
 
-    void             GetRowCol(Int_t ddlno, Int_t smn, Int_t pbusid, 
+    void             GetRowCol(Int_t imodule, Int_t pbusid, 
                               UInt_t mcmno, UInt_t chno,
                               Int_t startRowBus[], Int_t endRowBus[],
                               Int_t startColBus[], Int_t endColBus[],
@@ -43,12 +43,38 @@ class AliPMDRawStream: public TObject {
     void             ConvertDDL2SMN(Int_t iddl, Int_t imodule,
                                    Int_t &smn, Int_t &detector) const;
     void             TransformH2S(Int_t smn, Int_t &row, Int_t &col) const;
-    int              ComputeParity(Int_t data);
+    Int_t            ComputeParity(UInt_t data1);
+    UInt_t           GetNextWord();
+    void             Ddl0Mapping(Int_t modulePerDDL,
+                                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[],
+                                Int_t startRowBus[], Int_t endRowBus[],
+                                Int_t startColBus[], Int_t endColBus[]);
+    void             Ddl2Mapping(Int_t modulePerDDL,
+                                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[],
+                                Int_t startRowBus[], Int_t endRowBus[],
+                                Int_t startColBus[], Int_t endColBus[]);
+    void             Ddl4Mapping(Int_t modulePerDDL,
+                                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[],
+                                Int_t startRowBus[], Int_t endRowBus[],
+                                Int_t startColBus[], Int_t endColBus[]);
 
     AliRawReader*    fRawReader;    // object for reading the raw data
+    UChar_t*         fData;         // pointer to the data
+    Int_t            fPosition;
 
-
-    ClassDef(AliPMDRawStream, 4)    // class for reading PMD raw digits
+    ClassDef(AliPMDRawStream, 7)    // class for reading PMD raw digits
 };
 
 #endif