]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSOnlineCalibrationSPD.h
Bug fix. SSD calibration objects were overwriting the SDD ones in case of partial...
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineCalibrationSPD.h
CommitLineData
b15de2d2 1#ifndef ALI_ITS_ONLINECALIBRATIONSPD_H
2#define ALI_ITS_ONLINECALIBRATIONSPD_H
3
4///////////////////////////////////////////////////////////////////////
5// Author: Henrik Tydesjo //
6// This class is used as a container to keep the dead and noisy //
6727e2db 7// pixels online. Each object corresponds to one DDL (eq). //
b15de2d2 8// Note: This class should not be used directly. //
9// Use it via AliITSOnlineCalibrationSPDhandler instead. //
10///////////////////////////////////////////////////////////////////////
11
12#include <TObject.h>
13#include <TArrayI.h>
14
15class AliITSOnlineCalibrationSPD : public TObject {
16
17 public:
18 AliITSOnlineCalibrationSPD();
19 virtual ~AliITSOnlineCalibrationSPD() {}
20
6727e2db 21 void SetEqNr(UInt_t mod) {fEqNr=mod;}
22 UInt_t GetEqNr() const {return fEqNr;}
23 void SetBadList(TArrayI badlist) {fBadChannels=badlist;}
24 void SetNrBad(UInt_t nr) {fNrBad=nr;}
25
26 UInt_t GetNrBad() const {return fNrBad;}
27 Int_t GetKeyAt(UInt_t index) const; //returns -1 if out of bounds
28
29 void ClearBad() {fBadChannels.Reset(); fNrBad=0;}
b15de2d2 30
31 private:
6727e2db 32 UInt_t fEqNr; // eq nr
33 UInt_t fNrBad; // nr of bad pixels
34 TArrayI fBadChannels; // array of keys for the bad
b15de2d2 35
36 ClassDef(AliITSOnlineCalibrationSPD,1)
37};
38
39#endif