3 #ifndef ALIHLTPHOSRAWANALYZERCOMPONENT_H
4 #define ALIHLTPHOSRAWANALYZERCOMPONENT_H
6 /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
9 #include "AliHLTProcessor.h"
10 #include "AliHLTPHOSRawAnalyzer.h"
11 #include "AliRawReaderMemory.h"
12 #include "AliCaloRawStream.h"
13 #include "AliHLTPHOSDefinitions.h"
17 #include "AliHLTTPCRawDataUnpackerComponent.h"
18 #include "AliTPCRawStream.h"
19 #include "AliRawDataHeader.h"
20 #include "AliRawReaderMemory.h"
21 #include "AliHLTTPCRawDataFormat.h"
22 #include "AliHLTTPCDigitData.h"
23 #include "AliHLTTPCTransform.h"
28 class AliHLTPHOSRawAnalyzerComponent: public AliHLTProcessor
31 AliHLTPHOSRawAnalyzerComponent();
32 ~AliHLTPHOSRawAnalyzerComponent();
33 AliHLTPHOSRawAnalyzerComponent(const AliHLTPHOSRawAnalyzerComponent & );
34 AliHLTPHOSRawAnalyzerComponent & operator = (const AliHLTPHOSRawAnalyzerComponent &)
41 virtual int DoInit( int argc, const char** argv );
43 virtual int DoDeinit();
45 virtual const char* GetComponentID() = 0;
47 virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&);
48 virtual AliHLTComponentDataType GetOutputDataType();
49 virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
50 virtual AliHLTComponent* Spawn() = 0;
52 virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&);
56 AliHLTPHOSRawAnalyzer *analyzerPtr;
60 // AliRawReaderMemory *fRawMemoryReader;
61 // AliTPCRawStream *fTPCRawStream;
63 AliCaloRawStream *fPHOSRawStream;
64 AliRawReaderMemory *fRawMemoryReader;
65 static const AliHLTComponentDataType inputDataTypes[];
66 static const AliHLTComponentDataType outputDataType;