]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected a problem in rotation matrix number assignment
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 1999 09:11:49 +0000 (09:11 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 1999 09:11:49 +0000 (09:11 +0000)
TPC/AliTPCv0.cxx
TPC/AliTPCv1.cxx
TPC/AliTPCv2.cxx
TPC/AliTPCv3.cxx

index 63374202fb98e0b601719d609b52155a52d1e164..936f4c923d32f528cc622bf0768f2ad5618d692c 100644 (file)
@@ -60,7 +60,7 @@ void AliTPCv0::CreateGeometry()
   Int_t *idtmed = fIdtmed->GetArray();
 
   Float_t dm[21];
-  Int_t idrotm[100];
+  Int_t idrotm[120];
 
   Int_t nRotMat = 0;
 
index e4243016c9761a25408e3d4398f31e5eb429eba6..92539442e0bb0db26b0ad2356127573bec5676a3 100644 (file)
@@ -62,7 +62,7 @@ void AliTPCv1::CreateGeometry()
   Int_t *idtmed = fIdtmed->GetArray();
 
   Float_t dm[21];
-  Int_t idrotm[100];
+  Int_t idrotm[120];
 
   Int_t nRotMat = 0;
 
@@ -337,6 +337,7 @@ void AliTPCv1::CreateGeometry()
     phi1 = (Float_t)TMath::Nint(phi1);
 
     if (phi1 > 360.) phi1 -= 360.;
+
       
     theta1 = 90.;
     phi2   = 90.;
index 631d881ee75e9b495c667996573c64891bba56e8..3d968a189782aa381df8bb7f9d982cee637eba16 100644 (file)
@@ -55,7 +55,7 @@ void AliTPCv2::CreateGeometry()
   Int_t *idtmed = fIdtmed->GetArray();
 
   Float_t dm[21];
-  Int_t idrotm[100];
+  Int_t idrotm[120];
 
   Int_t nRotMat = 0;
 
@@ -363,7 +363,7 @@ void AliTPCv2::CreateGeometry()
 
     }    
 
-    gMC->Gsord("TLGA", 4);
+        gMC->Gsord("TLGA", 4);
 
   } // if strips selected
 
@@ -987,9 +987,9 @@ void AliTPCv2::StepManager()
   //
   // parameters used for the energy loss calculations
   //
-   const Float_t prim = 14.35; // number of primary collisions per 1 cm
-   const Float_t poti = 20.77e-9; // first ionization potential for Ne/CO2
-   const Float_t w_ion = 35.97e-9; // energy for the ion-electron pair creation 
+  const Float_t prim = 14.35; // number of primary collisions per 1 cm
+  const Float_t poti = 20.77e-9; // first ionization potential for Ne/CO2
+  const Float_t w_ion = 35.97e-9; // energy for the ion-electron pair creation 
 
   //  const Float_t prim = 17.65;
   //  const Float_t poti = 19.02e-9;
index 553c0d6b3e9ce1825fd758a88ea4dcb611172455..21a552e8ed7969e1513afcf78236580db7fd876c 100644 (file)
@@ -56,7 +56,7 @@ void AliTPCv3::CreateGeometry()
   Int_t *idtmed = fIdtmed->GetArray();
 
   Float_t dm[21];
-  Int_t idrotm[100];
+  Int_t idrotm[120];
 
   Int_t nRotMat = 0;