Fake processing HLT, to avoid pending runs! => temporary, till an HLT preprocessor...
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Mar 2012 08:44:51 +0000 (08:44 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Mar 2012 08:44:51 +0000 (08:44 +0000)
SHUTTLE/AliShuttle.cxx

index 2ecc16d..a4c3856 100644 (file)
@@ -1083,8 +1083,19 @@ Bool_t AliShuttle::ContinueProcessing()
                dynamic_cast<AliPreprocessor*> (fPreprocessorMap.GetValue(fCurrentDetector));
        if (!aPreprocessor)
        {
-               Log("SHUTTLE", Form("ContinueProcessing - %s: no preprocessor registered", fCurrentDetector.Data()));
-               return kFALSE;
+           Log("SHUTTLE", Form("ContinueProcessing - %s: no preprocessor registered", fCurrentDetector.Data()));
+           if(fCurrentDetector==TString("HLT")){
+               Log("SHUTTLE", "ContinueProcessing: Fake processing HLT, to avoid pending runs! => temporary, till an HLT preprocessor is made available.");
+               UpdateShuttleLogbook("HLT","DONE");
+               Log(fCurrentDetector, "ContinueProcessing - skipping HLT preprocessor.");
+
+               AliShuttleStatus* status = ReadShuttleStatus();
+               if (!status) {
+                   status = new AliShuttleStatus(AliShuttleStatus::kDone);
+                   WriteShuttleStatus(status);
+               }
+           }
+           return kFALSE;
        }
 
        AliShuttleLogbookEntry::Status entryStatus =