]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDarrayADC.cxx
bug fix and small changed in the macros
[u/mrichter/AliRoot.git] / TRD / AliTRDarrayADC.cxx
index 2fc826df672402811a42af8fb9e11fd9514f400b..52b1dd8b6f75d733ff1471c11545cc4e9b3c66fe 100644 (file)
@@ -582,8 +582,8 @@ void AliTRDarrayADC::ConditionalReset(AliTRDSignalIndex* idx)
     {
       Int_t row, col;
       while(idx->NextRCIndex(row, col)){
-       for(Int_t time=0; time<fNtime; time++)
-         SetData(row, col, time, 0);
+       Int_t colnumb = fgLutPadNumbering[col];
+       memset(&fADC[(row*fNumberOfChannels+colnumb)*fNtime],0,fNtime);
       }
     }