28328eeb |
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 | // // |
95ec17e6 |
7 | // Header File : AliPMDDDLRawData.h, Version 01 // |
28328eeb |
8 | // // |
95ec17e6 |
9 | // Date : June 20 2006 // |
28328eeb |
10 | // // |
11 | //-----------------------------------------------------// |
12 | |
6deb0df1 |
13 | #include <TObject.h> |
28328eeb |
14 | |
15 | class TClonesArray; |
28328eeb |
16 | class TTree; |
28328eeb |
17 | |
18 | class AliPMDdigit; |
19 | |
20 | class AliPMDDDLRawData:public TObject |
21 | { |
22 | public: |
23 | |
24 | AliPMDDDLRawData(); |
a48edddd |
25 | AliPMDDDLRawData (const AliPMDDDLRawData &ddlraw); // copy constructor |
26 | AliPMDDDLRawData &operator=(const AliPMDDDLRawData &ddlraw); // assignment op |
27 | |
28328eeb |
28 | virtual ~AliPMDDDLRawData(); |
29 | |
a4e4efaa |
30 | void WritePMDRawData(TTree *treeD); |
95ec17e6 |
31 | void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ddlno, |
32 | Int_t *contentsBus, UInt_t busPatch[][1536]); |
e54787da |
33 | void TransformS2H(Int_t smn, Int_t &irow, Int_t &icol); |
95ec17e6 |
34 | void GetMCMCh(Int_t ddlno, Int_t row, Int_t col, |
35 | Int_t beginPatchBus, Int_t endPatchBus, |
36 | Int_t *mcmperBus, |
37 | Int_t *startRowBus, Int_t *startColBus, |
38 | Int_t *endRowBus, Int_t *endColBus, |
39 | Int_t & busno, UInt_t &mcmno, UInt_t &chno); |
28328eeb |
40 | |
a98f9d26 |
41 | |
28328eeb |
42 | protected: |
43 | |
a98f9d26 |
44 | Int_t ComputeParity(UInt_t baseword); |
45 | |
28328eeb |
46 | TClonesArray *fDigits; //! List of digits |
28328eeb |
47 | |
a98f9d26 |
48 | ClassDef(AliPMDDDLRawData,7) // To make RAW Data |
28328eeb |
49 | }; |
50 | #endif |
51 | |