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 AliHLTAgentUtil.cxx
20 @author Matthias Richter
22 @brief Agent of the libAliHLTUtil library
26 #include "AliHLTAgentUtil.h"
27 #include "AliHLTConfiguration.h"
29 // header files of library components
30 #include "AliHLTDataGenerator.h"
31 #include "AliHLTRawReaderPublisherComponent.h"
32 #include "AliHLTLoaderPublisherComponent.h"
33 #include "AliHLTRootFileStreamerComponent.h"
34 #include "AliHLTRootFileWriterComponent.h"
35 #include "AliHLTRootFilePublisherComponent.h"
36 #include "AliHLTFileWriter.h"
37 #include "AliHLTFilePublisher.h"
38 #include "AliHLTBlockFilterComponent.h"
39 #include "AliHLTEsdCollectorComponent.h"
40 #include "AliHLTOUTPublisherComponent.h"
42 /** global instance for agent registration */
43 AliHLTAgentUtil gAliHLTAgentUtil;
45 /** ROOT macro for the implementation of ROOT specific class methods */
46 ClassImp(AliHLTAgentUtil)
48 AliHLTAgentUtil::AliHLTAgentUtil()
50 AliHLTModuleAgent("Util")
52 // see header file for class documentation
54 // refer to README to build package
56 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
59 AliHLTAgentUtil::~AliHLTAgentUtil()
61 // see header file for class documentation
64 int AliHLTAgentUtil::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
65 AliRawReader* /*rawReader*/,
66 AliRunLoader* /*runloader*/) const
68 // see header file for class documentation
72 const char* AliHLTAgentUtil::GetReconstructionChains(AliRawReader* /*rawReader*/,
73 AliRunLoader* /*runloader*/) const
75 // see header file for class documentation
79 const char* AliHLTAgentUtil::GetRequiredComponentLibraries() const
81 // see header file for class documentation
85 int AliHLTAgentUtil::RegisterComponents(AliHLTComponentHandler* pHandler) const
87 // see header file for class documentation
89 if (!pHandler) return -EINVAL;
90 pHandler->AddComponent(new AliHLTDataGenerator);
91 pHandler->AddComponent(new AliHLTRawReaderPublisherComponent);
92 pHandler->AddComponent(new AliHLTLoaderPublisherComponent);
93 pHandler->AddComponent(new AliHLTRootFileStreamerComponent);
94 pHandler->AddComponent(new AliHLTRootFileWriterComponent);
95 pHandler->AddComponent(new AliHLTRootFilePublisherComponent);
96 pHandler->AddComponent(new AliHLTFileWriter);
97 pHandler->AddComponent(new AliHLTFilePublisher);
98 pHandler->AddComponent(new AliHLTBlockFilterComponent);
99 pHandler->AddComponent(new AliHLTEsdCollectorComponent);
100 pHandler->AddComponent(new AliHLTOUTPublisherComponent);