]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDDDLRawData.h
New split libs
[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// //
7// Header File : PMDDigitization.h, Version 00 //
8// //
9// Date : September 20 2002 //
10// //
11//-----------------------------------------------------//
12
13
14class TClonesArray;
15class TFile;
16class TTree;
17class TBranch;
18class TMath;
19
20class AliLoader;
21class AliRunLoader;
22
23class AliPMDdigit;
24
25class AliPMDDDLRawData:public TObject
26{
27 public:
28
29 AliPMDDDLRawData();
30 virtual ~AliPMDDDLRawData();
31
32 void WritePMDRawData(TTree *treeD, Int_t evtno);
33 void ReadPMDRawData(Int_t evtno);
34 void GetUMDigitsData(TTree *treeD, Int_t imodule, Int_t ium, Int_t ddlno,
35 Int_t & totword, UInt_t *buffer);
36 void GetMCMCh(Int_t ddlno, Int_t um, Int_t row, Int_t col,
37 UInt_t &mcmno, UInt_t &chno);
38 void GetRowCol(Int_t ddlno, UInt_t mcmno, UInt_t chno,
39 Int_t &um, Int_t &row, Int_t &col);
40 void PackWord(UInt_t startbit, UInt_t stopbit, UInt_t dataword,
41 UInt_t &packedword);
42 void UnpackWord(UInt_t startbit, UInt_t stopbit, UInt_t &dataword,
43 UInt_t packedword);
44
45
46 protected:
47
48 TClonesArray *fDigits; //! List of digits
49 AliPMDdigit *fPMDdigit; //! Pointer to digits
50
51 ClassDef(AliPMDDDLRawData,1) // To make RAW Data
52};
53#endif
54