X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PMD%2FAliPMDDDLRawData.h;h=f3003e5f1bf0e0ca5719af9fc926d6166865f52d;hb=f564dd5a1c8891dcbf1537a0064343a362fc624a;hp=51f86a6dfe15ae32a7db5e2b5b554393e89a8c1f;hpb=cff75ba76cb314d6dd19e80384ae876b56296cfb;p=u%2Fmrichter%2FAliRoot.git diff --git a/PMD/AliPMDDDLRawData.h b/PMD/AliPMDDDLRawData.h index 51f86a6dfe1..f3003e5f1bf 100644 --- a/PMD/AliPMDDDLRawData.h +++ b/PMD/AliPMDDDLRawData.h @@ -4,44 +4,64 @@ * See cxx source for full Copyright notice */ //-----------------------------------------------------// // // -// Header File : PMDDigitization.h, Version 00 // +// Header File : AliPMDDDLRawData.h, Version 01 // // // -// Date : September 20 2002 // +// Date : June 20 2006 // // // //-----------------------------------------------------// +#include class TClonesArray; -class TFile; class TTree; -class TBranch; -class TMath; - -class AliLoader; -class AliRunLoader; - +class AliPMDddlinfoData; +class AliPMDMappingData; class AliPMDdigit; +class AliCDBManager; +class AliCDBStorage; +class AliCDBEntry; class AliPMDDDLRawData:public TObject { public: AliPMDDDLRawData(); + AliPMDDDLRawData (const AliPMDDDLRawData &ddlraw); // copy constructor + AliPMDDDLRawData &operator=(const AliPMDDDLRawData &ddlraw); // assignment op + virtual ~AliPMDDDLRawData(); void WritePMDRawData(TTree *treeD); - void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ium, Int_t ddlno, - Int_t & totword, UInt_t *buffer); - void GetMCMCh(Int_t ddlno, Int_t um, Int_t row, Int_t col, - UInt_t &mcmno, UInt_t &chno); + 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 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; protected: + AliPMDddlinfoData *fDdlinfo; //! ddl info data + AliPMDMappingData *fMapData; //! Mapping data + + UInt_t ComputeParity(UInt_t baseword); + TClonesArray *fDigits; //! List of digits - AliPMDdigit *fPMDdigit; //! Pointer to digits - ClassDef(AliPMDDDLRawData,2) // To make RAW Data + ClassDef(AliPMDDDLRawData,11) // To make RAW Data }; #endif