]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCRawDataUnpackerComponent.h
Be sure to load mapping when needed
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCRawDataUnpackerComponent.h
index cd0ac25c071e9f03ae0dab34fb83dd86f2f33037..ec5c5c71eaf666f1f66ceac30dad81614b6cf55e 100644 (file)
@@ -3,18 +3,24 @@
 
 #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
- */
+//* This file is property of and copyright by the ALICE HLT Project        * 
+//* ALICE Experiment at CERN, All rights reserved.                         *
+//* See cxx source for full Copyright notice                               *
 
 #include "AliHLTProcessor.h"
-#include "AliHLTTPCDefinitions.h"
 
 class AliRawReaderMemory;
 class AliTPCRawStream;
 
+/**
+ * @class AliHLTTPCRawDataUnpackerComponent
+ * Unpacker component for TPC RAW data.
+ *
+ * @note Old remnant and never used in the new online interface. Became
+ *       obsolete with the introduction of DigitReaders. Maybe we want to
+ *       convert this component into a tool.
+ * @ingroup alihlt_tpc_components
+ */
 class AliHLTTPCRawDataUnpackerComponent : public AliHLTProcessor
     {
     public:
@@ -25,11 +31,11 @@ class AliHLTTPCRawDataUnpackerComponent : public AliHLTProcessor
        // These functions are required for the registration process
 
        const char* GetComponentID();
-       void GetInputDataTypes( vector<AliHLTComponent_DataType>& list);
-       AliHLTComponent_DataType GetOutputDataType();
+       void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
+       AliHLTComponentDataType GetOutputDataType();
        virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
        AliHLTComponent* Spawn();
-       
+
     protected:
        
        // Protected functions to implement AliHLTComponent's interface.
@@ -38,17 +44,23 @@ class AliHLTTPCRawDataUnpackerComponent : public AliHLTProcessor
 
        int DoInit( int argc, const char** argv );
        int DoDeinit();
-       int DoEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks, 
-                    AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr, 
-                    AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks );
+       int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, 
+                    AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, 
+                    AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks );
+
+       using AliHLTProcessor::DoEvent;
        
     private:
+      /** copy constructor prohibited */
+      AliHLTTPCRawDataUnpackerComponent(const AliHLTTPCRawDataUnpackerComponent&);
+      /** assignment operator prohibited */
+      AliHLTTPCRawDataUnpackerComponent& operator=(const AliHLTTPCRawDataUnpackerComponent&);
 
        // Initialize AliROOT TPC raw stream parsing class
-       AliRawReaderMemory *fRawMemoryReader;
-       AliTPCRawStream *fTPCRawStream;
+      AliRawReaderMemory *fRawMemoryReader; //! transient
+      AliTPCRawStream *fTPCRawStream; //! transient
 
-       ClassDef(AliHLTTPCRawDataUnpackerComponent, 0)
+      ClassDef(AliHLTTPCRawDataUnpackerComponent, 0);
 
     };
 #endif