Skip to content

Commit

Permalink
XML file for oblique geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
myliu committed Mar 13, 2024
1 parent f1a0232 commit cd085c3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 246 deletions.
6 changes: 3 additions & 3 deletions Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_05.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@

<define>

<constant name="DC_layer_number" value="100"/>
<constant name="DC_layer_number" value="55"/>
<constant name="Alpha" value="12*deg"/>
<constant name="Gas_radius_min" value="DC_rbegin+DC_inner_wall_thickness+DC_safe_distance"/>
<constant name="Gas_half_length" value="DC_half_length-DC_Endcap_dz-DC_safe_distance"/>
<constant name="Gas_length" value="Gas_half_length*2"/>
<constant name="DC_cell_width" value="10*mm"/>
<constant name="DC_cell_width" value="18*mm"/>
<constant name="DC_inner_wall_radius_min" value="DC_rbegin"/>
<constant name="DC_inner_wall_radius_max" value="DC_rbegin+DC_inner_wall_thickness"/>
<constant name="DC_Endcap_rmin" value="DC_rbegin"/>
<constant name="DC_Endcap_rmax" value="DC_rend"/>

<constant name="DC_construct_wire" value="0"/>

<constant name="DC_layer_width" value="9.57687*mm"/>
<constant name="DC_layer_width" value="18*mm"/>

</define>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<include ref="../CRD_common_v01/VXD_v01_01.xml"/>
<include ref="../CRD_common_v01/FTD_SkewRing_v01_01.xml"/>
<include ref="../CRD_common_v01/SIT_SimplePixel_v01_01.xml"/>
<include ref="../CRD_common_v01/DC_Simple_v01_04_noWire.xml"/>
<include ref="../CRD_common_v01/DC_Simple_v01_05.xml"/>
<include ref="../CRD_common_v01/SET_SimplePixel_v01_01.xml"/>

<fields>
Expand Down
2 changes: 2 additions & 0 deletions Detector/DetDriftChamber/src/driftchamber/DriftChamber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ static dd4hep::Ref_t create_detector(dd4hep::Detector& theDetector,
}//end of loop over cell
dd4hep::Transform3D transform_layer(dd4hep::Rotation3D(),
dd4hep::Position(0,0,0));
dd4hep::PlacedVolume layer_phy = det_chamber_vol.placeVolume(layer_vol,transform_layer);
layer_phy.addPhysVolID("layer", layer_id);
}//end of loop over layers


Expand Down
Loading

0 comments on commit cd085c3

Please sign in to comment.