#ifndef ALIHLTPHOSRAWANALYZERCOMPONENT_H #define ALIHLTPHOSRAWANALYZERCOMPONENT_H /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ // //Base class for PHOS HLT raw data analysis components // see cxx file for more details #include "AliHLTProcessor.h" #include "AliHLTPHOSDefinitions.h" #include "AliHLTPHOSCommonDefs.h" class AliRawReaderMemory; class AliCaloRawStream; class AliHLTPHOSRawAnalyzer; class AliHLTPHOSRcuCellEnergyDataStruct; class AliHLTPHOSRcuChannelDataStruct; class AliHLTPHOSRawAnalyzerComponent: public AliHLTProcessor { public: AliHLTPHOSRawAnalyzerComponent(); virtual ~AliHLTPHOSRawAnalyzerComponent(); AliHLTPHOSRawAnalyzerComponent(const AliHLTPHOSRawAnalyzerComponent & ); AliHLTPHOSRawAnalyzerComponent & operator = (const AliHLTPHOSRawAnalyzerComponent &) { return *this; }; virtual int DoInit(int argc =0, const char** argv = 0); virtual int Deinit(); virtual int DoDeinit(); void DumpData(int gain =0) const; void DumpChannelData(Double_t *data =0) const; void SetEquippmentID(AliHLTUInt16_t id =0); const AliHLTUInt16_t GetEquippmentID() const; void SetCoordinates(AliHLTUInt16_t equippmentID =0); virtual const char* GetComponentID() = 0; // virtual void GetInputDataTypes(std::vector >&); virtual void GetInputDataTypes( std::vector & list); virtual AliHLTComponentDataType GetOutputDataType(); virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); virtual AliHLTComponent* Spawn() = 0; protected: AliHLTPHOSRawAnalyzer *fAnalyzerPtr; /**& outputBlocks ); void Reset(); void ResetDataPtr(int startindex = 0, int sampleCnt = 0); static int fgEventCount; /**