]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSOnlineCalibrationSPD.h
Another histos for lumi
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineCalibrationSPD.h
index dec4e741273b91c512430886ef2b7646d5d6ad38..392c70c6842a1cf9e375486ae9fe07f8db955641 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef ALI_ITS_ONLINECALIBRATIONSPD_H
-#define ALI_ITS_ONLINECALIBRATIONSPD_H
+#ifndef ALIITSONLINECALIBRATIONSPD_H
+#define ALIITSONLINECALIBRATIONSPD_H
 
 ///////////////////////////////////////////////////////////////////////
 // Author: Henrik Tydesjo                                            //
@@ -30,24 +30,36 @@ class AliITSOnlineCalibrationSPD : public TObject {
 
     void   ClearBad() {fBadChannels.Reset(); fNrBad=0;}
 
-    Bool_t IsActiveEq() const;
-    Bool_t IsActiveHS(UInt_t hs) const;
-    Bool_t IsActiveChip(UInt_t hs, UInt_t chip) const;
-
     void   ActivateALL();
     void   ActivateEq(Bool_t setval = kTRUE);
     void   ActivateHS(UInt_t hs, Bool_t setval = kTRUE);
     void   ActivateChip(UInt_t hs, UInt_t chip, Bool_t setval = kTRUE);
 
+    Bool_t IsActiveEq() const;
+    Bool_t IsActiveHS(UInt_t hs) const;
+    Bool_t IsActiveChip(UInt_t hs, UInt_t chip) const;
+
+    void   UnSetDeadALL();
+    void   SetDeadEq(Bool_t setval = kTRUE);
+    void   SetDeadHS(UInt_t hs, Bool_t setval = kTRUE);
+    void   SetDeadChip(UInt_t hs, UInt_t chip, Bool_t setval = kTRUE);
+    
+    Bool_t IsDeadEq() const;
+    Bool_t IsDeadHS(UInt_t hs) const;
+    Bool_t IsDeadChip(UInt_t hs, UInt_t chip) const;
+
  private:
-    UInt_t   fEqNr;            // eq nr
-    UInt_t   fNrBad;           // nr of bad pixels
-    TArrayI  fBadChannels;     // array of keys for the bad
-    Bool_t   fActiveEq;        // active bit for each equipment
-    Bool_t   fActiveHS[6];     // active bit for each half-stave
-    Bool_t   fActiveChip[60];  // active bit for each chip
-
-    ClassDef(AliITSOnlineCalibrationSPD,2)
+    UInt_t   fEqNr;                // eq nr
+    UInt_t   fNrBad;               // nr of bad (single) pixels
+    TArrayI  fBadChannels;         // array of keys for the bad (single) pixels
+    Bool_t   fActiveEq;            // active bit for each equipment
+    Bool_t   fActiveHS[6];         // active bit for each half-stave
+    Bool_t   fActiveChip[60];      // active bit for each chip
+    Bool_t   fDeadEq;              // dead bit for each equipment
+    Bool_t   fDeadHS[6];           // dead bit for each half-stave
+    Bool_t   fDeadChip[60];        // dead bit for each chip
+
+    ClassDef(AliITSOnlineCalibrationSPD,3)
 };
 
 #endif