bug fix (B. Nilsen)
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Feb 2008 06:31:54 +0000 (06:31 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Feb 2008 06:31:54 +0000 (06:31 +0000)
ITS/AliITSInitGeometry.cxx

index e5aca39..9ad4ae7 100644 (file)
@@ -2188,8 +2188,8 @@ void AliITSInitGeometry::DecodeDetectorv11Hybrid(Int_t &mod,Int_t layer,
   switch(layer) {
   case 1: case 2:{
     if (SPDIsTGeoNative()) {
-      lad = cpn1+kDetPerLadderSPD[layer-1]*(cpn0-1)+1;
-      det = cpn2 + 1;
+      lad = cpn1+kDetPerLadderSPD[layer-1]*(cpn0-1);
+      det = cpn2;
     } else {
       lad = cpn1+kDetPerLadderSPD[layer-1]*(cpn0-1);
       det = cpn2;
@@ -2552,3 +2552,4 @@ Bool_t AliITSInitGeometry::ReadVersionString(const Char_t *str,Int_t length,
     } // end switch
     return ok;
 }
+