1 #ifndef ALIHLTPHOSDDLDECODERCOMPONENT_H
2 #define ALIHLTPHOSDDLDECODERCOMPONENT_H
4 /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 #include "AliHLTPHOSRcuProcessor.h"
11 class AliHLTPHOSRcuCellEnergyDataStruct;
12 class AliHLTPHOSRcuChannelDataStruct;
13 class AliHLTPHOSPulseGenerator;
14 class AliHLTPHOSDataCorruptor;
15 class AliHLTDDLDecoder;
16 class AliHLTAltroData;
17 class AliHLTPHOSMapper;
21 class AliHLTPHOSDDLDecoderComponent:public AliHLTPHOSRcuProcessor
24 AliHLTPHOSDDLDecoderComponent();
25 virtual ~AliHLTPHOSDDLDecoderComponent();
26 virtual int DoInit( int argc, const char** argv );
28 virtual const char* GetComponentID();
29 virtual void GetInputDataTypes( vector <AliHLTComponentDataType>& list);
30 virtual AliHLTComponentDataType GetOutputDataType();
31 virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
32 virtual AliHLTComponent* Spawn();
34 virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
35 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
36 AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks );
40 AliHLTPHOSDataCorruptor *fDataCorruptorPtr; /**<Pointer to data corruptor*/
41 Double_t fTmpChannelData[ALTRO_MAX_SAMPLES]; /**<Temporary storage for altro dat from a single channel*/
42 AliHLTPHOSRcuChannelDataStruct* fOutPtr; /**<Pointer to outputbuffer to write results from the component into shared memory*/
43 AliHLTDDLDecoder *fDecoderPtr;
44 AliHLTAltroData *fAltroDataPtr;
45 AliHLTPHOSMapper *fMapperPtr;