Fixed a small but in ZpitchFromCol so that it is fully consistant with
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2001 16:53:03 +0000 (16:53 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2001 16:53:03 +0000 (16:53 +0000)
the earlier version.

ITS/AliITSsegmentationSPD.cxx

index a302688..32c452e 100644 (file)
@@ -155,21 +155,21 @@ Float_t AliITSsegmentationSPD::ZFromCol(Int_t col) {
 Float_t AliITSsegmentationSPD::ZpitchFromCol(Int_t col) {
     // Get pitch size in z direction for each colunm
 
-   Float_t pitchz = 425;
+   Float_t pitchz = 425.;
     if(col < 0){
        pitchz = 0.0;
     } else if(col >=  31 && col <=  32) {
-       pitchz = 625;
+       pitchz = 625.;
     } else if(col >=  63 && col <=  64) {
-       pitchz = 625;
+       pitchz = 625.;
     } else if(col >=  95 && col <=  96) {
-       pitchz = 625;
+       pitchz = 625.;
     } else if(col >= 127 && col <= 128) {
-       pitchz = 625;
+       pitchz = 625.;
     } else if(col >= 159 && col <= 160) {
-       pitchz = 625;
+       pitchz = 625.;
     } else if(col>=192){
-       pitchz = 0.0;
+       pitchz = 425.;
     }
     return pitchz;
 }