]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
updating default configurations
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Nov 2009 00:14:21 +0000 (00:14 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Nov 2009 00:14:21 +0000 (00:14 +0000)
adding new input to ESD converter: ITS-SPD-vertexer ITS-tracker
adding configurations
  GLOBAL-vertexer
  GLOBAL-vertexhisto

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;
 }