]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONBusPatchPainter.cxx
mchview related changes.
[u/mrichter/AliRoot.git] / MUON / AliMUONBusPatchPainter.cxx
index 5c85ba294233a56ba0a0e778943347098c63b629..fe73616225d360c5126703f4a19b7947cbb0a7c7 100644 (file)
@@ -52,6 +52,14 @@ fBusPatchId(-1)
   /// default ctor
 }
 
+//_____________________________________________________________________________
+AliMUONBusPatchPainter::AliMUONBusPatchPainter(TRootIOCtor* ioCtor)
+: AliMUONVPainter(ioCtor),
+fBusPatchId(-1)
+{
+  /// default streaming ctor
+}
+
 //_____________________________________________________________________________
 AliMUONBusPatchPainter::AliMUONBusPatchPainter(const AliMUONAttPainter& att, 
                                                Int_t busPatchId)
@@ -198,6 +206,14 @@ AliMUONBusPatchPainter::Copy(TObject& object) const
   ((AliMUONBusPatchPainter&)(object)).fBusPatchId = fBusPatchId;
 }
 
+//_____________________________________________________________________________
+Bool_t
+AliMUONBusPatchPainter::IsIncluded() const
+{
+  /// whether this bus patch is included in the readout or not
+  return ( InteractiveReadOutConfig()->BusPatch(fBusPatchId) > 0 );
+}
+
 //_____________________________________________________________________________
 TString
 AliMUONBusPatchPainter::Describe(const AliMUONVTrackerData& data, Int_t dataIndex,