]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/global/AliHLTGlobalAgent.cxx
updating default configurations
[u/mrichter/AliRoot.git] / HLT / global / AliHLTGlobalAgent.cxx
index edddd5faf8f588877affd119e1d5aedad414d1d0..19a5586b0121c45b0bfbc2e140c56ae48bc4a515 100644 (file)
@@ -82,7 +82,7 @@ int AliHLTGlobalAgent::CreateConfigurations(AliHLTConfigurationHandler* pHandler
   // assembly of the global ESD
 
   // define the inputs to the global ESD
-  TString esdInputs="TPC-globalmerger TPC-mcTrackMarker";
+  TString esdInputs="TPC-globalmerger TPC-mcTrackMarker ITS-SPD-vertexer ITS-tracker";
 
   // check for the availibility
   TObjArray* pTokens=esdInputs.Tokenize(" ");
@@ -105,6 +105,22 @@ int AliHLTGlobalAgent::CreateConfigurations(AliHLTConfigurationHandler* pHandler
   }
 
   pHandler->CreateConfiguration("GLOBAL-esd-converter", "GlobalEsdConverter", esdInputs.Data(), "");
+
+  ///////////////////////////////////////////////////////////////////////////////////////////////////
+  //
+  // global vertexer component
+  //
+  pHandler->CreateConfiguration("GLOBAL-vertexer","GlobalVertexer","GLOBAL-esd-converter","");
+
+  ///////////////////////////////////////////////////////////////////////////////////////////////////
+  //
+  // global histograms
+  //
+  TString vertexhistoInput="GLOBAL-vertexer";
+  if (pHandler->FindConfiguration("ITS-SPD-vertexer")) {
+    vertexhistoInput+=" ITS-SPD-vertexer";
+  }
+  pHandler->CreateConfiguration("GLOBAL-vertexhisto","GlobalVertexerHisto", vertexhistoInput.Data(),"");
   
   return 0;
 }