Modified for update in mapping
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Sep 2003 10:18:18 +0000 (10:18 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Sep 2003 10:18:18 +0000 (10:18 +0000)
- specify the station when creating AliMpPlane/AliMpReader
(I.Hrivnacova)

MUON/AliMUONSt1Response.cxx
MUON/AliMUONSt1Segmentation.cxx
MUON/AliMUONv2.cxx

index 0f0aa448900f06e5b9e688616bf789cc935d7b1e..9fce2d0cedabb66060d78797f07ce7d6330fb36d 100644 (file)
@@ -421,8 +421,8 @@ void AliMUONSt1Response::ReadFiles()
     }
   }
   //book memory and fill them with .ini files
-  fPlane[0]=AliMpPlane::Create(kBendingPlane);
-  fPlane[1]=AliMpPlane::Create(kNonBendingPlane);
+  fPlane[0]=AliMpPlane::Create(kStation1, kBendingPlane);
+  fPlane[1]=AliMpPlane::Create(kStation1, kNonBendingPlane);
   for (i=0;i<2;i++){
     fPlaneSegmentation[i]= new AliMpPlaneSegmentation(fPlane[i]);
     ReadIniFile(i);
index 2f46330d8093fff22dc3daf8b29c62add1d06285..9a0481d4367326fbe533d4cc80acaceef04fdcff 100644 (file)
@@ -70,7 +70,7 @@ AliMUONSt1Segmentation::AliMUONSt1Segmentation(const AliMpPlaneType planeType)
   fCorrA(0)
 {
 // Normal constructor
-  fPlane = AliMpPlane::Create(planeType);
+  fPlane = AliMpPlane::Create(kStation1, planeType);
   fPlaneSegmentation = new AliMpPlaneSegmentation(fPlane);
 
   fCorrA = new TObjArray(3);
index 627ffce9c8fee91221a1a36d1a60ce14343538d0..b89bf3f83657cbfd52493e2c4a3d5bb90815a5ad 100644 (file)
@@ -474,7 +474,7 @@ void AliMUONv2::CreateQuadrant(Int_t chamber)
   specialMap[1001] = AliMUONSt1SpecialMotif(TVector2( 0.1, 0.84), 90.);
   specialMap[1002] = AliMUONSt1SpecialMotif(TVector2( 0.5, 0.36));
   specialMap[1003] = AliMUONSt1SpecialMotif(TVector2(1.01, 0.36));
-  AliMpReader reader1(kBendingPlane);
+  AliMpReader reader1(kStation1, kBendingPlane);
   AliMpSector* sector1 = reader1.BuildSector();
 
   Bool_t reflectZ = true;
@@ -488,7 +488,7 @@ void AliMUONv2::CreateQuadrant(Int_t chamber)
   specialMap[4004] = AliMUONSt1SpecialMotif(TVector2(0.2 ,-0.08));
   specialMap[4005] = AliMUONSt1SpecialMotif(TVector2(0.2 , 0.25));
   specialMap[4006] = AliMUONSt1SpecialMotif(TVector2(0.28, 0.21));
-  AliMpReader reader2(kNonBendingPlane);
+  AliMpReader reader2(kStation1, kNonBendingPlane);
   AliMpSector* sector2 = reader2.BuildSector();
 
   reflectZ = false;