]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTReconstructor.cxx
CMake: removing qpythia from the depedencies
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTReconstructor.cxx
index 797214f3ec82018433a20aaa846a5c3f14b20cc6..7fdab9b0316b38dcbc244db92d128dd30ced95d0 100644 (file)
@@ -49,6 +49,7 @@
 #include "AliTriggerCluster.h"
 #include "AliDAQ.h"
 #include "AliRunLoader.h"
+#include "AliRunInfo.h"
 
 class AliCDBEntry;
 
@@ -185,6 +186,7 @@ void AliHLTReconstructor::Init()
   }
 
   if (!pSystem->CheckStatus(AliHLTSystem::kReady)) {
+    pSystem->SetDetectorMask(GetRunInfo()->GetDetectorMask());
     if (pSystem->ScanOptions(option.Data())<0) {
       AliError("error setting options for HLT system");
       return;
@@ -203,14 +205,13 @@ void AliHLTReconstructor::Init()
   AliHLTMisc::Instance().InitStreamerInfos(fgkCalibStreamerInfoEntry);
 }
 
-void AliHLTReconstructor::Terminate() const
+void AliHLTReconstructor::Terminate()
 {
   /// overloaded from AliReconstructor: terminate event processing
 
   // indicate step 'Terminate'
   SetProcessingStep(kProcessingStepTerminate);
 
-  AliInfo("terminating");
   if (fpPluginBase) {
     AliHLTSystem* pSystem=fpPluginBase->GetInstance();
     if (pSystem) {
@@ -288,7 +289,9 @@ void AliHLTReconstructor::Reconstruct(AliRawReader* rawReader, TTree* /*clusters
       pHLTOUT=NULL;
     }
     if (pSystem->CheckStatus(AliHLTSystem::kError)) {
-      AliError("HLT system in error state");
+      // this is the highest level where an error can be detected, no error
+      // codes can be returned
+      AliFatal("HLT system in error state");
       return;
     }
     if (!pSystem->CheckStatus(AliHLTSystem::kReady)) {
@@ -348,7 +351,9 @@ void AliHLTReconstructor::FillESD(AliRawReader* rawReader, TTree* /*clustersTree
 
   if (pSystem) {
     if (pSystem->CheckStatus(AliHLTSystem::kError)) {
-      AliError("HLT system in error state");
+      // this is the highest level where an error can be detected, no error
+      // codes can be returned
+      AliFatal("HLT system in error state");
       return;
     }
     if (!pSystem->CheckStatus(AliHLTSystem::kReady)) {
@@ -485,7 +490,9 @@ void AliHLTReconstructor::FillESD(TTree* /*digitsTree*/, TTree* /*clustersTree*/
   AliHLTSystem* pSystem=fpPluginBase->GetInstance();
   if (pSystem) {
     if (pSystem->CheckStatus(AliHLTSystem::kError)) {
-      AliError("HLT system in error state");
+      // this is the highest level where an error can be detected, no error
+      // codes can be returned
+      AliFatal("HLT system in error state");
       return;
     }
     if (!pSystem->CheckStatus(AliHLTSystem::kReady)) {