39 #ifndef XrayFluoMercuryDetectorConstruction_hh
40 #define XrayFluoMercuryDetectorConstruction_hh 1
88 {ThetaHPGe = 180.* CLHEP::deg - lat;};
132 G4bool mercuryGranularity;
162 G4Box* solidOhmicPos;
166 G4Box* solidOhmicNeg;
209 G4int NbOfPixelColumns;
262 void DefineDefaultMaterials();
266 void ComputeApparateParameters();
272 inline void XrayFluoMercuryDetectorConstruction::ComputeApparateParameters()
276 DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness;
280 DeviceSizeY =(NbOfPixelRows * std::max(ContactSizeXY,PixelSizeXY));
281 DeviceSizeX =(NbOfPixelColumns * std::max(ContactSizeXY,PixelSizeXY));
283 screenSizeXY = opticDia;
285 G4cout <<
"DeviceSizeX(cm): "<< DeviceSizeX/CLHEP::cm <<
G4endl;
286 G4cout <<
"DeviceSizeY(cm): "<< DeviceSizeY/CLHEP::cm <<
G4endl;
292 WorldSizeZ = 2 * mercurySunDistance ;
293 WorldSizeXY = (2 * distDe) + 2000 * CLHEP::km ;