]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/comp/AliHLTCompAgent.cxx
AliESDCaloCluster.cxx,.h: Removed fM11 and related getter and setter,
[u/mrichter/AliRoot.git] / HLT / comp / AliHLTCompAgent.cxx
CommitLineData
ae51a735 1// @(#) $Id$
2
3/**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
6 * *
7 * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
8 * for The ALICE HLT Project. *
9 * *
10 * Permission to use, copy, modify and distribute this software and its *
11 * documentation strictly for non-commercial purposes is hereby granted *
12 * without fee, provided that the above copyright notice appears in all *
13 * copies and that both the copyright notice and this permission notice *
14 * appear in the supporting documentation. The authors make no claims *
15 * about the suitability of this software for any purpose. It is *
16 * provided "as is" without express or implied warranty. *
17 **************************************************************************/
18
19/** @file AliHLTCompAgent.cxx
20 @author Matthias Richter
21 @date
a183f221 22 @brief Agent of the libAliHLTComp library
ae51a735 23*/
24
25// see header file for class documentation
26// or
27// refer to README to build package
28// or
29// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
30
31#include <cassert>
32#include <cerrno>
33#include "AliHLTCompAgent.h"
34#include "AliHLTConfiguration.h"
35
36// header files of library components
c2440081 37#include "AliHLTCOMPHuffmanAltroComponent.h"
38#include "AliHLTCOMPHuffmanAltroCalibComponent.h"
ae51a735 39
12ec5482 40// header file of the module preprocessor
41#include "AliHLTCompPreprocessor.h"
42
ae51a735 43/** global instance for agent registration */
44AliHLTCompAgent gAliHLTCompAgent;
45
46/** ROOT macro for the implementation of ROOT specific class methods */
47ClassImp(AliHLTCompAgent)
48
49AliHLTCompAgent::AliHLTCompAgent()
626bfcc1 50 :
51 AliHLTModuleAgent("Comp")
ae51a735 52{
53 // see header file for class documentation
54 // or
55 // refer to README to build package
56 // or
57 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
58}
59
60AliHLTCompAgent::~AliHLTCompAgent()
61{
62 // see header file for class documentation
63}
64
65int AliHLTCompAgent::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
66 AliRawReader* /*rawReader*/,
67 AliRunLoader* /*runloader*/) const
68{
69 // see header file for class documentation
70 return 0;
71}
72
73const char* AliHLTCompAgent::GetReconstructionChains(AliRawReader* /*rawReader*/,
74 AliRunLoader* /*runloader*/) const
75{
76 // see header file for class documentation
77 return NULL;
78}
79
80const char* AliHLTCompAgent::GetRequiredComponentLibraries() const
81{
82 // see header file for class documentation
c2440081 83
84 // libAliHLTUtil.so for AliRawReaderPublisher
85 //return "libAliHLTUtil.so";
ae51a735 86 return NULL;
87}
88
89int AliHLTCompAgent::RegisterComponents(AliHLTComponentHandler* pHandler) const
90{
91 // see header file for class documentation
92 assert(pHandler);
93 if (!pHandler) return -EINVAL;
c2440081 94 // use fCompressionSwitch = true for decompressed inputtype (i.e. compressed output)
95 pHandler->AddComponent(new AliHLTCOMPHuffmanAltroComponent(true));
96 // use fCompressionSwitch = false for compressed inputtype (i.e. decompressed output)
97 pHandler->AddComponent(new AliHLTCOMPHuffmanAltroComponent(false));
98 pHandler->AddComponent(new AliHLTCOMPHuffmanAltroCalibComponent);
99
ae51a735 100 return 0;
101}
12ec5482 102
103AliHLTModulePreprocessor* AliHLTCompAgent::GetPreprocessor()
104{
105 // see header file for class documentation
106 return new AliHLTCompPreprocessor;
107}