AliHLTFMD module
[u/mrichter/AliRoot.git] / HLT / FMD / AliHLTAgentFMD.cxx
CommitLineData
629266d1 1// @(#) $Id: AliHLTAgentFMD.cxx 25820 2008-05-16 11:47:09Z richterm $
2
3/**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
6 * *
08dff036 7 * Primary Authors: Hans Hjersing Dalsgaard *
629266d1 8 * *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
17
18/** @file AliHLTAgentFMD.cxx
08dff036 19 @author Hans Hjersing Dalsgaard
629266d1 20 @date
21 @brief Agent of the libAliHLTFMD library
22*/
23
24#include <cassert>
25#include "AliHLTAgentFMD.h"
629266d1 26#include "TSystem.h"
27
28#include "AliHLTFMDReconstructionComponent.h"
29
30AliHLTAgentFMD gAliHLTAgentFMD;
31
32
33ClassImp(AliHLTAgentFMD)
34
35AliHLTAgentFMD::AliHLTAgentFMD()
36 :
37 AliHLTModuleAgent("FMD")
38{
39
40}
41
42AliHLTAgentFMD::~AliHLTAgentFMD()
43{
44
45}
46
47const char* AliHLTAgentFMD::GetRequiredComponentLibraries() const
48{
49 // see header file for class documentation
50 return "libAliHLTUtil.so libAliHLTFMD.so";
51}
52
53int AliHLTAgentFMD::RegisterComponents(AliHLTComponentHandler* pHandler) const
54{
55 // see header file for class documentation
56 assert(pHandler);
57 if (!pHandler) return -EINVAL;
58 pHandler->AddComponent(new AliHLTFMDReconstructionComponent);
59
60 return 0;
61}
62
63