]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
moved AliHLT reconstruction back to ::Reconstruct (using a temporary fix in AliRecons...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Jun 2008 19:22:14 +0000 (19:22 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 12 Jun 2008 19:22:14 +0000 (19:22 +0000)
HLT/rec/AliHLTReconstructor.cxx

index 734a8d41dd62fa7330c321d985acedd524c4214e..cb1f3b8f948b31bb7ab64193f7354ea4c0b44d7a 100644 (file)
@@ -162,29 +162,15 @@ void AliHLTReconstructor::Init()
   fpEsdManager=AliHLTEsdManager::New();
 }
 
-void AliHLTReconstructor::Reconstruct(AliRawReader* /*rawReader*/, TTree* /*clustersTree*/) const 
+void AliHLTReconstructor::Reconstruct(AliRawReader* rawReader, TTree* /*clustersTree*/) const 
 {
   // reconstruction of real data without writing of ESD
   // For each event, HLT reconstruction chains can be executed and
   // added to the existing HLTOUT data
   // The HLTOUT data is finally processed in FillESD
-  AliHLTSystem* pSystem=GetInstance();
-  AliInfo("running raw data reconstruction");
-}
-
-void AliHLTReconstructor::FillESD(AliRawReader* rawReader, TTree* /*clustersTree*/, 
-                                 AliESDEvent* esd) const
-{
-  // reconstruct real data and fill ESD
-  if (!rawReader || !esd) {
-    AliError("missing raw reader or esd object");
-    return;
-  }
-
-  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-  // code needs to be moved back to Reconstruct as soon es HLT loader is implemented
   int iResult=0;
   AliHLTSystem* pSystem=GetInstance();
+
   if (pSystem) {
     if (pSystem->CheckStatus(AliHLTSystem::kError)) {
       AliError("HLT system in error state");
@@ -197,7 +183,18 @@ void AliHLTReconstructor::FillESD(AliRawReader* rawReader, TTree* /*clustersTree
     if ((iResult=pSystem->Reconstruct(1, NULL, rawReader))>=0) {
     }
   }
-  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+}
+
+void AliHLTReconstructor::FillESD(AliRawReader* rawReader, TTree* /*clustersTree*/, 
+                                 AliESDEvent* esd) const
+{
+  // reconstruct real data and fill ESD
+  if (!rawReader || !esd) {
+    AliError("missing raw reader or esd object");
+    return;
+  }
+
+  AliHLTSystem* pSystem=GetInstance();
 
   if (pSystem) {
     if (pSystem->CheckStatus(AliHLTSystem::kError)) {