- // Does isolated cell search for offline calibration
-
- AliPMDisocell *isocell = 0;
-
- const Int_t kMaxRow = 48;
- const Int_t kMaxCol = 96;
- const Int_t kCellNeighbour = 6;
-
- Int_t id1, jd1;
-
- Int_t neibx[6] = {1,0,-1,-1,0,1};
- Int_t neiby[6] = {0,1,1,0,-1,-1};
-
-
- for(Int_t irow = 0; irow < kMaxRow; irow++)
- {
- for(Int_t icol = 0; icol < kMaxCol; icol++)
- {
- if(celladc[irow][icol] > 0)
- {
- Int_t isocount = 0;
- for(Int_t ii = 0; ii < kCellNeighbour; ii++)
- {
- id1 = irow + neibx[ii];
- jd1 = icol + neiby[ii];
- Float_t adc = (Float_t) celladc[id1][jd1];
- if(adc == 0.)
- {
- isocount++;
- if(isocount == kCellNeighbour)
- {
- Float_t cadc = (Float_t) celladc[irow][icol];
-
- isocell = new AliPMDisocell(idet,ismn,irow,icol,cadc);
- pmdisocell->Add(isocell);
-
- }
- }
- } // neigh cell cond.
- }
- }
- }
-
-