]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
GetEntries() is very slow in this case. Using GetEntriesFast().
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Apr 2007 14:24:39 +0000 (14:24 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Apr 2007 14:24:39 +0000 (14:24 +0000)
FMD/AliFMDRawReader.cxx

index 3c35cd0799778a265dd542433f2314b8e32dfcea..507396585746d096790fcebeeda2b6d2957a87b2 100644 (file)
@@ -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",