]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Correct x-position of chambers.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Oct 2000 19:51:18 +0000 (19:51 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Oct 2000 19:51:18 +0000 (19:51 +0000)
MUON/AliMUON.cxx

index cc0658b7c1566f6da3189b8b652554343c637e4d..8bcb1287edcc6b3a04fe32d88f6cbb5e2fa38594 100644 (file)
@@ -14,6 +14,9 @@
  **************************************************************************/
 /*
 $Log$
+Revision 1.35  2000/10/24 19:46:21  morsch
+BuildGeometry updated for slats in station 3-4.
+
 Revision 1.34  2000/10/18 11:42:06  morsch
 - AliMUONRawCluster contains z-position.
 - Some clean-up of useless print statements during initialisations.
@@ -531,7 +534,7 @@ void AliMUON::BuildGeometry()
 
                char nameSlat[9];
                
-               Float_t xpos=4.;
+               Float_t xpos=2.;
                Float_t ypos1=-0.75+20.;
                Float_t ypos2= 0.75-20.;
                if (i!=2) {
@@ -552,8 +555,10 @@ void AliMUON::BuildGeometry()
                    sprintf(nameSlat,"SLAT%d",100*id+j);
                    new TBRIK(nameSlat,"Slat Module","void",20.*npcb[j],20.,0.25);
                    node->cd();
-                   xpos=20.*npcb[j]+4;
-                   if (j==0) xpos+=30;
+                   xpos=20.*npcb[j]+2;
+
+                   if (j==0 && i!=2) xpos+=37.5;
+                   if (j==0 && i==2) xpos+=40;
 
                    color =  TMath::Even(j) ? kColorMUON2 : kColorMUON3;