trigger digits with new coordinate system
authorpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Oct 2003 19:24:44 +0000 (19:24 +0000)
committerpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Oct 2003 19:24:44 +0000 (19:24 +0000)
MUON/AliMUONSegmentationTrigger.cxx
MUON/AliMUONTriggerConstants.cxx

index 0fa32ddcfc4fa5d61332b81cc0004a7653858eb6..14abdb30ee716e7c4a819d4e9911bae5294bd283 100644 (file)
@@ -37,15 +37,17 @@ void AliMUONSegmentationTrigger::Init(Int_t chamber)
   if(pMUON->GetDebug()>1) printf("%s: Initialize Trigger Chamber Module Geometry\n",ClassName());
 
   Float_t zPos=iChamber->Z();
-  Float_t z1Pos=1603.5;
+  Float_t z1Pos=-1603.5;
   fZscale = zPos/z1Pos;
 
   Float_t y1Cmin[126];
   Float_t y1Cmax[126];
 
   Float_t dz=7.2;
-  Float_t z1PosPlus=z1Pos+dz/2.;
-  Float_t z1PosMinus=z1Pos-dz/2.;
+//  Float_t z1PosPlus=z1Pos+dz/2.;
+// Float_t z1PosMinus=z1Pos-dz/2.;
+  Float_t z1PosPlus=z1Pos-dz/2.;
+  Float_t z1PosMinus=z1Pos+dz/2.;
 
   Float_t z1pm=z1PosPlus/z1PosMinus;
   Float_t z1mp=z1PosMinus/z1PosPlus;
index 99190fabab4221e8936a40c7d16631fddf615451..5eff99d4c95d8e7dda870878de8c7164a08654bf 100644 (file)
@@ -101,7 +101,16 @@ const Int_t AliMUONTriggerConstants::fgNstripY[126]=
 
 //----------------------------------------------------------------------  
 const Float_t AliMUONTriggerConstants::fgXcMin[126]=
-{2.,36.,70.,104.,138.,172.,206., // right
+{-36.,-70.,-104.,-138.,-172.,-206.,-274., //right
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+   0.,-70.,-104.,-138.,-172.,-206.,-274.,
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+ -36.,-70.,-104.,-138.,-172.,-206.,-274.,
+ 2.,36.,70.,104.,138.,172.,206., // left
  2.,36.,70.,104.,138.,172.,206.,
  2.,36.,70.,104.,138.,172.,206.,
  2.,36.,70.,104.,138.,172.,206.,
@@ -110,19 +119,20 @@ const Float_t AliMUONTriggerConstants::fgXcMin[126]=
  2.,36.,70.,104.,138.,172.,206.,
  2.,36.,70.,104.,138.,172.,206.,
  2.,36.,70.,104.,138.,172.,206.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274., //left
- -36.,-70.,-104.,-138.,-172.,-206.,-274.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274.,
-   0.,-70.,-104.,-138.,-172.,-206.,-274.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274.,
- -36.,-70.,-104.,-138.,-172.,-206.,-274.};
+};
 
 //----------------------------------------------------------------------  
 const Float_t AliMUONTriggerConstants::fgXcMax[126]=
-{36.,70.,104.,138.,172.,206.,274., //right
+{-2.,-36.,-70.,-104.,-138.,-172.,-206., // right
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+  0.,-53.,-70.,-104.,-138.,-172.,-206.,
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+ -2.,-36.,-70.,-104.,-138.,-172.,-206.,
+ 36.,70.,104.,138.,172.,206.,274., //left
  36.,70.,104.,138.,172.,206.,274.,
  36.,70.,104.,138.,172.,206.,274.,
  36.,70.,104.,138.,172.,206.,274.,
@@ -131,15 +141,7 @@ const Float_t AliMUONTriggerConstants::fgXcMax[126]=
  36.,70.,104.,138.,172.,206.,274.,
  36.,70.,104.,138.,172.,206.,274.,
  36.,70.,104.,138.,172.,206.,274., 
- -2.,-36.,-70.,-104.,-138.,-172.,-206., // left
- -2.,-36.,-70.,-104.,-138.,-172.,-206.,
- -2.,-36.,-70.,-104.,-138.,-172.,-206.,
- -2.,-36.,-70.,-104.,-138.,-172.,-206.,
-  0.,-53.,-70.,-104.,-138.,-172.,-206.,
- -2.,-36.,-70.,-104.,-138.,-172.,-206.,
- -2.,-36.,-70.,-104.,-138.,-172.,-206.,
- -2.,-36.,-70.,-104.,-138.,-172.,-206.,
- -2.,-36.,-70.,-104.,-138.,-172.,-206.};
+};
 
 //----------------------------------------------------------------------  
 const Int_t AliMUONTriggerConstants::fgCircuitId[234]=