mchview related changes.
[u/mrichter/AliRoot.git] / MUON / AliMUONChamberPainter.cxx
index 652c8cc..32a36aa 100644 (file)
@@ -56,6 +56,14 @@ fChamberId(-1)
 }
 
 //_____________________________________________________________________________
+AliMUONChamberPainter::AliMUONChamberPainter(TRootIOCtor* ioCtor)
+: AliMUONVPainter(ioCtor),
+fChamberId(-1)
+{
+  /// ctor
+}
+
+//_____________________________________________________________________________
 AliMUONChamberPainter::AliMUONChamberPainter(const AliMUONAttPainter& att, 
                                              Int_t chamberId)
 : AliMUONVPainter("Chamber"),
@@ -197,6 +205,14 @@ AliMUONChamberPainter::Describe(const AliMUONVTrackerData& data, Int_t dataIndex
 }
 
 //_____________________________________________________________________________
+Bool_t 
+AliMUONChamberPainter::IsIncluded() const
+{
+  /// whether this chamber is included in the readout or not
+  return ( InteractiveReadOutConfig()->Chamber(fChamberId) > 0 );
+}
+
+//_____________________________________________________________________________
 void
 AliMUONChamberPainter::PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
                                  Double_t min, Double_t max)