From: cvetan Date: Fri, 13 Apr 2007 14:24:39 +0000 (+0000) Subject: GetEntries() is very slow in this case. Using GetEntriesFast(). X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=b29d3b0bbc99379e3fc542a9af94efe3d60c21f3;p=u%2Fmrichter%2FAliRoot.git GetEntries() is very slow in this case. Using GetEntriesFast(). --- 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",