]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/RCU/AliHLTRCUAgent.cxx
Changes for #82873: Module debugging broken (Christian)
[u/mrichter/AliRoot.git] / HLT / RCU / AliHLTRCUAgent.cxx
index 83f60d164fab7ef0eb5f064ddc869f4cb6fe15cb..82e66b67aa0e23dc629c70b23346449b8107a096 100644 (file)
 
 #include <cassert>
 #include "AliHLTRCUAgent.h"
-#include "AliHLTConfiguration.h"
 
 // header files of library components
+#include "AliHLTAltroChannelSelectorComponent.h"
+#include "AliHLTAltroTimebinAverageComponent.h"
 
 /** global instance for agent registration */
 AliHLTRCUAgent gAliHLTRCUAgent;
@@ -35,6 +36,8 @@ AliHLTRCUAgent gAliHLTRCUAgent;
 ClassImp(AliHLTRCUAgent)
 
 AliHLTRCUAgent::AliHLTRCUAgent()
+  :
+  AliHLTModuleAgent("RCU")
 {
   // see header file for class documentation
   // or
@@ -74,5 +77,7 @@ int AliHLTRCUAgent::RegisterComponents(AliHLTComponentHandler* pHandler) const
   // see header file for class documentation
   assert(pHandler);
   if (!pHandler) return -EINVAL;
+  pHandler->AddComponent(new AliHLTAltroChannelSelectorComponent);
+  pHandler->AddComponent(new AliHLTAltroTimebinAverageComponent);
   return 0;
 }