3 // Test macro for reading sector, and iterate over it
5 void testSectorPadIterators(AliMpStationType station = kStation1,
6 AliMpPlaneType plane = kBendingPlane)
8 AliMpReader r(station, plane);
9 AliMpSector* sect = r.BuildSector();
13 TCanvas *can = new TCanvas("canv");
15 const Double_t xmax=150;
16 const Double_t ymax=250;
18 AliMpSectorPadIterator it = AliMpSectorPadIterator(sect);
20 for (it.First(); ! it.IsDone(); it.Next()) {
21 AliMpIntPair indices = it.CurrentItem().GetIndices();
22 cout<<"Iterator number "<< num++ << " at "<< indices <<endl;
23 TMarker* marker = new TMarker( (Double_t)indices.GetFirst() /xmax,
24 (Double_t)indices.GetSecond()/ymax,