]>
Commit | Line | Data |
---|---|---|
ee7849e6 | 1 | |
2 | ||
3 | #ifndef ALIHLTPHOSRAWANALYZERCOMPONENT_H | |
4 | #define ALIHLTPHOSRAWANALYZERCOMPONENT_H | |
5 | ||
cbab66dd | 6 | /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * |
7 | * See cxx source for full Copyright notice */ | |
8 | ||
cbab66dd | 9 | #include "AliHLTProcessor.h" |
10 | #include "AliHLTPHOSRawAnalyzer.h" | |
3e4d8f7a | 11 | #include "AliRawReaderMemory.h" |
cbab66dd | 12 | |
13 | class AliHLTPHOSRawAnalyzerComponent: public AliHLTProcessor | |
14 | { | |
15 | public: | |
16 | AliHLTPHOSRawAnalyzerComponent(); | |
17 | ~AliHLTPHOSRawAnalyzerComponent(); | |
18 | AliHLTPHOSRawAnalyzerComponent(const AliHLTPHOSRawAnalyzerComponent & ); | |
ef7b66ed | 19 | AliHLTPHOSRawAnalyzerComponent & operator = (const AliHLTPHOSRawAnalyzerComponent &) |
cbab66dd | 20 | { |
21 | return *this; | |
22 | }; | |
23 | ||
ee7849e6 | 24 | virtual int DoInit( int argc, const char** argv ); |
cbab66dd | 25 | virtual int Deinit(); |
26 | virtual int DoDeinit(); | |
ee7849e6 | 27 | |
28 | virtual const char* GetComponentID() = 0; | |
29 | ||
cbab66dd | 30 | virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&); |
31 | virtual AliHLTComponentDataType GetOutputDataType(); | |
eccb54e8 | 32 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); |
ee7849e6 | 33 | virtual AliHLTComponent* Spawn() = 0; |
34 | ||
cbab66dd | 35 | virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&); |
36 | ||
37 | // private: | |
38 | protected: | |
39 | AliHLTPHOSRawAnalyzer *analyzerPtr; | |
40 | ||
ee7849e6 | 41 | private: |
42 | int eventCount; | |
3e4d8f7a | 43 | AliRawReaderMemory *fRawMemoryReader; |
ee7849e6 | 44 | static const AliHLTComponentDataType inputDataTypes[]; |
45 | static const AliHLTComponentDataType outputDataType; | |
46 | ||
cbab66dd | 47 | }; |
48 | #endif |