]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/root2date.cxx
"trd_adcClkPhase" DP removed from TRD configuration.
[u/mrichter/AliRoot.git] / MONITOR / root2date.cxx
index c17ea5b64e47ea27630707d27451190cd185f08f..2136c24c041fbe7e0ce44aa2e1c4e461cc556858 100644 (file)
@@ -17,6 +17,12 @@ int Root2Date(AliRawEvent *gdcRootEvent, unsigned char *gdcDateEvent, char *ddlD
  AliRawEvent *ldcRootEvent=NULL;
  
  aliHeader=gdcRootEvent->GetHeader();
+
+ char runNbFileName[256];
+ sprintf(runNbFileName,"%s/run%u",ddlDir,aliHeader->Get("RunNb"));
+ ofstream runNbFile(runNbFileName);
+ runNbFile.close();
+
  memcpy(p, aliHeader->HeaderBaseBegin(), chunkSize=aliHeader->HeaderBaseSize());
  p+=chunkSize;
  memcpy(p, aliHeader->HeaderBegin(), chunkSize=aliHeader->HeaderSize()); // Write DATE GDC header