]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/FMD/AliHLTAgentFMD.cxx
New production macros (Yves)
[u/mrichter/AliRoot.git] / HLT / FMD / AliHLTAgentFMD.cxx
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  *                                                                        *
7  * Primary Authors: Hans Hjersing Dalsgaard                               *
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
19     @author Hans Hjersing Dalsgaard
20     @date   
21     @brief  Agent of the libAliHLTFMD library
22 */
23
24 #include <cassert>
25 #include "AliHLTAgentFMD.h"
26 #include "AliHLTConfiguration.h"
27 #include "TSystem.h"
28
29 #include "AliHLTFMDReconstructionComponent.h"
30
31 AliHLTAgentFMD gAliHLTAgentFMD;
32
33
34 ClassImp(AliHLTAgentFMD)
35
36 AliHLTAgentFMD::AliHLTAgentFMD()
37   :
38   AliHLTModuleAgent("FMD")
39 {
40
41 }
42
43 AliHLTAgentFMD::~AliHLTAgentFMD()
44 {
45
46 }
47
48 const char* AliHLTAgentFMD::GetRequiredComponentLibraries() const
49 {
50   // see header file for class documentation
51   return "libAliHLTUtil.so libAliHLTFMD.so";
52 }
53
54 int AliHLTAgentFMD::RegisterComponents(AliHLTComponentHandler* pHandler) const
55 {
56   // see header file for class documentation
57   assert(pHandler);
58   if (!pHandler) return -EINVAL;
59   pHandler->AddComponent(new AliHLTFMDReconstructionComponent);
60  
61   return 0;
62 }
63
64