]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCMonitor.cxx
Corrected UInt_t <-> Int_t conversion
[u/mrichter/AliRoot.git] / TPC / AliTPCMonitor.cxx
index e62279be2c75191ceb53e1920bd823f7b7e9b7d8..f84761a077689ac47b62bf401e6563333706235c 100755 (executable)
@@ -951,6 +951,7 @@ void AliTPCMonitor::FillGlobal(Int_t sector)
     {
       pad    = fMapHand->GetPad(   hw);
       row    = fMapHand->GetPadRow(hw);
+      if (row==-1) continue;
       padmax = fMapHand->GetNumofPads(row);
       if (sector%36>17) fMirror=-1;
       else fMirror=1;
@@ -2070,8 +2071,8 @@ Int_t AliTPCMonitor::ExecProcess()
   if(event != 61)  return -1;
   
   TObject *select = gPad->GetSelected();
-  TString name=select->GetName();
   if(!select)  return -1;
+  TString name=select->GetName();
   if(!select->InheritsFrom("TH2")) {gPad->SetUniqueID(0);    return -1;  }
   if(       name=="hglobal"  || name=="SIDE A"  ) side = 0;
   else  if( name=="hglobal2" || name=="SIDE C"  ) side = 1;
@@ -2126,7 +2127,7 @@ Int_t AliTPCMonitor::GetRCUPatch(Int_t runid, Int_t eqid) const
   if(runid>=0)
   {
     if ( eqid<768 || eqid>983 ) return 0; //no TPC eqid
-    if(eqid>=1000) return 0;
+//     if(eqid>=1000) return 0;
     patch = fMapEqidsRcu[eqid] ;
   }
   else