]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPadStatusMaker.h
Missing class from previous commit
[u/mrichter/AliRoot.git] / MUON / AliMUONPadStatusMaker.h
index 5eb2e3fa4287bf69bfd0d80aa7e42b58b61b08a0..6181b40edf1a7ed55629588b840efe2b8b1563a5 100644 (file)
@@ -30,7 +30,10 @@ class AliMUONPadStatusMaker : public TObject
 public:
   AliMUONPadStatusMaker(const AliMUONCalibrationData& calibData);
   virtual ~AliMUONPadStatusMaker();
-      
+  
+  /// Get the reference to the calibrationdata object we use.
+  const AliMUONCalibrationData& CalibrationData() const { return fkCalibrationData; }
+  
   /** Get access to internal status store (for debug only, as it may not be complete,
     depending on whether you've already called PadStatus for all possible de,manu
     combinations or not...
@@ -122,7 +125,7 @@ private:
 
   Int_t HVStatus(Int_t detElemId, Int_t manuId) const;
 
-  Int_t OtherStatus(Int_t detElemId, Int_t manuId) const;
+  Int_t OccupancyStatus(Int_t detElemId, Int_t manuId) const;
   
   void SetHVStatus(Int_t detElemId, Int_t index, Int_t status) const;
 
@@ -174,13 +177,17 @@ private:
   };
   
   /// Other
-  enum EOtherStatus
+  enum EOccupancyStatus
   {
     kManuOccupancyTooLow = (1<<1),
-    kManuOccupancyTooHigh = (1<<2)
+    kManuOccupancyTooHigh = (1<<2),
+    kBusPatchOccupancyTooLow = (1<<3),
+    kBusPatchOccupancyTooHigh = (1<<4),
+    kDEOccupancyTooLow = (1<<5),
+    kDEOccupancyTooHigh = (1<<6)
   };
   
-  const AliMUONCalibrationData& fCalibrationData; //!< helper class to get data access (not owner)
+  const AliMUONCalibrationData& fkCalibrationData; //!< helper class to get data access (not owner)
   
   TVector2 fGainA1Limits; //!< Low and High threshold for gain a0 parameter
   TVector2 fGainA2Limits; //!< Low and High threshold for gain a1 parameter
@@ -193,6 +200,8 @@ private:
   TVector2 fPedSigmaLimits; //!< Low and High threshold for pedestal sigma
   
   TVector2 fManuOccupancyLimits; //!< Low and High manu occupancy limits
+  TVector2 fBusPatchOccupancyLimits; //!< Low and High buspatch occupancy limits
+  TVector2 fDEOccupancyLimits; //!< Low and High DE occupancy limits
   
   AliMUONVStore* fStatus; //!< statuses of the pads