]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/RCU/AliHLTRCUAgent.cxx
bugfix: setting the monitoring event command in the EventDoneData only for the trigge...
[u/mrichter/AliRoot.git] / HLT / RCU / AliHLTRCUAgent.cxx
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"
27 #include "AliHLTConfiguration.h"
28
29 // header files of library components
30 #include "AliHLTAltroChannelSelectorComponent.h"
31 #include "AliHLTAltroTimebinAverageComponent.h"
32
33 /** global instance for agent registration */
34 AliHLTRCUAgent gAliHLTRCUAgent;
35
36 /** ROOT macro for the implementation of ROOT specific class methods */
37 ClassImp(AliHLTRCUAgent)
38
39 AliHLTRCUAgent::AliHLTRCUAgent()
40   :
41   AliHLTModuleAgent("RCU")
42 {
43   // see header file for class documentation
44   // or
45   // refer to README to build package
46   // or
47   // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
48 }
49
50 AliHLTRCUAgent::~AliHLTRCUAgent()
51 {
52   // see header file for class documentation
53 }
54
55 int AliHLTRCUAgent::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
56                                           AliRawReader* /*rawReader*/,
57                                           AliRunLoader* /*runloader*/) const
58 {
59   // see header file for class documentation
60   return 0;
61 }
62
63 const char* AliHLTRCUAgent::GetReconstructionChains(AliRawReader* /*rawReader*/,
64                                                     AliRunLoader* /*runloader*/) const
65 {
66   // see header file for class documentation
67   return NULL;
68 }
69
70 const char* AliHLTRCUAgent::GetRequiredComponentLibraries() const
71 {
72   // see header file for class documentation
73   return NULL;
74 }
75
76 int AliHLTRCUAgent::RegisterComponents(AliHLTComponentHandler* pHandler) const
77 {
78   // see header file for class documentation
79   assert(pHandler);
80   if (!pHandler) return -EINVAL;
81   pHandler->AddComponent(new AliHLTAltroChannelSelectorComponent);
82   pHandler->AddComponent(new AliHLTAltroTimebinAverageComponent);
83   return 0;
84 }