]>
Commit | Line | Data |
---|---|---|
5e3820e2 | 1 | // $Id$ |
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: Matthias Richter <Matthias.Richter@ift.uib.no> * | |
8 | //* for The ALICE HLT Project. * | |
9 | //* * | |
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 | //************************************************************************** | |
18 | ||
19 | /** @file AliHLTRCUAgent.cxx | |
20 | @author Matthias Richter | |
21 | @date | |
22 | @brief Agent of the libAliHLTRCU library | |
23 | */ | |
24 | ||
25 | #include <cassert> | |
26 | #include "AliHLTRCUAgent.h" | |
5e3820e2 | 27 | |
28 | // header files of library components | |
3dcae0cc | 29 | #include "AliHLTAltroChannelSelectorComponent.h" |
881c4032 | 30 | #include "AliHLTAltroTimebinAverageComponent.h" |
5e3820e2 | 31 | |
32 | /** global instance for agent registration */ | |
33 | AliHLTRCUAgent gAliHLTRCUAgent; | |
34 | ||
35 | /** ROOT macro for the implementation of ROOT specific class methods */ | |
36 | ClassImp(AliHLTRCUAgent) | |
37 | ||
38 | AliHLTRCUAgent::AliHLTRCUAgent() | |
626bfcc1 | 39 | : |
40 | AliHLTModuleAgent("RCU") | |
5e3820e2 | 41 | { |
42 | // see header file for class documentation | |
43 | // or | |
44 | // refer to README to build package | |
45 | // or | |
46 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
47 | } | |
48 | ||
49 | AliHLTRCUAgent::~AliHLTRCUAgent() | |
50 | { | |
51 | // see header file for class documentation | |
52 | } | |
53 | ||
54 | int AliHLTRCUAgent::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/, | |
55 | AliRawReader* /*rawReader*/, | |
56 | AliRunLoader* /*runloader*/) const | |
57 | { | |
58 | // see header file for class documentation | |
59 | return 0; | |
60 | } | |
61 | ||
62 | const char* AliHLTRCUAgent::GetReconstructionChains(AliRawReader* /*rawReader*/, | |
63 | AliRunLoader* /*runloader*/) const | |
64 | { | |
65 | // see header file for class documentation | |
66 | return NULL; | |
67 | } | |
68 | ||
69 | const char* AliHLTRCUAgent::GetRequiredComponentLibraries() const | |
70 | { | |
71 | // see header file for class documentation | |
72 | return NULL; | |
73 | } | |
74 | ||
75 | int AliHLTRCUAgent::RegisterComponents(AliHLTComponentHandler* pHandler) const | |
76 | { | |
77 | // see header file for class documentation | |
78 | assert(pHandler); | |
79 | if (!pHandler) return -EINVAL; | |
3dcae0cc | 80 | pHandler->AddComponent(new AliHLTAltroChannelSelectorComponent); |
881c4032 | 81 | pHandler->AddComponent(new AliHLTAltroTimebinAverageComponent); |
5e3820e2 | 82 | return 0; |
83 | } |