]>
Commit | Line | Data |
---|---|---|
559e00b9 | 1 | #ifndef ALIHLTCALODECODERWRAPPER_H |
2 | #define ALIHLTCALODECODERWRAPPER_H | |
3 | ||
4 | /************************************************************************** | |
5 | * This file is property of and copyright by the Experimental Nuclear * | |
6 | * Physics Group, Dep. of Physics * | |
7 | * University of Oslo, Norway, 2007 * | |
8 | * * | |
9 | * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.* | |
10 | * Contributors are mentioned in the code where appropriate. * | |
11 | * Please report bugs to perthi@fys.uio.no * | |
12 | * * | |
13 | * Permission to use, copy, modify and distribute this software and its * | |
14 | * documentation strictly for non-commercial purposes is hereby granted * | |
15 | * without fee, provided that the above copyright notice appears in all * | |
16 | * copies and that both the copyright notice and this permission notice * | |
17 | * appear in the supporting documentation. The authors make no claims * | |
18 | * about the suitability of this software for any purpose. It is * | |
19 | * provided "as is" without express or implied warranty. * | |
20 | **************************************************************************/ | |
21 | ||
22 | #include "Rtypes.h" | |
23 | ||
24 | /* | |
25 | class AliAltroRawStreamV3; | |
26 | class AliCaloRawStreamV3; | |
27 | class AliRawReaderMemory; | |
28 | */ | |
29 | ||
30 | #include "AliAltroRawStreamV3.h" | |
31 | #include "AliCaloRawStreamV3.h" | |
32 | #include "AliRawReaderMemory.h" | |
33 | ||
34 | class AliHLTComponentBlockData; | |
35 | ||
36 | ||
3800a654 | 37 | class AliHLTCaloDecoderWrapper |
559e00b9 | 38 | { |
39 | public: | |
3800a654 | 40 | AliHLTCaloDecoderWrapper(); |
41 | virtual ~AliHLTCaloDecoderWrapper(); | |
559e00b9 | 42 | void SetMemory( AliHLTComponentBlockData *dtaptr ); |
43 | inline bool NextChannel ( ) { return fAltroRawStream->NextChannel(); }; | |
44 | inline bool NextBunch ( ) { return fAltroRawStream->NextBunch(); }; | |
45 | inline const UShort_t *GetSignals ( ) { return fAltroRawStream->GetSignals(); }; | |
46 | inline Int_t GetHWAddress ( ) const { return fAltroRawStream->GetHWAddress();}; | |
47 | inline Int_t GetBunchLength ( ) const { return fAltroRawStream->GetBunchLength(); }; | |
48 | inline UInt_t GetStartTimeBin ( ) const { return fAltroRawStream->GetEndTimeBin(); }; | |
49 | inline UInt_t GetEndTimeBin ( ) const { return fAltroRawStream->GetStartTimeBin(); }; | |
50 | ||
559e00b9 | 51 | private: |
52 | AliAltroRawStreamV3 *fAltroRawStream; | |
53 | // AliCaloRawStreamV3 *fCaloRawStream; | |
54 | AliRawReaderMemory *fReaderMemory; | |
559e00b9 | 55 | }; |
56 | ||
57 | #endif |