bugfix: propagate CF output to ESD converter in order to fill the MC information
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Jun 2009 12:48:09 +0000 (12:48 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Jun 2009 12:48:09 +0000 (12:48 +0000)
HLT/TPCLib/AliHLTTPCAgent.cxx

index 0e0abcc..52029ac 100644 (file)
@@ -172,7 +172,13 @@ int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
     handler->CreateConfiguration("TPC-globalmerger","TPCCAGlobalMerger",mergerInput.Data(),"");
 
     // the esd converter configuration
-    handler->CreateConfiguration("TPC-esd-converter", "TPCEsdConverter"   , "TPC-globalmerger", "");
+    TString converterInput="TPC-globalmerger";
+    if (!rawReader) {
+      // propagate cluster info to the esd converter in order to fill the MC information
+      converterInput+=" ";
+      converterInput+=sinkClusterInput;
+    }
+    handler->CreateConfiguration("TPC-esd-converter", "TPCEsdConverter"   , converterInput.Data(), "");
 
     // cluster dump collection
     handler->CreateConfiguration("TPC-clusters", "BlockFilter"   , sinkClusterInput.Data(), "-datatype 'CLUSTERS' 'TPC '");