// XEmacs -*-C++-*- // @(#) $Id$ #ifndef ALIHLTTPCRAWDATAUNPACKERCOMPONENT_H #define ALIHLTTPCRAWDATAUNPACKERCOMPONENT_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* AliHLTTPCRawDataUnpackerComponent */ #include "AliHLTProcessor.h" #include "AliHLTTPCDefinitions.h" class AliRawReaderMemory; class AliTPCRawStream; class AliHLTTPCRawDataUnpackerComponent : public AliHLTProcessor { public: AliHLTTPCRawDataUnpackerComponent(); virtual ~AliHLTTPCRawDataUnpackerComponent(); // Public functions to implement AliHLTComponent's interface. // These functions are required for the registration process const char* GetComponentID(); void GetInputDataTypes( vector& list); AliHLTComponentDataType GetOutputDataType(); virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); AliHLTComponent* Spawn(); protected: // Protected functions to implement AliHLTComponent's interface. // These functions provide initialization as well as the actual processing // capabilities of the component. int DoInit( int argc, const char** argv ); int DoDeinit(); int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, vector& outputBlocks ); private: /** not a valid copy constructor, defined according to effective C++ style */ AliHLTTPCRawDataUnpackerComponent(const AliHLTTPCRawDataUnpackerComponent&); /** not a valid assignment op, but defined according to effective C++ style */ AliHLTTPCRawDataUnpackerComponent& operator=(const AliHLTTPCRawDataUnpackerComponent&); // Initialize AliROOT TPC raw stream parsing class AliRawReaderMemory *fRawMemoryReader; AliTPCRawStream *fTPCRawStream; ClassDef(AliHLTTPCRawDataUnpackerComponent, 0) }; #endif