]>
Commit | Line | Data |
---|---|---|
f8121cb1 | 1 | // XEmacs -*-C++-*- |
2 | // @(#) $Id: AliHLTTPCDigitReaderDecoder.h,v 1.9 2007/11/28 21:29:24 richterm Exp $ | |
3 | ||
4 | #ifndef ALIHLTTPCDIGITREADERDECODER_H | |
5 | #define ALIHLTTPCDIGITREADERDECODER_H | |
6 | ||
7 | //* This file is property of and copyright by the ALICE HLT Project * | |
8 | //* ALICE Experiment at CERN, All rights reserved. * | |
9 | //* See cxx source for full Copyright notice */ | |
10 | ||
11 | /** @file AliHLTTPCDigitReaderDecoder.h | |
12 | @author Kenneth Aamodt, Matthias Richter | |
13 | @date | |
14 | @brief DigitReader for the fast ALTRO Decoder | |
15 | */ | |
16 | ||
17 | // see below for class documentation | |
18 | // or | |
19 | // refer to README to build package | |
20 | // or | |
21 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
22 | ||
23 | #include "AliHLTTPCDigitReader.h" | |
24 | ||
25 | /** | |
26 | * @class AliHLTTPCDigitReaderDecoder | |
27 | * @ingroup alihlt_tpc | |
28 | */ | |
29 | class AliHLTTPCDigitReaderDecoder : public AliHLTTPCDigitReader { | |
30 | public: | |
31 | /** standard constructor | |
32 | */ | |
33 | AliHLTTPCDigitReaderDecoder(); | |
34 | /** destructor */ | |
35 | virtual ~AliHLTTPCDigitReaderDecoder(); | |
36 | ||
37 | // interface functions | |
38 | int InitBlock(void* ptr,unsigned long size, Int_t patch, Int_t slice); | |
39 | bool NextChannel(); | |
40 | int NextBunch(); | |
41 | int GetRow(); | |
42 | int GetPad(); | |
43 | int GetSignal(); | |
44 | AliHLTUInt32_t* GetSignals(); | |
45 | int GetTime(); | |
46 | ||
47 | protected: | |
48 | bool NextSignal(); | |
49 | ||
50 | private: | |
51 | ||
52 | ClassDef(AliHLTTPCDigitReaderDecoder, 0) | |
53 | ||
54 | }; | |
55 | #endif | |
56 |