- fOuterBoxThickness[0] = 2.5 ;
- fOuterBoxThickness[1] = 5.0 ;
- fOuterBoxThickness[2] = 5.0 ;
-
- fUpperPlateThickness = 4.0 ;
-
- fSecondUpperPlateThickness = 5.0 ;
-
- fCrystalSupportHeight = 6.95 ;
- fCrystalWrapThickness = 0.01 ;
- fCrystalHolderThickness = 0.005 ;
- fModuleBoxThickness = 2.0 ;
- fIPtoOuterCoverDistance = 447.0 ;
- fIPtoCrystalSurface = 460.0 ;
-
- fPinDiodeSize[0] = 1.71 ; //Values given by Odd Harald feb 2000
- fPinDiodeSize[1] = 0.0280 ; // 0.0280 is the depth of active layer in the silicon
- fPinDiodeSize[2] = 1.61 ;
-
- fUpperCoolingPlateThickness = 0.06 ;
- fSupportPlateThickness = 10.0 ;
- fLowerThermoPlateThickness = 3.0 ;
- fLowerTextolitPlateThickness = 1.0 ;
- fGapBetweenCrystals = 0.03 ;
-
- fTextolitBoxThickness[0] = 1.5 ;
- fTextolitBoxThickness[1] = 0.0 ;
- fTextolitBoxThickness[2] = 3.0 ;
-
- fAirThickness[0] = 0.4 ;
- fAirThickness[1] = 20.5175 ;
- fAirThickness[2] = 2.48 ;
-
- Float_t xtalModulePhiSize = fNPhi * ( fXtlSize[0] + 2 * fGapBetweenCrystals ) ;
- Float_t xtalModuleZSize = fNZ * ( fXtlSize[2] + 2 * fGapBetweenCrystals ) ;
+ fCrystalHalfSize[0] = 2.2 /2 ; //Half-Sizes of crystall
+ fCrystalHalfSize[1] = 18.0 /2 ;
+ fCrystalHalfSize[2] = 2.2 /2 ;
+
+ //APD + preamplifier
+
+ //fPinDiodeSize[0] = 1.71 ; //Values of ame PIN diode
+ //fPinDiodeSize[1] = 0.0280 ; // OHO 0.0280 is the depth of active layer
+ //fPinDiodeSize[2] = 1.61 ;
+
+ fPinDiodeHalfSize[0] = 0.5000 /2 ; // APD 5 mm side
+ fPinDiodeHalfSize[1] = 0.0100 /2 ; // APD bulk thickness
+ fPinDiodeHalfSize[2] = 0.5000 /2 ; // APD 5 mm side
+
+ fPreampHalfSize[0] = 1.5 / 2 ; // Preamplifier
+ fPreampHalfSize[1] = 0.5 / 2 ;
+ fPreampHalfSize[2] = 1.5 / 2 ;
+
+ //Strip unit (8x2 crystals)
+
+ fNCellsXInStrip = 8 ; //Number of crystals in strip unit along x-axis
+ fNCellsZInStrip = 2 ; //Number of crystals in strip unit along z-axis
+ fNStripX = 8 ; //Number of strip units across along x-axis
+ fNStripZ = 28 ; //Number of strips along z-axis
+
+ fStripWallWidthOut = 0.01 ; // Side to another strip
+ fStripWallWidthIn = 0.02 ; // Side betveen crystals in one strip
+
+ fTyvecThickness = 0.0175 ; //Thickness of the tyvec
+
+ fAirGapLed = 1.5 - 2 * fPreampHalfSize[1] - 2 * fPinDiodeHalfSize[1] ; // Air gap before crystalls for LED system
+ // Note, that Cell in Strip 1.5 longer then crystall
+
+ //---Now calculate thechnical sizes for GEANT implementation
+
+ fWrappedHalfSize[0] = (2*fTyvecThickness + 2*fCrystalHalfSize[0])/2 ; //This will be size of crystall
+ fWrappedHalfSize[1] = fCrystalHalfSize[1] ; //wrapped into tyvec
+ fWrappedHalfSize[2] = (2*fTyvecThickness + 2*fCrystalHalfSize[2])/2 ; //
+
+ fAirCellHalfSize[0] = fWrappedHalfSize[0] + 0.01;
+ fAirCellHalfSize[1] = (fAirGapLed + 2*fPreampHalfSize[1] +
+ 2*fPinDiodeHalfSize[1] + 2*fWrappedHalfSize[1])/2 ; //in strip
+ fAirCellHalfSize[2] = fWrappedHalfSize[2] + 0.01;
+
+ // fSupportPlateHalfSize[0] = ( (fNCellsXInStrip-1)*fStripWallWidthIn + 2*fStripWallWidthOut +
+ // fNCellsXInStrip * (2*fTyvecThickness + 2*fCrystalHalfSize[0]) )/2 ;
+ fSupportPlateHalfSize[0] = 18.04 /2 ;
+ fSupportPlateHalfSize[1] = 6.0 /2 ;
+// fSupportPlateHalfSize[2] = ( (fNCellsZInStrip-1)*fStripWallWidthIn + 2*fStripWallWidthOut +
+// fNCellsZInStrip * (2*fTyvecThickness + 2*fCrystalHalfSize[2]) )/2;
+ fSupportPlateHalfSize[2] = 4.51 /2 ;
+ fSupportPlateThickness = 0.3 ;
+ fSupportPlateInHalfSize[0] = fSupportPlateHalfSize[0] ; //Half-sizes of the air
+ fSupportPlateInHalfSize[1] = fSupportPlateHalfSize[1]-fSupportPlateThickness ; //box in the support plate
+ fSupportPlateInHalfSize[2] = fSupportPlateHalfSize[2]-fSupportPlateThickness/2 ;
+
+ fStripHalfSize[0]= fSupportPlateHalfSize[0] ;
+ fStripHalfSize[1]= ( 2*fSupportPlateHalfSize[1] + 2*fAirCellHalfSize[1] )/2;
+ fStripHalfSize[2]= fSupportPlateHalfSize[2] ;
+
+ // ------- Inner hermoinsulation ---------------
+ fInnerThermoWidthX = 2.0 ; // Width of the innerthermoinsulation across the beam
+ fInnerThermoWidthY = 2.0 ; // Width of the upper cover of innerthermoinsulation
+ fInnerThermoWidthZ = 2.0 ; // Width of the innerthermoinsulation along the beam
+
+ fInnerThermoHalfSize[0] = (2 * fStripHalfSize[0] * fNStripX + 2 * fInnerThermoWidthX ) /2 ;
+ fInnerThermoHalfSize[1] = (2 * fStripHalfSize[1] + fInnerThermoWidthY ) /2 ;
+ fInnerThermoHalfSize[2] = (2 * fStripHalfSize[2] * fNStripZ + 2 * fInnerThermoWidthZ ) /2 ;
+
+ // ------- Air gap between inner thermoinsulation and passive coller ---------
+
+ fAirGapWidthX = 0.2 ; // Width of the air gap across the beam
+ fAirGapWidthY = 0.2 ; // Width of the upper air gap
+ fAirGapWidthZ = 0.2 ; // Width of the air gap along the beam
+
+ fAirGapHalfSize[0] = (2 * fInnerThermoHalfSize[0] + 2 * fAirGapWidthX ) /2 ;
+ fAirGapHalfSize[1] = (2 * fInnerThermoHalfSize[1] + fAirGapWidthY ) /2 ;
+ fAirGapHalfSize[2] = (2 * fInnerThermoHalfSize[2] + 2 * fAirGapWidthZ ) /2 ;