]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONTRKOCCda.cxx
ALIROOT-5420 Changes for CDH v3
[u/mrichter/AliRoot.git] / MUON / MUONTRKOCCda.cxx
index e40c6826f80039cb7c3fcff68f155aa680b77bcc..09b7b7d7af337e8364b86ec96e0342aaaa17fc28 100644 (file)
@@ -6,7 +6,7 @@
  Run Type: PHYSICS STANDALONE
  DA Type: MON
  Number of events needed: all (or at least as much as possible...)
- Input Files: 09000094301009.10.raw
+ Input Files: 10000119041028.20.raw 10000130367042.10.raw 10000120691024.50.raw
  Output Files: mch.occupancy, to be exported to the DAQ FXS
  Trigger types used: PHYSICS_EVENT
 */
@@ -62,7 +62,7 @@
 #endif
 
 const char* OUTPUT_FILE = "mch.occupancy";
-const char* DAVERSION = "MUONTRKOCCda v1.6 ($Id$)";
+const char* DAVERSION = "MUONTRKOCCda v1.61 ($Id$)";
 
 //______________________________________________________________________________
 void Add(AliMUONVStore& destStore, const AliMUONVStore& srcStore)
@@ -348,6 +348,9 @@ int main(int argc, char **argv)
   
   fout.close();
   
+  /* store the result file on FXS */  
+  if (daqDA_FES_storeFile(OUTPUT_FILE,"OCCUPANCY")) return -9;
+    
 #ifdef ALI_AMORE
   
   if ( numberOfUsedEvents ) // do not update the AMORE pool with an empty object...
@@ -361,18 +364,17 @@ int main(int argc, char **argv)
     
     TObjString occupancyAsString(str.str().c_str());
     
+    cout << "will send to amore" << endl;
+    
     Int_t status = amoreDA.Send("Occupancy",&occupancyAsString);
     if ( status )
     {
       cerr << "ERROR : Failed to write occupancies in the AMORE database : " << status << endl;
     } 
   }
-
-#endif
   
-  /* store the result file on FXS */  
-  if (daqDA_FES_storeFile(OUTPUT_FILE,"OCCUPANCY")) return -9;
-
+#endif
+    
   timers.Stop();
   printf("\nExecution time : R:%7.2fs C:%7.2fs\n", timers.RealTime(), timers.CpuTime());