ITSSPDPHYSda: New detector algorithm for finding dead and noisy pixels.
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineCalibrationSPD.cxx
CommitLineData
b15de2d2 1#include "AliITSOnlineCalibrationSPD.h"
2
3///////////////////////////////////////////////////////////////////////
4// Author: Henrik Tydesjo //
5// Implementation of the online container for dead and noisy pixels. //
6// //
7///////////////////////////////////////////////////////////////////////
8
9ClassImp(AliITSOnlineCalibrationSPD)
10
11AliITSOnlineCalibrationSPD::AliITSOnlineCalibrationSPD():
6727e2db 12fEqNr(0),
13fNrBad(0),
14fBadChannels(0)
b15de2d2 15{}
b15de2d2 16//____________________________________________________________________________
6727e2db 17Int_t AliITSOnlineCalibrationSPD::GetKeyAt(UInt_t index) const {
18 // Get key of index-th bad pixel
19 if (index<fNrBad) {
20 return fBadChannels.At(index);
b15de2d2 21 }
22 return -1;
23}