+ Bool_t SetDeadPixel(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row);
+ Bool_t SetNoisyPixel(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row);
+ Bool_t SetDeadPixelM(UInt_t module, UInt_t colM, UInt_t row);
+ Bool_t SetNoisyPixelM(UInt_t module, UInt_t colM, UInt_t row);
+ Bool_t UnSetDeadPixel(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row);
+ Bool_t UnSetNoisyPixel(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row);
+ Bool_t UnSetDeadPixelM(UInt_t module, UInt_t colM, UInt_t row);
+ Bool_t UnSetNoisyPixelM(UInt_t module, UInt_t colM, UInt_t row);
+
+ Bool_t SetInactiveChipInPITmask(UInt_t eq, UInt_t hs, UInt_t chip);
+ Bool_t UnSetInactiveChipInPITmask(UInt_t eq, UInt_t hs, UInt_t chip);
+
+ Bool_t IsPixelBad(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row) const;
+ Bool_t IsPixelSilent(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row) const; // silent = dead or inactive
+ Bool_t IsPixelDead(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row) const;
+ Bool_t IsPixelNoisy(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t row) const;
+ Bool_t IsPixelBadM(UInt_t module, UInt_t colM, UInt_t row) const;
+ Bool_t IsPixelSilentM(UInt_t module, UInt_t colM, UInt_t row) const;
+ Bool_t IsPixelDeadM(UInt_t module, UInt_t colM, UInt_t row) const;
+ Bool_t IsPixelNoisyM(UInt_t module, UInt_t colM, UInt_t row) const;
+ Bool_t IsPixelBadKey(Int_t key) const;
+ Bool_t IsPixelSilentKey(Int_t key) const;
+ Bool_t IsPixelDeadKey(Int_t key) const;
+ Bool_t IsPixelNoisyKey(Int_t key) const;
+
+ UInt_t GetNrBad() const; // bad = silent or noisy
+ UInt_t GetNrSilent() const; // silent = dead or inactive
+ UInt_t GetNrDead() const;
+ UInt_t GetDeadEqIdAt(UInt_t index) const;
+ UInt_t GetDeadHSAt(UInt_t index) const;
+ UInt_t GetDeadChipAt(UInt_t index) const;
+ UInt_t GetDeadColAt(UInt_t index) const;
+ UInt_t GetDeadRowAt(UInt_t index) const;
+ UInt_t GetNrNoisy() const;
+ UInt_t GetNoisyEqIdAt(UInt_t index) const;
+ UInt_t GetNoisyHSAt(UInt_t index) const;
+ UInt_t GetNoisyChipAt(UInt_t index) const;
+ UInt_t GetNoisyColAt(UInt_t index) const;
+ UInt_t GetNoisyRowAt(UInt_t index) const;
+
+
+ UInt_t GetNrBad(UInt_t module) const; // bad = silent or noisy
+ UInt_t GetNrSilent(UInt_t module) const; // silent = dead or inactive
+ UInt_t GetNrDead(UInt_t module) const;
+ UInt_t GetNrDeadSingle(UInt_t module) const;
+ UInt_t GetDeadEqIdAt(UInt_t module,UInt_t index) const;
+ UInt_t GetDeadHSAt(UInt_t module,UInt_t index) const;
+ UInt_t GetDeadChipAt(UInt_t module,UInt_t index) const;
+ UInt_t GetDeadColAt(UInt_t module,UInt_t index) const;
+ UInt_t GetDeadRowAt(UInt_t module,UInt_t index) const;
+ UInt_t GetNrNoisy(UInt_t module) const;
+ UInt_t GetNrNoisySingle(UInt_t module) const;
+ UInt_t GetNoisyEqIdAt(UInt_t module, UInt_t index) const;
+ UInt_t GetNoisyHSAt(UInt_t module, UInt_t index) const;
+ UInt_t GetNoisyChipAt(UInt_t module, UInt_t index) const;
+ UInt_t GetNoisyColAt(UInt_t module, UInt_t index) const;
+ UInt_t GetNoisyRowAt(UInt_t module, UInt_t index) const;
+
+ UInt_t GetNrBadEq(UInt_t eq) const; // bad = silent or noisy
+ UInt_t GetNrSilentEq(UInt_t eq) const; // silent = dead or inactive
+ UInt_t GetNrDeadEq(UInt_t eq) const;
+ UInt_t GetDeadEqIdAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetDeadHSAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetDeadChipAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetDeadColAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetDeadRowAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetNrNoisyEq(UInt_t eq) const;
+ UInt_t GetNoisyEqIdAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetNoisyHSAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetNoisyChipAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetNoisyColAtEq(UInt_t eq, UInt_t index) const;
+ UInt_t GetNoisyRowAtEq(UInt_t eq, UInt_t index) const;
+
+ UInt_t GetNrBadC(UInt_t eq, UInt_t hs, UInt_t chip) const; // bad = silent or noisy
+ UInt_t GetNrSilentC(UInt_t eq, UInt_t hs, UInt_t chip) const; // silent = dead or inactive
+ UInt_t GetNrDeadC(UInt_t eq, UInt_t hs, UInt_t chip) const;
+ UInt_t GetDeadEqIdAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetDeadHSAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetDeadChipAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetDeadColAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetDeadRowAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetNrNoisyC(UInt_t eq, UInt_t hs, UInt_t chip) const;
+ UInt_t GetNoisyEqIdAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetNoisyHSAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetNoisyChipAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetNoisyColAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ UInt_t GetNoisyRowAtC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+
+ const Char_t* GetDeadPixelAsTextC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+ const Char_t* GetNoisyPixelAsTextC(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t index) const;
+
+ void ActivateALL();
+ void ActivateEq(UInt_t eq, Bool_t setval = kTRUE);
+ void ActivateHS(UInt_t eq, UInt_t hs, Bool_t setval = kTRUE);
+ void ActivateChip(UInt_t eq, UInt_t hs, UInt_t chip, Bool_t setval = kTRUE);
+
+ void UnSetDeadALL();
+ void SetDeadEq(UInt_t eq, Bool_t setval = kTRUE);
+ void SetDeadHS(UInt_t eq, UInt_t hs, Bool_t setval = kTRUE);
+ void SetDeadChip(UInt_t eq, UInt_t hs, UInt_t chip, Bool_t setval = kTRUE);
+
+ Bool_t IsActiveEq(UInt_t eq) const;
+ Bool_t IsActiveHS(UInt_t eq, UInt_t hs) const;
+ Bool_t IsActiveChip(UInt_t eq, UInt_t hs, UInt_t chip) const;
+
+ Bool_t IsDeadEq(UInt_t eq) const;
+ Bool_t IsDeadHS(UInt_t eq, UInt_t hs) const;
+ Bool_t IsDeadChip(UInt_t eq, UInt_t hs, UInt_t chip) const;
+
+ Bool_t IsSilentEq(UInt_t eq) const;
+ Bool_t IsSilentHS(UInt_t eq, UInt_t hs) const;
+ Bool_t IsSilentChip(UInt_t eq, UInt_t hs, UInt_t chip) const;
+
+ Bool_t IsNoisyChip(UInt_t eq, UInt_t hs, UInt_t chip) const;
+
+ UInt_t AddSilentFrom(AliITSOnlineCalibrationSPDhandler* other);
+ UInt_t AddDeadFrom(AliITSOnlineCalibrationSPDhandler* other);
+ UInt_t AddNoisyFrom(AliITSOnlineCalibrationSPDhandler* other);
+
+ UInt_t GetNrDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ UInt_t GetNrSilentDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ UInt_t GetNrDeadDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ UInt_t GetNrNoisyDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ AliITSOnlineCalibrationSPDhandler* GetDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ AliITSOnlineCalibrationSPDhandler* GetSilentDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ AliITSOnlineCalibrationSPDhandler* GetDeadDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ AliITSOnlineCalibrationSPDhandler* GetNoisyDiff(AliITSOnlineCalibrationSPDhandler* other) const;
+ AliITSTriggerConditions * GetTriggerConditions() const {return fTriggerConditions;}
+
+ void PrintDiffInDead(AliITSOnlineCalibrationSPDhandler *other) const;
+ void PrintDiffInPITmask(AliITSOnlineCalibrationSPDhandler *other) const;
+