]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/FMD/AliHLTAgentFMD.cxx
new centrality selection
[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 "TSystem.h"
27
28 #include "AliHLTFMDReconstructionComponent.h"
29
30 AliHLTAgentFMD gAliHLTAgentFMD;
31
32
33 ClassImp(AliHLTAgentFMD)
34
35 AliHLTAgentFMD::AliHLTAgentFMD()
36   :
37   AliHLTModuleAgent("FMD")
38 {
39
40 }
41
42 AliHLTAgentFMD::~AliHLTAgentFMD()
43 {
44
45 }
46
47 const char* AliHLTAgentFMD::GetRequiredComponentLibraries() const
48 {
49   // see header file for class documentation
50   return "libAliHLTUtil.so libAliHLTFMD.so";
51 }
52
53 int 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