]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/TPCCEda.cxx
Removal of memory small leaks.
[u/mrichter/AliRoot.git] / TPC / TPCCEda.cxx
index fe795b130f29ca157af8155364b886f691b0d5d3..13a2fb3ed99b450ce45e64a29e519adff398bf7d 100644 (file)
@@ -194,13 +194,14 @@ int main(int argc, char **argv) {
         break;
       }
       
+      /* retry if got no event */
+      if (event==NULL)
+        continue;
+      
       /* skip start/end of run events */
       if ( (event->eventType != physicsEvent) && (event->eventType != calibrationEvent) )
         continue;
 
-      /* retry if got no event */
-      if (event==NULL)
-        continue;
       
       nevents++;
       // get the run number
@@ -247,7 +248,7 @@ int main(int argc, char **argv) {
   //
   // end cheet
   TDatime time;
-  TObjString info(Form("Run: %u; Date: %s",runNb,time.AsString()));
+  TObjString info(Form("Run: %u; Date: %s",runNb,time.AsSQLString()));
   amore::da::AmoreDA amoreDA(amore::da::AmoreDA::kSender);
   Int_t statusDA=0;
   statusDA+=amoreDA.Send("CET0",calibCE.GetCalPadT0());