Skip to content
Snippets Groups Projects
Commit 5c0f897c authored by shexin@ihep.ac.cn's avatar shexin@ihep.ac.cn Committed by FU Chengdong
Browse files

Fix a bug in TPC_ModularEndcap_o1_v01.cpp when constructing Al frame position at the TPC endcap

parent 145e0d73
No related branches found
No related tags found
No related merge requests found
......@@ -29,16 +29,15 @@
<!--TODO: vertex cooling-->
<!--include ref="../CRD_common_v02/Beampipe_v01_03.xml"/-->
<!--preliminary vertex and tracker, to update/-->
<!--include ref="../CRD_common_v02/VXD_StaggeredLadder_v02_01.xml"/>
<include ref="../CRD_common_v02/VXD_StaggeredLadder_v02_01.xml"/>
<include ref="../CRD_common_v02/FTD_SkewRing_v01_05.xml"/>
<include ref="../CRD_common_v02/SIT_SimplePixel_v01_03.xml"/>
<include ref="../CRD_common_v01/TPC_Simple_v10_02.xml"/>
<include ref="../CRD_common_v01/SET_SimplePixel_v01_01.xml"/-->
<include ref="./TPC_ModularEndcap_TDR_o1_v01.xml"/>
<!--include ref="../CRD_common_v01/TPC_Simple_v10_02.xml"/-->
<include ref="../CRD_common_v01/SET_SimplePixel_v01_01.xml"/>
<!--prepare for update, need check first-->
<!--include ref="../CRD_common_v02/TPC_ModularEndcap_o1_v01.xml"/-->
<include ref="../CRD_common_v01/SET_SimplePixel_v01_01.xml"/>
<include ref="../CRD_common_v02/TPC_ModularEndcap_o1_v01.xml"/>
<!--include ref="../CRD_common_v01/SET_SimplePixel_v01_01.xml"/-->
<fields>
<field name="InnerSolenoid" type="solenoid"
......
......@@ -371,7 +371,7 @@ static Ref_t create_element(Detector& theDetector, xml_h e, SensitiveDetector se
double phi_end = 2*M_PI;
Tube ringSolid(rCursor, r_end, dz_Alframe/2., phi_start, phi_end) ;
Volume ringLog( layerName+"Log", ringSolid, materialAlframe) ;
pv = endcapLog.placeVolume( ringLog, Position(0., 0., -dz_Endpaltelength/2. + dz_Alframe) ) ;
pv = endcapLog.placeVolume( ringLog, Position(0., 0., -dz_Endpaltelength/2. + dz_Alframe/2.) ) ;
tpc.setVisAttributes(theDetector,"GrayVis",ringLog);
}
if(layerType == "Module")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment