setting reconstruction chain specificly for AliRoot simulation
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 23:58:06 +0000 (23:58 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 23:58:06 +0000 (23:58 +0000)
HLT/TPCLib/AliHLTTPCAgent.cxx

index 05daf71..4cae3cf 100644 (file)
@@ -127,11 +127,16 @@ int AliHLTTPCAgent::CreateConfigurations(AliHLTConfigurationHandler* handler,
 }
 
 const char* AliHLTTPCAgent::GetReconstructionChains(AliRawReader* /*rawReader*/,
-                                                   AliRunLoader* /*runloader*/) const
+                                                   AliRunLoader* runloader) const
 {
   // see header file for class documentation
-  //return NULL;
-  return "TPC-esd-converter";
+  if (runloader) {
+    // reconstruction chains for AliRoot simulation
+    // Note: run loader is only available while running embedded into
+    // AliRoot simulation
+    return "TPC-esd-converter";
+  }
+  return NULL;
 }
 
 const char* AliHLTTPCAgent::GetRequiredComponentLibraries() const