]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Add flags for HC status
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jan 2010 16:14:37 +0000 (16:14 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jan 2010 16:14:37 +0000 (16:14 +0000)
TRD/Cal/AliTRDCalChamberStatus.h

index 4435b15ccdd923f2aafc5f050cdbdc39272ee8ef..0cf161977cb195a7826f707f63261736e8023c6a 100644 (file)
@@ -18,7 +18,7 @@ class AliTRDCalChamberStatus : public TNamed {
  public:
 
   enum { kNdet = 540, kNstacks = 90, kNcham = 5, kNsect = 18 };
-  enum { kInstalled = 1, kMasked = 2 };
+  enum { kInstalled = 1, kMasked = 2, kHalfChamberSideAMasked = 3, kHalfChamberSideBMasked = 4};
   
   AliTRDCalChamberStatus();
   AliTRDCalChamberStatus(const Text_t* name, const Text_t* title);
@@ -28,6 +28,8 @@ class AliTRDCalChamberStatus : public TNamed {
 
   Bool_t IsInstalled(Int_t sm) const         { return (GetStatus(sm) & kInstalled) ? kTRUE : kFALSE; }
   Bool_t IsMasked(Int_t sm) const            { return (GetStatus(sm) & kMasked)    ? kTRUE : kFALSE; }
+  Bool_t IsHalfChamberSideAMasked(Int_t sm) const     { return (GetStatus(sm) & kHalfChamberSideAMasked)    ? kTRUE : kFALSE; }
+  Bool_t IsHalfChamberSideBMasked(Int_t sm) const     { return (GetStatus(sm) & kHalfChamberSideBMasked)    ? kTRUE : kFALSE; }
 
  protected:
 
@@ -37,4 +39,4 @@ class AliTRDCalChamberStatus : public TNamed {
 
 };
 
-#endif
+#endif
\ No newline at end of file