#include "AliHLTGlobalTrackMergerComponent.h"
#include "AliHLTGlobalEsdConverterComponent.h"
#include "AliHLTGlobalVertexerComponent.h"
+#include "AliHLTGlobalOfflineVertexerComponent.h"
#include "AliHLTV0HistoComponent.h"
+#include "AliHLTdNdPtAnalysisComponent.h"
+#include "AliHLTdNdPtAnalysisMergerComponent.h"
#include "AliHLTGlobalVertexerHistoComponent.h"
+#include "AliHLTGlobalHistoComponent.h"
+#include "AliHLTGlobalHistoCollector.h"
+#include "AliHLTGlobalDCSPublisherComponent.h"
/** global instance for agent registration */
AliHLTGlobalAgent gAliHLTGlobalAgent;
pHandler->AddComponent(new AliHLTGlobalTrackMergerComponent);
pHandler->AddComponent(new AliHLTGlobalEsdConverterComponent);
pHandler->AddComponent(new AliHLTGlobalVertexerComponent);
+ pHandler->AddComponent(new AliHLTGlobalOfflineVertexerComponent);
pHandler->AddComponent(new AliHLTGlobalVertexerHistoComponent);
+ pHandler->AddComponent(new AliHLTGlobalHistoComponent);
pHandler->AddComponent(new AliHLTV0HistoComponent );
+ //pHandler->AddComponent(new AliHLTdNdPtAnalysisComponent );
+ //pHandler->AddComponent(new AliHLTdNdPtAnalysisMergerComponent );
+ pHandler->AddComponent(new AliHLTGlobalHistoCollector );
+ pHandler->AddComponent(new AliHLTGlobalDCSPublisherComponent );
return 0;
}
{
// see header file for class documentation
if (!pHandler) return -EINVAL;
+ TObjArray* pTokens=NULL;
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////////
+ //
+ // global vertexer component
+ //
+ // define the inputs
+ TString vertexerInputs="TPC-globalmerger ITS-tracker";
+
+ // check for the availibility
+ pTokens=vertexerInputs.Tokenize(" ");
+ vertexerInputs="";
+ if (pTokens) {
+ for (int n=0; n<pTokens->GetEntriesFast(); n++) {
+ TString module=((TObjString*)pTokens->At(n))->GetString();
+ if (pHandler->FindConfiguration(module.Data())) {
+ vertexerInputs+=module;
+ vertexerInputs+=" ";
+ }
+ }
+ delete pTokens;
+ pTokens=NULL;
+ }
+ if (!vertexerInputs.IsNull()) {
+ HLTInfo("Configuring inputs to global HLT Vertexer: %s", vertexerInputs.Data());
+ pHandler->CreateConfiguration("GLOBAL-vertexer","GlobalVertexer",vertexerInputs,"");
+ } else {
+ HLTWarning("No inputs to global HLT Vertexer found");
+ }
/////////////////////////////////////////////////////////////////////////////////////
//
// 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-tracker GLOBAL-vertexer TPC-dEdx VZERO-RECO";
// check for the availibility
- TObjArray* pTokens=esdInputs.Tokenize(" ");
+ pTokens=esdInputs.Tokenize(" ");
esdInputs="";
if (pTokens) {
for (int n=0; n<pTokens->GetEntriesFast(); n++) {
}
}
delete pTokens;
+ pTokens=NULL;
}
if (esdInputs.Length()>0) {
}
pHandler->CreateConfiguration("GLOBAL-esd-converter", "GlobalEsdConverter", esdInputs.Data(), "");
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////////
+ //
+ // global histograms
+ //
+ TString vertexhistoInput="GLOBAL-vertexer ITS-SPD-vertexer";
+
+ // check for the availibility
+ pTokens=vertexhistoInput.Tokenize(" ");
+ vertexhistoInput="";
+ if (pTokens) {
+ for (int n=0; n<pTokens->GetEntriesFast(); n++) {
+ TString module=((TObjString*)pTokens->At(n))->GetString();
+ if (pHandler->FindConfiguration(module.Data())) {
+ vertexhistoInput+=module;
+ vertexhistoInput+=" ";
+ }
+ }
+ delete pTokens;
+ pTokens=NULL;
+ }
+
+ if (!vertexhistoInput.IsNull()) {
+ HLTInfo("Configuring inputs to global HLT Vertex histogram component: %s", vertexhistoInput.Data());
+ pHandler->CreateConfiguration("GLOBAL-vertexhisto","GlobalVertexerHisto", vertexhistoInput.Data(),"");
+ } else {
+ HLTWarning("No inputs to global HLT Vertex histogram component found");
+ }
+ //pHandler->CreateConfiguration("GLOBAL-dNdPtAnalysis", "dNdPtAnalysis", "GLOBAL-esd-converter", "");
+
return 0;
}
// reconstruction chains for AliRoot simulation
// Note: run loader is only available while running embedded into
// AliRoot simulation
- return "GLOBAL-esd-converter";
+ return "GLOBAL-esd-converter";
}
return NULL;
}
{
// see header file for class documentation
- return "libAliHLTUtil.so libAliHLTRCU.so libAliHLTTPC.so libAliHLTITS.so";
+ return "";
}
int AliHLTGlobalAgent::GetHandlerDescription(AliHLTComponentDataType /*dt*/,