- Updated for modifs in AliMpFiles
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testSectorAreaIterator.C
index e2176ff56d73e1149ee5ab4d9c41f8671714f068..9e5eaddc7be29d72754d39007052952e6badf8af 100644 (file)
@@ -1,5 +1,5 @@
 // $Id$
-// $MpId: testSectorAreaIterator.C,v 1.4 2005/09/26 16:05:25 ivana Exp $
+// $MpId: testSectorAreaIterator.C,v 1.5 2005/10/28 15:37:12 ivana Exp $
 //
 // Test macro for iterating over the whole sector
 
@@ -57,7 +57,7 @@ void testSectorAreaIterator(AliMpStationType station = kStation1,
     sector=r.BuildSector();
   }
   else  {
-    TString filePath = AliMpFiles::Instance()->SectorFilePath(station,plane);
+    TString filePath = AliMpFiles::SectorFilePath(station,plane);
     filePath.ReplaceAll("zones.dat", "sector.root"); 
 
     TFile f(filePath.Data(), "READ");
@@ -68,9 +68,9 @@ void testSectorAreaIterator(AliMpStationType station = kStation1,
 
   AliMpArea area;
   if ( station == kStation1 )
-    area = AliMpArea(TVector2(450.,450.),TVector2(450.,450.));
+    area = AliMpArea(TVector2(45.,45.),TVector2(45.,45.));
   else   
-    area = AliMpArea(TVector2(600.,600.),TVector2(600.,600.));
+    area = AliMpArea(TVector2(60.,60.),TVector2(60.,60.));
   AliMpVPadIterator* iter = segmentation.CreateIterator(area);
 
   TCanvas* graph = new TCanvas("Graph");