39 #ifndef XrayFluoPlaneDetectorConstruction_hh
40 #define XrayFluoPlaneDetectorConstruction_hh 1
83 {planeGranularity = granularity;};
164 G4Box* solidOhmicPos;
168 G4Box* solidOhmicNeg;
204 G4int NbOfPixelColumns;
269 void DefineDefaultMaterials();
273 void ComputeApparateParameters();
279 inline void XrayFluoPlaneDetectorConstruction::ComputeApparateParameters()
283 DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness;
285 G4cout <<
"DeviceThickness(cm): "<< DeviceThickness/CLHEP::cm <<
G4endl;
287 DeviceSizeY =(NbOfPixelRows * std::max(ContactSizeXY,PixelSizeXY));
288 DeviceSizeX =(NbOfPixelColumns * std::max(ContactSizeXY,PixelSizeXY));
290 screenSizeXY = 2 * DeviceThickness + std::max(DeviceSizeY,DeviceSizeX);
292 G4cout <<
"DeviceSizeX(cm): "<< DeviceSizeX/CLHEP::cm <<
G4endl;
293 G4cout <<
"DeviceSizeY(cm): "<< DeviceSizeY/CLHEP::cm <<
G4endl;
295 WorldSizeZ = (2 * (DistDe + DeviceThickness + screenThickness)) + 5*CLHEP::m;
296 WorldSizeXY = (2 * (planeSizeXY))+ 5*CLHEP::m;