]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDEPainter.cxx
Changes needed by the following commit: coding convention for type (_t) and access...
[u/mrichter/AliRoot.git] / MUON / AliMUONDEPainter.cxx
index 6c9f68ddcfba869ab3c391f605de6a924b8ca515..d298e9e38aabc701aad58bd66e2090ad4d61fd99 100644 (file)
@@ -232,6 +232,25 @@ AliMUONDEPainter::Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
   return AliMUONPainterHelper::Instance()->FormatValue(data.DimensionName(dataIndex).Data(),value);
 }
 
+//_____________________________________________________________________________
+void
+AliMUONDEPainter::FillManuList(TObjArray& manuList) const
+{
+  /// Fill (append to) manu list
+  TIter next(Children());
+  AliMUONVPainter* p;
+  
+  while ( ( p = static_cast<AliMUONVPainter*>(next()) ) )
+  {
+    if ( p->IsA() == AliMUONBusPatchPainter::Class() )
+    {
+      // Only consider bus patch painters (and not PCB ones),
+      // in order not to double count some manus
+      p->FillManuList(manuList);
+    }
+  }
+}
+                            
 //_____________________________________________________________________________
 void
 AliMUONDEPainter::PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,