- // adjust lower sectors pad row positions and pad numbers
- fNRowLow = (Int_t(1.0001*(fRInnerLastWire-fRInnerFirstWire)/fInnerWWPitch)
- -2*fInnerDummyWire)/fNInnerWiresPerPad;
- if ( kMaxRows<fNRowLow) fNRowUp = kMaxRows;
- if (1>fNRowLow) return kFALSE;
- Float_t firstpad = fRInnerFirstWire+(fInnerDummyWire-0.5)*fInnerWWPitch
- +fInnerPadPitchLength/2.;
-
- for (i = 0;i<fNRowLow;i++)
- {
- Float_t x = firstpad +fInnerPadPitchLength*(Float_t)i;
- Float_t y = (x-0.5*fInnerPadPitchLength)*tan(fInnerAngle/2.)-fInnerFrameSpace-
- fInnerPadPitchWidth/2.;
- fPadRowLow[i] = x;
- fNPadsLow[i] = 1+2*(Int_t)(y/fInnerPadPitchWidth) ;
- }
+ Float_t firstrow = fInnerRadiusLow + 2.225 ;
+ for( i= 0;i<fNRowLow;i++)
+ {
+ Float_t x = firstrow + fInnerPadPitchLength*(Float_t)i;
+ fPadRowLow[i]=x;
+ // number of pads per row
+/*Float_t y = (x-0.5*fInnerPadPitchLength)*tan(fInnerAngle/2.)-fInnerWireMount-
+ fInnerPadPitchWidth/2.;*/
+ Float_t y = x*tan(fInnerAngle/2.)-fInnerWireMount;
+ fYInner[i]=y;
+ fNPadsLow[i] = 1+2*(Int_t)(y/fInnerPadPitchWidth) ;