1 #ifndef ALIPMDDDLRAWDATA_H
2 #define ALIPMDDDLRAWDATA_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 //-----------------------------------------------------//
7 // Header File : AliPMDDDLRawData.h, Version 01 //
9 // Date : June 20 2006 //
11 //-----------------------------------------------------//
17 class AliPMDddlinfoData;
18 class AliPMDMappingData;
24 class AliPMDDDLRawData:public TObject
29 AliPMDDDLRawData (const AliPMDDDLRawData &ddlraw); // copy constructor
30 AliPMDDDLRawData &operator=(const AliPMDDDLRawData &ddlraw); // assignment op
32 virtual ~AliPMDDDLRawData();
34 void WritePMDRawData(TTree *treeD);
35 void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ddlno,
36 Int_t *contentsBus, UInt_t busPatch[][1536]);
37 void TransformS2H(Int_t smn, Int_t &irow, Int_t &icol);
38 void GetMCMCh(Int_t imodule, Int_t row, Int_t col,
39 Int_t beginPatchBus, Int_t endPatchBus,
41 Int_t *startRowBus, Int_t *startColBus,
42 Int_t *endRowBus, Int_t *endColBus,
43 Int_t & busno, UInt_t &mcmno, UInt_t &chno);
44 void DdlMapping(Int_t iddl, Int_t imodule,
45 Int_t &beginPatchBus, Int_t &endPatchBus,
46 Int_t patchBusNo[], Int_t mcmperBus[],
47 Int_t startRowBus[], Int_t endRowBus[],
48 Int_t startColBus[], Int_t endColBus[]);
51 AliPMDddlinfoData *GetDdlinfoData() const;
52 AliPMDMappingData *GetMappingData() const;
57 AliPMDddlinfoData *fDdlinfo; //! ddl info data
58 AliPMDMappingData *fMapData; //! Mapping data
60 UInt_t ComputeParity(UInt_t baseword);
62 TClonesArray *fDigits; //! List of digits
64 ClassDef(AliPMDDDLRawData,11) // To make RAW Data