Correcting the comments changed in the previous commit
[u/mrichter/AliRoot.git] / PMD / AliPMDDDLRawData.h
CommitLineData
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
15class TClonesArray;
28328eeb 16class TTree;
ab0cde47 17class AliPMDddlinfoData;
18class AliPMDMappingData;
28328eeb 19class AliPMDdigit;
ab0cde47 20class AliCDBManager;
21class AliCDBStorage;
22class AliCDBEntry;
28328eeb 23
24class AliPMDDDLRawData:public TObject
25{
26 public:
27
28 AliPMDDDLRawData();
a48edddd 29 AliPMDDDLRawData (const AliPMDDDLRawData &ddlraw); // copy constructor
30 AliPMDDDLRawData &operator=(const AliPMDDDLRawData &ddlraw); // assignment op
31
28328eeb 32 virtual ~AliPMDDDLRawData();
33
a4e4efaa 34 void WritePMDRawData(TTree *treeD);
95ec17e6 35 void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ddlno,
ab0cde47 36 Int_t *contentsBus, UInt_t busPatch[][1536]);
e54787da 37 void TransformS2H(Int_t smn, Int_t &irow, Int_t &icol);
08cf9354 38 void GetMCMCh(Int_t imodule, Int_t row, Int_t col,
95ec17e6 39 Int_t beginPatchBus, Int_t endPatchBus,
40 Int_t *mcmperBus,
41 Int_t *startRowBus, Int_t *startColBus,
42 Int_t *endRowBus, Int_t *endColBus,
43 Int_t & busno, UInt_t &mcmno, UInt_t &chno);
ab0cde47 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[]);
49
50
51 AliPMDddlinfoData *GetDdlinfoData() const;
52 AliPMDMappingData *GetMappingData() const;
53
28328eeb 54
55 protected:
56
ab0cde47 57 AliPMDddlinfoData *fDdlinfo; //! ddl info data
58 AliPMDMappingData *fMapData; //! Mapping data
59
f564dd5a 60 UInt_t ComputeParity(UInt_t baseword);
a98f9d26 61
28328eeb 62 TClonesArray *fDigits; //! List of digits
28328eeb 63
f564dd5a 64 ClassDef(AliPMDDDLRawData,11) // To make RAW Data
28328eeb 65};
66#endif
67