Fix in sensor size calculation
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Apr 2013 22:35:00 +0000 (22:35 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Apr 2013 22:35:00 +0000 (22:35 +0000)
ITS/UPGRADE/AliITSUSegmentationPix.cxx

index 0d4d796..1265199 100644 (file)
@@ -71,7 +71,7 @@ AliITSUSegmentationPix::AliITSUSegmentationPix(UInt_t id, int nchips,int ncol,in
 {
   // Default constructor, sizes in cm
   if (nchips) SetUniqueID( AliITSUGeomTGeo::ComposeDetTypeID(id) );
-  fChipDZ = (fNColPerChip-2)*fPitchZ;
+  fChipDZ = (fNColPerChip-2)*fPitchZ + fPitchZLftCol + fPitchZRgtCol;;
   fDxActive = fNRow*fPitchX;
   fDzActive = fNChips*fChipDZ;
   SetDetSize( fDxActive + fGuardTop+fGuardBot,