From 9db3a215401f0b63fa5836c40344134f5eb54fe0 Mon Sep 17 00:00:00 2001 From: hristov Date: Wed, 23 Nov 2005 10:44:34 +0000 Subject: [PATCH] Information about the full reconstruction time for many events --- STEER/AliReconstruction.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index ff8731f5f87..93d9bad67c0 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -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(); -- 2.43.0