diff --git a/compact/pid/pfrich.xml b/compact/pid/pfrich.xml index 2126303ab..3652d0c46 100644 --- a/compact/pid/pfrich.xml +++ b/compact/pid/pfrich.xml @@ -129,6 +129,10 @@ side="PFRICH_sensor_sensitive_size" thickness="PFRICH_sensor_thickness" gap="0.2*mm" + windowmat="Quartz" + pcbmat="G10" + mpdmat="SiliconDioxide" + asicmat="SiliconCarbide" /> (_Unicode(thickness)); auto readoutName = detElem.attr(_Unicode(readout)); + auto HRPPD_WindowMat = description.material(sensorElem.attr(_Unicode(windowmat))); + auto HRPPD_PCBMat = description.material(sensorElem.attr(_Unicode(pcbmat))); + auto HRPPD_MPDMat = description.material(sensorElem.attr(_Unicode(mpdmat))); + auto HRPPD_ASICMat = description.material(sensorElem.attr(_Unicode(asicmat))); + double vesselRmin0 = dims.attr(_Unicode(rmin0)); double vesselRmin1 = dims.attr(_Unicode(rmin1)); double vesselRmax0 = dims.attr(_Unicode(rmax0)); @@ -334,11 +339,6 @@ static Ref_t createDetector(Detector& description, xml_h e, SensitiveDetector se /*--------------------------------------------------*/ // HRPPD material definition: - auto HRPPD_WindowMat = description.material("Quartz"); - auto HRPPD_PCBMat = description.material("G10"); - auto HRPPD_MPDMat = description.material("SiliconDioxide"); - auto HRPPD_ASICMat = description.material("SiliconCarbide"); - Box hrppd_Solid(xysize / 2, xysize / 2, hrppd_container_volume_thickness / 2); Volume hrppdVol_air(detName + "_air_hrppd", hrppd_Solid, air);