bug fix with dcs delay (found due to a temporary distortion of mind, i.e. feeling...
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Aug 2008 14:40:48 +0000 (14:40 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Aug 2008 14:40:48 +0000 (14:40 +0000)
SHUTTLE/AliShuttle.cxx

index 565606e..6b73027 100644 (file)
@@ -1978,14 +1978,14 @@ AliShuttleLogbookEntry* AliShuttle::QueryRunParameters(Int_t run)
 
        Bool_t skip = kFALSE;
                                
-       if (totEvents <= 1) 
+       if (endTime != 0 && endTime >= now - dcsDelay)
        {
-               Log("SHUTTLE", Form("QueryRunParameters - Run %d has 1 event or less - Skipping!", run));
-               skip = kTRUE;
+               Log("SHUTTLE", Form("Skipping run %d for now, because DCS buffer time is not yet expired", run));
        }
-       else if (endTime != 0 && endTime >= now - dcsDelay)
+       else if (totEvents <= 1) 
        {
-               Log("SHUTTLE", Form("Skipping run %d for now, because DCS buffer time is not yet expired", run));
+               Log("SHUTTLE", Form("QueryRunParameters - Run %d has 1 event or less - Skipping!", run));
+               skip = kTRUE;
        }
        else
        {