]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCDigitReader32Bit.h
Fixed a bug in the Digit reader, moved clusterfinder to initialize from OCDB, Added...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCDigitReader32Bit.h
CommitLineData
d9a0c52c 1// XEmacs -*-C++-*-
2
3#ifndef ALIHLTTPCDIGITREADER32BIT_H
4#define ALIHLTTPCDIGITREADER32BIT_H
5
6//* This file is property of and copyright by the ALICE HLT Project *
7//* ALICE Experiment at CERN, All rights reserved. *
8//* See cxx source for full Copyright notice */
9
10/** @file AliHLTTPCDigitReader32Bit.h
11 @author Kenneth Aamodt, Matthias Richter
12 @date
13 @brief DigitReader for the 32 bit offline decoder
14*/
15
16#include "AliHLTTPCDigitReader.h"
d9a0c52c 17
18class AliTPCRawStream;
19class AliRawReaderMemory;
20class AliRawReader;
21class AliAltroRawStreamV3;
22class AliHLTTPCMapping;
23
24/**
25 * @class AliHLTTPCDigitReader32Bit
26 * Digit reader implementation for 32 bit altro format using the offline AliAltroRawStreamV3 class.
27 *
28 * @ingroup alihlt_tpc
29 */
30class AliHLTTPCDigitReader32Bit : public AliHLTTPCDigitReader {
31public:
32 /** standard constructor
33 */
34 AliHLTTPCDigitReader32Bit();
35 /** destructor */
36 virtual ~AliHLTTPCDigitReader32Bit();
37
38 // interface functions
39 int InitBlock(void* ptr,unsigned long size, Int_t patch, Int_t slice);
40 int Reset();
41 void SetUnsorted(bool unsorted);
42 bool NextChannel();
43 int NextBunch();
44 int GetRow();
45 int GetPad();
46 int GetSignal();
47 const UInt_t* GetSignals();
48 const UShort_t* GetSignalsShort();
49 int GetTime();
50 int GetBunchSize();
51 int GetRowOffset() const;
52 AliHLTUInt32_t GetAltroBlockHWaddr() const;
53 AliHLTUInt32_t GetAltroBlockHWaddr(Int_t row, Int_t pad) const;
54 int GetRCUTrailerSize();
55 bool GetRCUTrailerData(UChar_t*& trData);
56
57protected:
58 bool NextSignal();
59
60private:
61 /** copy constructor prohibited */
62 AliHLTTPCDigitReader32Bit(const AliHLTTPCDigitReader32Bit&);
63 /** assignment operator prohibited */
64 AliHLTTPCDigitReader32Bit& operator=(const AliHLTTPCDigitReader32Bit&);
65
66 AliRawReader* fRawReader; //! transient
67 AliRawReaderMemory* fRawReaderMemory; //! transient
68
69 AliAltroRawStreamV3 * fAltroRawStreamV3; //! transient
70
71 AliHLTTPCMapping *fMapping; //! transient
4f43db26 72
73 Bool_t fSkipDataReadingFlag; //! transient
d9a0c52c 74
4f43db26 75 ClassDef(AliHLTTPCDigitReader32Bit, 1)
d9a0c52c 76
77};
78#endif
79