]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDDDLRawData.h
Version where the process for HLT and vdrift on DAQ are off(Raphaelle)
[u/mrichter/AliRoot.git] / PMD / AliPMDDDLRawData.h
index 4af39f622d608aacedc9d74799df203bed07ad8d..f3003e5f1bf0e0ca5719af9fc926d6166865f52d 100644 (file)
 
 class TClonesArray;
 class TTree;
-
+class AliPMDddlinfoData;
+class AliPMDMappingData;
 class AliPMDdigit;
+class AliCDBManager;
+class AliCDBStorage;
+class AliCDBEntry;
 
 class AliPMDDDLRawData:public TObject
 {
@@ -31,22 +35,33 @@ class AliPMDDDLRawData:public TObject
   void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ddlno,
                       Int_t *contentsBus, UInt_t busPatch[][1536]);
   void TransformS2H(Int_t smn, Int_t &irow, Int_t &icol);
-  void GetMCMCh(Int_t ddlno, Int_t smn, Int_t row, Int_t col,
+  void GetMCMCh(Int_t imodule, Int_t row, Int_t col,
                Int_t beginPatchBus, Int_t endPatchBus,
                Int_t *mcmperBus,
                Int_t *startRowBus, Int_t *startColBus,
                Int_t *endRowBus, Int_t *endColBus,
                Int_t & busno, UInt_t &mcmno, UInt_t &chno);
+  void DdlMapping(Int_t iddl, Int_t imodule,
+                 Int_t &beginPatchBus, Int_t &endPatchBus,
+                 Int_t patchBusNo[], Int_t mcmperBus[],
+                 Int_t startRowBus[], Int_t endRowBus[],
+                 Int_t startColBus[], Int_t endColBus[]);
+
+
+  AliPMDddlinfoData  *GetDdlinfoData() const;
+  AliPMDMappingData  *GetMappingData() const;
 
-//  void  ChMap(Int_t ddlno, Int_t smn, UInt_t iCh[][4]);
 
  protected:
 
-  Int_t ComputeParity(UInt_t baseword);
+  AliPMDddlinfoData  *fDdlinfo;    //! ddl info data
+  AliPMDMappingData  *fMapData;    //! Mapping data
+
+  UInt_t ComputeParity(UInt_t baseword);
 
   TClonesArray *fDigits;    //! List of digits
 
-  ClassDef(AliPMDDDLRawData,8)    // To make RAW Data
+  ClassDef(AliPMDDDLRawData,11)    // To make RAW Data
 };
 #endif