Updated for modifs in AliMpFiles
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testNeighboursPadIterator.C
index 7a8146e42257dbf53ce96dd81756df0cadcc4580..6f14e70852848a3fed743ca720a35af1dbd22a61 100644 (file)
@@ -1,5 +1,5 @@
 // $Id$
-// $MpId: testNeighboursPadIterator.C,v 1.9 2005/09/26 16:05:25 ivana Exp $
+// $MpId: testNeighboursPadIterator.C,v 1.10 2005/10/28 15:36:08 ivana Exp $
 //
 // Test macro for reading  sector, and iterate over it
 
@@ -14,7 +14,7 @@ void testNeighboursPadIterator(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");