]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDEPainter.cxx
mchview related changes.
[u/mrichter/AliRoot.git] / MUON / AliMUONDEPainter.cxx
index d298e9e38aabc701aad58bd66e2090ad4d61fd99..7c9837d091e29dd5541639d625d0dd5a42b7ee17 100644 (file)
@@ -54,6 +54,14 @@ fDetElemId(-1)
   /// default ctor
 }
 
+//_____________________________________________________________________________
+AliMUONDEPainter::AliMUONDEPainter(TRootIOCtor* ioCtor)
+: AliMUONVPainter(ioCtor),
+fDetElemId(-1)
+{
+  /// default streaming ctor
+}
+
 //_____________________________________________________________________________
 AliMUONDEPainter::AliMUONDEPainter(const AliMUONAttPainter& att, Int_t detElemId)
 : AliMUONVPainter("DE"),
@@ -250,7 +258,15 @@ AliMUONDEPainter::FillManuList(TObjArray& manuList) const
     }
   }
 }
-                            
+
+//_____________________________________________________________________________
+Bool_t
+AliMUONDEPainter::IsIncluded() const
+{
+  /// whether this detection element is included in the readout or not
+  return ( InteractiveReadOutConfig()->DetectionElement(fDetElemId) > 0 );
+}
+
 //_____________________________________________________________________________
 void
 AliMUONDEPainter::PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,