]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/comp/AliHLTCompAgent.cxx
more consistent use of cuts, new cut number 1008
[u/mrichter/AliRoot.git] / HLT / comp / AliHLTCompAgent.cxx
index a0140423c3b17b6ba71459bcebcd32673cd9e06f..ed4ba0c9d1531b10d6e25687ba4fd868422c0c3f 100644 (file)
@@ -1,4 +1,4 @@
-// @(#) $Id$
+// $Id$
 
 /**************************************************************************
  * This file is property of and copyright by the ALICE HLT Project        * 
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/** @file   AliHLTCompAgent.cxx
-    @author Matthias Richter
-    @date   
-    @brief  Agent of the libAliHLTComp library
-*/
-
-// see header file for class documentation
-// or
-// refer to README to build package
-// or
-// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+/// @file   AliHLTCompAgent.cxx
+/// @author Matthias Richter
+/// @date   2007-10-30
+/// @brief  Agent of the libAliHLTComp library
+///
 
 #include <cassert>
 #include <cerrno>
 #include "AliHLTCompAgent.h"
-#include "AliHLTConfiguration.h"
-
-// header files of library components
-#include "AliHLTCOMPHuffmanAltroComponent.h"
-#include "AliHLTCOMPHuffmanAltroCalibComponent.h"
 
 /** global instance for agent registration */
 AliHLTCompAgent gAliHLTCompAgent;
@@ -44,6 +33,8 @@ AliHLTCompAgent gAliHLTCompAgent;
 ClassImp(AliHLTCompAgent)
 
 AliHLTCompAgent::AliHLTCompAgent()
+  :
+  AliHLTModuleAgent("Comp")
 {
   // see header file for class documentation
   // or
@@ -86,11 +77,12 @@ int AliHLTCompAgent::RegisterComponents(AliHLTComponentHandler* pHandler) const
   // see header file for class documentation
   assert(pHandler);
   if (!pHandler) return -EINVAL;
-  // use fCompressionSwitch = true for decompressed inputtype (i.e. compressed output)
-  pHandler->AddComponent(new AliHLTCOMPHuffmanAltroComponent(true));
-  // use fCompressionSwitch = false for compressed inputtype (i.e. decompressed output)
-  pHandler->AddComponent(new AliHLTCOMPHuffmanAltroComponent(false));
-  pHandler->AddComponent(new AliHLTCOMPHuffmanAltroCalibComponent);
 
   return 0;
 }
+
+AliHLTModulePreprocessor* AliHLTCompAgent::GetPreprocessor()
+{
+  // see header file for class documentation
+  return NULL;
+}