]>
Commit | Line | Data |
---|---|---|
1 | #include "AliITSOnlineCalibrationSPD.h" | |
2 | ||
3 | /////////////////////////////////////////////////////////////////////// | |
4 | // Author: Henrik Tydesjo // | |
5 | // Implementation of the online container for dead and noisy pixels. // | |
6 | // // | |
7 | /////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | ClassImp(AliITSOnlineCalibrationSPD) | |
10 | ||
11 | AliITSOnlineCalibrationSPD::AliITSOnlineCalibrationSPD(): | |
12 | fEqNr(0), | |
13 | fNrBad(0), | |
14 | fBadChannels(0) | |
15 | {} | |
16 | //____________________________________________________________________________ | |
17 | Int_t AliITSOnlineCalibrationSPD::GetKeyAt(UInt_t index) const { | |
18 | // Get key of index-th bad pixel | |
19 | if (index<fNrBad) { | |
20 | return fBadChannels.At(index); | |
21 | } | |
22 | return -1; | |
23 | } |