Resolve "Beampipe reduced by 5 mm for ACTS geometry"
Compare changes
+ 48
− 21
@@ -49,30 +49,33 @@ static Ref_t create_detector(Detector& det, xml_h e, SensitiveDetector sens) {
@@ -49,30 +49,33 @@ static Ref_t create_detector(Detector& det, xml_h e, SensitiveDetector sens) {
double IP_beampipe_ID = IP_beampipe_OD - 2.0 * IP_beampipe_gold_thickness - 2.0 * IP_beampipe_wall_thickness;
@@ -92,17 +95,37 @@ static Ref_t create_detector(Detector& det, xml_h e, SensitiveDetector sens) {
@@ -92,17 +95,37 @@ static Ref_t create_detector(Detector& det, xml_h e, SensitiveDetector sens) {
Tube downstream_IP_gold(IP_beampipe_ID/2.0, IP_beampipe_ID/2.0 + IP_beampipe_gold_thickness, downstream_straight_length/2.0);
Tube downstream_IP_tube(IP_beampipe_ID/2.0 + IP_beampipe_gold_thickness, IP_beampipe_OD/2.0, downstream_straight_length/2.0);
Tube upstream_IP_gold(IP_beampipe_ID/2.0, IP_beampipe_ID/2.0 + IP_beampipe_gold_thickness, upstream_straight_length/2.0);
Tube upstream_IP_tube(IP_beampipe_ID/2.0 + IP_beampipe_gold_thickness, IP_beampipe_OD/2.0, upstream_straight_length/2.0);
@@ -111,13 +134,17 @@ static Ref_t create_detector(Detector& det, xml_h e, SensitiveDetector sens) {
@@ -111,13 +134,17 @@ static Ref_t create_detector(Detector& det, xml_h e, SensitiveDetector sens) {
central_volume.placeVolume(v_upstream_IP_gold, Position(0, 0, -upstream_straight_length / 2.0 - central_offset));
central_volume.placeVolume(v_upstream_IP_tube, Position(0, 0, -upstream_straight_length / 2.0 - central_offset));
central_volume.placeVolume(v_downstream_IP_gold, Position(0, 0, downstream_straight_length / 2.0 - central_offset));
central_volume.placeVolume(v_downstream_IP_tube, Position(0, 0, downstream_straight_length / 2.0 - central_offset));