]>
Commit | Line | Data |
---|---|---|
71d7c760 | 1 | // XEmacs -*-C++-*- |
2 | // @(#) $Id$ | |
3 | ||
4 | #ifndef ALIHLTTPCRAWDATAUNPACKERCOMPONENT_H | |
5 | #define ALIHLTTPCRAWDATAUNPACKERCOMPONENT_H | |
6 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
7 | * See cxx source for full Copyright notice */ | |
8 | ||
9 | /* AliHLTTPCRawDataUnpackerComponent | |
10 | */ | |
11 | ||
12 | #include "AliHLTProcessor.h" | |
13 | #include "AliHLTTPCDefinitions.h" | |
14 | ||
15 | class AliRawReaderMemory; | |
16 | class AliTPCRawStream; | |
17 | ||
18 | class AliHLTTPCRawDataUnpackerComponent : public AliHLTProcessor | |
19 | { | |
20 | public: | |
21 | AliHLTTPCRawDataUnpackerComponent(); | |
22 | virtual ~AliHLTTPCRawDataUnpackerComponent(); | |
23 | ||
24 | // Public functions to implement AliHLTComponent's interface. | |
25 | // These functions are required for the registration process | |
26 | ||
27 | const char* GetComponentID(); | |
8ede8717 | 28 | void GetInputDataTypes( vector<AliHLTComponentDataType>& list); |
29 | AliHLTComponentDataType GetOutputDataType(); | |
71d7c760 | 30 | virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); |
31 | AliHLTComponent* Spawn(); | |
a655eae3 | 32 | |
71d7c760 | 33 | protected: |
34 | ||
35 | // Protected functions to implement AliHLTComponent's interface. | |
36 | // These functions provide initialization as well as the actual processing | |
37 | // capabilities of the component. | |
38 | ||
39 | int DoInit( int argc, const char** argv ); | |
40 | int DoDeinit(); | |
8ede8717 | 41 | int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
42 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
43 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
71d7c760 | 44 | |
45 | private: | |
e419b223 | 46 | /** not a valid copy constructor, defined according to effective C++ style */ |
47 | AliHLTTPCRawDataUnpackerComponent(const AliHLTTPCRawDataUnpackerComponent&); | |
48 | /** not a valid assignment op, but defined according to effective C++ style */ | |
49 | AliHLTTPCRawDataUnpackerComponent& operator=(const AliHLTTPCRawDataUnpackerComponent&); | |
71d7c760 | 50 | |
51 | // Initialize AliROOT TPC raw stream parsing class | |
52 | AliRawReaderMemory *fRawMemoryReader; | |
53 | AliTPCRawStream *fTPCRawStream; | |
54 | ||
55 | ClassDef(AliHLTTPCRawDataUnpackerComponent, 0) | |
56 | ||
57 | }; | |
58 | #endif |