From b29d3b0bbc99379e3fc542a9af94efe3d60c21f3 Mon Sep 17 00:00:00 2001 From: cvetan Date: Fri, 13 Apr 2007 14:24:39 +0000 Subject: [PATCH] GetEntries() is very slow in this case. Using GetEntriesFast(). --- FMD/AliFMDRawReader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FMD/AliFMDRawReader.cxx b/FMD/AliFMDRawReader.cxx index 3c35cd07997..50739658574 100644 --- a/FMD/AliFMDRawReader.cxx +++ b/FMD/AliFMDRawReader.cxx @@ -139,7 +139,7 @@ AliFMDRawReader::ReadAdcs(TClonesArray* array) // Loop over the `timebins', and make the digits for (size_t i = 0; i < last; i++) { if (i < preSamp) continue; - Int_t n = array->GetEntries(); + Int_t n = array->GetEntriesFast(); UShort_t curStr = str + stripMin + i / rate; if ((curStr-str) > stripMax) { AliError(Form("Current strip is %d but DB says max is %d", -- 2.43.0