Curent bur fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Apr 2001 14:09:34 +0000 (14:09 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Apr 2001 14:09:34 +0000 (14:09 +0000)
START/AliSTARTv0.cxx
START/AliSTARTv1.cxx

index b4277b8..1b37782 100755 (executable)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.11  2001/04/04 12:10:18  alla
+changes according Coding Convension
+
 Revision 1.10  2000/12/04 08:48:19  alibrary
 Fixing problems in the HEAD
 
@@ -172,7 +175,7 @@ void AliSTARTv0::CreateGeometry()
     gMC->Gsvolu("0UO","TUBE",idtmed[6],pglass,3);
     z=ppmt[2]-pglass[2];
     //      printf("Z glass %f\n",z);
-    gMC->Gspos("0OU",1,"0PMT",0,0,z,0,"ONLY");
+    gMC->Gspos("0UO",1,"0PMT",0,0,z,0,"ONLY");
     //PMT electrodes support structure
     gMC->Gsvolu("0CE","TUBE",idtmed[4],pcer,3);
     gMC->Gsvolu("0IR","TUBE",idtmed[8],psteel,3);
index 3315b62..2784ebf 100755 (executable)
@@ -125,17 +125,16 @@ void AliSTARTv1::CreateGeometry()
        y=6.5*TMath::Cos(is*dang1);
        z=-pstart[2]+pinstart[2];
        gMC->Gspos("0INS",is,"0STA",x,y,z,idrotm[901+is],"ONLY");
-       printf("z PMT %f\n",z);
-
-       
-       x=0;
-       y=0;
-       z=-pinstart[2]+ppmt[2];
-       printf(" is %d, z Divider %f\n",is,z);
-       gMC->Gspos("0PMT",is,"0INS",x,y,z,0,"ONLY");
-       z=pinstart[2]-pdivider[2];
-       gMC->Gspos("0DIV",is,"0INS",x,y,z,0,"ONLY");
-      }
+
+      }        
+    x=0;
+    y=0;
+    z=-pinstart[2]+ppmt[2];
+    printf(" is %d, z Divider %f\n",is,z);
+    gMC->Gspos("0PMT",1,"0INS",x,y,z,0,"ONLY");
+    z=pinstart[2]-pdivider[2];
+    gMC->Gspos("0DIV",1,"0INS",x,y,z,0,"ONLY");
+      
      /*  
 //second ring: 20 units of Scintillator+PMT+divider
       Double_t dang2 = 2*TMath::Pi()/26;