+
+//______________________________________________________________________________
+void
+AliMpSectorSegmentation::Print(Option_t* opt) const
+{
+ fkSector->Print(opt);
+}
+
+//______________________________________________________________________________
+void AliMpSectorSegmentation::PrintZones() const
+{
+/// Print all zones and pads dimensions from the map.
+
+ cout << "Zones: " << endl;
+
+#ifdef WITH_STL
+ PadDimensionsMapCIterator it;
+ for (it = fPadDimensionsMap.begin(); it != fPadDimensionsMap.end(); ++it) {
+ cout << " zone: " << setw(4) << it->first;
+ cout << " pad dimensions: ( "
+ << it->second.X() << ", " << it->second.Y() << ")" << endl;
+ }
+#endif
+
+#ifdef WITH_ROOT
+ PadDimensionsMapCIterator it(&fPadDimensionsMap);
+ Long_t key, value;
+ while ( it.Next(key, value) ) {
+ //cout << "Iterating over: " << key << ", " << value << endl;
+ TVector2 dimensions = GetVector(value);
+
+ cout << " zone: " << setw(4) << key;
+ cout << " pad dimensions: ( "
+ << dimensions.X() << ", " << dimensions.Y() << ")" << endl;
+ }
+#endif
+}
+