3 /**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
7 * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
8 * for The ALICE HLT Project. *
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 **************************************************************************/
19 /** @file AliHLTAgentSim.cxx
20 @author Matthias Richter
22 @brief Agent of the libHLTsim library
25 // see header file for class documentation
27 // refer to README to build package
29 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
33 #include "AliHLTAgentSim.h"
35 // header files of library components
36 #include "AliHLTOUTComponent.h"
38 /** global instance for agent registration */
39 AliHLTAgentSim gAliHLTAgentSim;
41 /** ROOT macro for the implementation of ROOT specific class methods */
42 ClassImp(AliHLTAgentSim)
44 AliHLTAgentSim::AliHLTAgentSim()
46 AliHLTModuleAgent("sim")
48 // see header file for class documentation
50 // refer to README to build package
52 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
55 AliHLTAgentSim::~AliHLTAgentSim()
57 // see header file for class documentation
60 int AliHLTAgentSim::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
61 AliRawReader* /*rawReader*/,
62 AliRunLoader* /*runloader*/) const
64 // see header file for class documentation
68 const char* AliHLTAgentSim::GetReconstructionChains(AliRawReader* /*rawReader*/,
69 AliRunLoader* /*runloader*/) const
71 // see header file for class documentation
75 const char* AliHLTAgentSim::GetRequiredComponentLibraries() const
77 // see header file for class documentation
81 int AliHLTAgentSim::RegisterComponents(AliHLTComponentHandler* pHandler) const
83 // see header file for class documentation
85 if (!pHandler) return -EINVAL;
86 pHandler->AddComponent(new AliHLTOUTComponent);
87 pHandler->AddComponent(new AliHLTOUTComponent(AliHLTOUTComponent::kDigits));
88 pHandler->AddComponent(new AliHLTOUTComponent(AliHLTOUTComponent::kRaw));