]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONManuPadPainter.cxx
Updated geometry
[u/mrichter/AliRoot.git] / MUON / AliMUONManuPadPainter.cxx
index 11e8a39d1e8add4002816c82c79e48694a997314..a8e4774a97bfbe9a2d07c2589f53c491fcca939c 100644 (file)
@@ -61,6 +61,19 @@ fFillStyleBck(-1)
   /// ctor
 }
 
+//_____________________________________________________________________________
+AliMUONManuPadPainter::AliMUONManuPadPainter(TRootIOCtor* ioCtor)
+: AliMUONVPainter(ioCtor), 
+fDetElemId(-1), 
+fManuId(-1),
+fLineColorBck(-1),
+fLineWidthBck(-1),
+fFillColorBck(-1),
+fFillStyleBck(-1)
+{
+  /// ctor
+}
+
 //_____________________________________________________________________________
 AliMUONManuPadPainter::AliMUONManuPadPainter(const AliMUONVPainter& mother,
                                              Int_t detElemId,
@@ -148,6 +161,14 @@ AliMUONManuPadPainter::NameAtPosition(Double_t x, Double_t y) const
   return name;
 }
 
+//_____________________________________________________________________________
+Bool_t
+AliMUONManuPadPainter::IsIncluded() const
+{
+  /// whether this manu is included in the readout or not
+  return ( InteractiveReadOutConfig()->Manu(fDetElemId,fManuId) > 0 );
+}
+
 //_____________________________________________________________________________
 TString 
 AliMUONManuPadPainter::Describe(const AliMUONVTrackerData& data, Int_t dataIndex,