Force configuration upload for any incomplete setup (which of course should not be...
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Feb 2010 10:11:41 +0000 (10:11 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Feb 2010 10:11:41 +0000 (10:11 +0000)
MUON/AliMUONPedestalSubprocessor.cxx

index 0561688..8dba620 100644 (file)
@@ -18,6 +18,7 @@
 #include "AliMUONPedestalSubprocessor.h"
 
 #include "AliCDBMetaData.h"
+#include "AliDAQ.h"
 #include "AliLog.h"
 #include "AliMUON2DMap.h"
 #include "AliMUON2DStoreValidator.h"
@@ -149,6 +150,12 @@ AliMUONPedestalSubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endT
     return kFALSE;
   }
   
+  if ( nconfFiles > 0 && nconfFiles < AliDAQ::NumberOfLdcs("MUONTRK") )
+  {
+    // force a writing of the configuration for any incomplete configuration
+    fConfigChanged = kTRUE;
+  }
+  
   return kTRUE;
 }