]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDSignalIndex.h
New plots for trending injector efficiencies (Melinda)
[u/mrichter/AliRoot.git] / TRD / AliTRDSignalIndex.h
index 4fc63e0a29b224c8167d4a56f0c4aef07e4d4ffc..b564b464bd6fa33833ae04401c452677605d4d77 100644 (file)
@@ -138,6 +138,9 @@ Bool_t AliTRDSignalIndex::NextRCIndex(Int_t &row, Int_t &col)
   // Returns next used RC combination
   //
 
+  if (!IsAllocated())
+    return kFALSE;
+
   if(fSortedIndex[fPositionRC].rc>-1){
     row = fCurrRow = fSortedIndex[fPositionRC].s.row;
     col = fCurrCol = fSortedIndex[fPositionRC].s.col;