]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Information about the full reconstruction time for many events
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Nov 2005 10:44:34 +0000 (10:44 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Nov 2005 10:44:34 +0000 (10:44 +0000)
STEER/AliReconstruction.cxx

index ff8731f5f873f95529b3ae15f6f97354278be48b..93d9bad67c0610e597f7a16b48bddf14af7ef99d 100644 (file)
@@ -299,6 +299,10 @@ Bool_t AliReconstruction::Run(const char* input,
     }      
   }
 
+
+  TStopwatch stopwatch;
+  stopwatch.Start();
+
   // get the possibly already existing ESD file and tree
   AliESD* esd = new AliESD; AliESD* hltesd = new AliESD;
   TFile* fileOld = NULL;
@@ -428,6 +432,9 @@ Bool_t AliReconstruction::Run(const char* input,
     esd = NULL; hltesd = NULL;
   }
 
+  AliInfo(Form("Execution time for filling ESD : R:%.2fs C:%.2fs",
+              stopwatch.RealTime(),stopwatch.CpuTime()));
+
   file->cd();
   tree->Write();
   hlttree->Write();