PMD new raw data writer
[u/mrichter/AliRoot.git] / PMD / AliPMDDDLRawData.h
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 //-----------------------------------------------------//
6 //                                                     //
7 //  Header File : AliPMDDDLRawData.h, Version 01       //
8 //                                                     //
9 //  Date   : June 20 2006                              //
10 //                                                     //
11 //-----------------------------------------------------//
12
13 #include <TObject.h>
14
15 class TClonesArray;
16 class TTree;
17
18 class AliPMDdigit;
19
20 class AliPMDDDLRawData:public TObject
21 {
22  public:
23
24   AliPMDDDLRawData();
25   virtual ~AliPMDDDLRawData();
26
27   void WritePMDRawData(TTree *treeD);
28   void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ddlno,
29                        Int_t *contentsBus, UInt_t busPatch[][1536]);
30   void TransformS2H(Int_t smn, Int_t &irow, Int_t &icol);
31   void GetMCMCh(Int_t ddlno, Int_t row, Int_t col,
32                 Int_t beginPatchBus, Int_t endPatchBus,
33                 Int_t *mcmperBus,
34                 Int_t *startRowBus, Int_t *startColBus,
35                 Int_t *endRowBus, Int_t *endColBus,
36                 Int_t & busno, UInt_t &mcmno, UInt_t &chno);
37
38  protected:
39
40   TClonesArray *fDigits;    //! List of digits
41   AliPMDdigit  *fPMDdigit;  //! Pointer to digits
42
43   ClassDef(AliPMDDDLRawData,4)    // To make RAW Data
44 };
45 #endif
46