]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpReader.cxx
Added the sector offset in zones.dat files and
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpReader.cxx
index 9c543e343240593e814b727110579b94b43a3006..f1280e5128840000c862ad2d906b9fc81dc45a20 100755 (executable)
@@ -183,16 +183,20 @@ void  AliMpReader::ReadSectorData(ifstream& in)
     
   Int_t nofZones, nofRows;
   TString directionStr;
+  Double_t offsetX, offsetY;
   in >> nofZones;
   in >> nofRows;
   in >> directionStr;
+  in >> offsetX;
+  in >> offsetY;
   
   AliMpDirection direction;
   direction = (directionStr == "Y") ? kY  :  kX;
   if (fVerboseLevel>0) 
      cout << nofZones << " " <<  nofRows << endl;
 
-  fSector = new AliMpSector("Not defined", nofZones, nofRows,direction);
+  fSector = new AliMpSector("Not defined", nofZones, nofRows,direction,
+                            TVector2(offsetX, offsetY));
   
   TString nextKeyword;
   in >> nextKeyword;