]>
Commit | Line | Data |
---|---|---|
a38a7850 | 1 | // XEmacs -*-C++-*- |
2 | // @(#) $Id$ | |
3 | ||
4 | #ifndef ALIHLTTPCDIGITREADERPACKED_H | |
5 | #define ALIHLTTPCDIGITREADERPACKED_H | |
6 | ||
7 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
8 | * See cxx source for full Copyright notice */ | |
9 | ||
10 | /* AliHLTTPCDigitReaderPacked | |
11 | */ | |
12 | ||
74c73e5a | 13 | #include "AliHLTLogging.h" |
a38a7850 | 14 | #include "AliHLTTPCDigitReader.h" |
15 | ||
74c73e5a | 16 | #if defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H) |
17 | ||
a38a7850 | 18 | class AliRawReaderMemory; |
19 | class AliTPCRawStream; | |
20 | ||
21 | class AliHLTTPCDigitReaderPacked : public AliHLTTPCDigitReader{ | |
22 | public: | |
23 | AliHLTTPCDigitReaderPacked(); | |
24 | virtual ~AliHLTTPCDigitReaderPacked(); | |
25 | ||
26 | int InitBlock(void* ptr,unsigned long size, Int_t firstrow, Int_t lastrow); | |
27 | bool Next(); | |
28 | int GetRow(); | |
29 | int GetPad(); | |
30 | int GetSignal(); | |
31 | int GetTime(); | |
32 | ||
33 | protected: | |
34 | ||
35 | private: | |
36 | // Initialize AliROOT TPC raw stream parsing class | |
37 | AliRawReaderMemory *fRawMemoryReader; | |
38 | AliTPCRawStream *fTPCRawStream; | |
39 | ||
40 | ClassDef(AliHLTTPCDigitReaderPacked, 0) | |
41 | ||
42 | }; | |
a38a7850 | 43 | |
74c73e5a | 44 | #else |
45 | // add a dummy class to make CINT happy | |
46 | class AliHLTTPCDigitReaderPacked : public AliHLTLogging{ | |
47 | public: | |
48 | AliHLTTPCDigitReaderPacked() | |
49 | { | |
50 | HLTFatal("AliHLTTPCDigitReaderPacked not build"); | |
51 | } | |
52 | }; | |
53 | #endif //defined(HAVE_ALIRAWDATA) && defined(HAVE_ALITPCRAWSTREAM_H) | |
a38a7850 | 54 | |
74c73e5a | 55 | #endif |