Author: [log in to unmask] Date: Tue Mar 3 14:20:30 2015 New Revision: 2231 Log: Removed SVT, added scoring planes, using fieldmap scaled to By = -0.3309 Modified: java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/HPS-ECalCommissioning-v2-fieldmap.lcdd java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/compact.xml Modified: java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/HPS-ECalCommissioning-v2-fieldmap.lcdd ============================================================================= --- java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/HPS-ECalCommissioning-v2-fieldmap.lcdd (original) +++ java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/HPS-ECalCommissioning-v2-fieldmap.lcdd Tue Mar 3 14:20:30 2015 @@ -2,12 +2,39 @@ <lcdd xmlns:lcdd="http://www.lcsim.org/schemas/lcdd/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcdd/1.0/lcdd.xsd"> <header> <detector name="HPS-ECalCommissioning-v2-fieldmap" /> - <generator name="GeomConverter" version="1.0" file="../hpsSVN/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/compact.xml" checksum="3005811259" /> + <generator name="GeomConverter" version="1.0" file="detectors/HPS-ECalCommissioning-v2-fieldmap/compact.xml" checksum="2656631129" /> <author name="NONE" /> - <comment>HPS ECal commissioning for pass1 using a fieldmap scaled to By=-0.3309T</comment> + <comment>HPS ECal commissioning for pass2 with no SVT using a fieldmap scaled to By=-0.3309T</comment> </header> <iddict> <idspec name="TrackerHits" length="46"> + <idfield signed="false" label="system" length="6" start="0" /> + <idfield signed="false" label="barrel" length="3" start="6" /> + <idfield signed="false" label="layer" length="4" start="9" /> + <idfield signed="false" label="module" length="12" start="13" /> + <idfield signed="false" label="sensor" length="1" start="25" /> + <idfield signed="true" label="side" length="2" start="32" /> + <idfield signed="false" label="strip" length="12" start="34" /> + </idspec> + <idspec name="TrackerHitsECal" length="46"> + <idfield signed="false" label="system" length="6" start="0" /> + <idfield signed="false" label="barrel" length="3" start="6" /> + <idfield signed="false" label="layer" length="4" start="9" /> + <idfield signed="false" label="module" length="12" start="13" /> + <idfield signed="false" label="sensor" length="1" start="25" /> + <idfield signed="true" label="side" length="2" start="32" /> + <idfield signed="false" label="strip" length="12" start="34" /> + </idspec> + <idspec name="TrackerHitsFieldDef" length="46"> + <idfield signed="false" label="system" length="6" start="0" /> + <idfield signed="false" label="barrel" length="3" start="6" /> + <idfield signed="false" label="layer" length="4" start="9" /> + <idfield signed="false" label="module" length="12" start="13" /> + <idfield signed="false" label="sensor" length="1" start="25" /> + <idfield signed="true" label="side" length="2" start="32" /> + <idfield signed="false" label="strip" length="12" start="34" /> + </idspec> + <idspec name="TrackerHitsRecoil" length="46"> <idfield signed="false" label="system" length="6" start="0" /> <idfield signed="false" label="barrel" length="3" start="6" /> <idfield signed="false" label="layer" length="4" start="9" /> @@ -26,6 +53,14 @@ <sensitive_detectors> <tracker name="Tracker" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TrackerHits"> <idspecref ref="TrackerHits" /> + </tracker> + <tracker name="TrackerFieldDef" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TrackerHitsFieldDef"> + <idspecref ref="TrackerHitsFieldDef" /> + <hit_processor type="ScoringTrackerHitProcessor" /> + </tracker> + <tracker name="ECalScoring" ecut="0.0" eunit="MeV" verbose="0" hits_collection="TrackerHitsECal"> + <idspecref ref="TrackerHitsECal" /> + <hit_processor type="ScoringTrackerHitProcessor" /> </tracker> <calorimeter name="Ecal" ecut="0.0" eunit="MeV" verbose="0" hits_collection="EcalHits"> <idspecref ref="EcalHits" /> @@ -80,8 +115,8 @@ <constant name="y8b" value="-26.669668753164046" /> <constant name="a5b" value="0.0" /> <constant name="SA2" value="0.05" /> + <constant name="SA1" value="0.1" /> <constant name="tracking_region_min" value="50.0" /> - <constant name="SA1" value="0.1" /> <constant name="x4b" value="0.0" /> <constant name="a4t" value="0.0" /> <constant name="z3b" value="203.815" /> @@ -98,6 +133,7 @@ <constant name="y5t" value="23.669781251898428" /> <constant name="pivot" value="791.0" /> <constant name="y5b" value="-23.669781251898428" /> + <constant name="dipoleMagnetLength" value="1080.0" /> <constant name="x_rot_top_add" value="0.0" /> <constant name="z6b" value="311.185" /> <constant name="sensorLength" value="98.33" /> @@ -136,6 +172,7 @@ <constant name="y12b" value="-32.66944375569528" /> <constant name="a8b" value="0.0" /> <constant name="y3t" value="22.16983750126562" /> + <constant name="electronGapLeftEdge" value="382.492" /> <constant name="x12b" value="0.0" /> <constant name="x7b" value="0.0" /> <constant name="z10t" value="696.185" /> @@ -145,9 +182,11 @@ <constant name="x8t" value="0.0" /> <constant name="x11t" value="0.0" /> <constant name="a1b" value="0.0" /> + <constant name="dipoleMagnetWidth" value="1000.0" /> <constant name="z7b" value="503.815" /> <constant name="a9b" value="0.0" /> <constant name="y4b" value="-22.16983750126562" /> + <constant name="scoringThickness" value="0.001" /> <constant name="y4t" value="22.16983750126562" /> <constant name="x11b" value="0.0" /> <constant name="ytar" value="0.0" /> @@ -158,6 +197,7 @@ <constant name="a5t" value="0.0" /> <constant name="x9t" value="0.0" /> <constant name="x10t" value="0.0" /> + <constant name="electronGapRightEdge" value="474.962" /> <constant name="y1b" value="-20.66989375063281" /> <constant name="tracking_region_radius" value="2000.0" /> <constant name="z2t" value="96.185" /> @@ -173,8 +213,11 @@ <constant name="y10t" value="29.669556254429665" /> <constant name="x1t" value="0.0" /> <constant name="y9b" value="-29.669556254429665" /> + <constant name="dipoleMagnetHeight" value="1000.0" /> <constant name="a6t" value="0.0" /> <constant name="z1t" value="88.815" /> + <constant name="dipoleMagnetPositionZ" value="457.2" /> + <constant name="dipoleMagnetPositionX" value="21.17" /> <constant name="y2b" value="-20.66989375063281" /> <constant name="z9b" value="703.815" /> <constant name="x2b" value="0.0" /> @@ -266,6 +309,42 @@ <rotation name="Tracker_TestRunModule_layer12_module2_rotation" x="0.0" y="3.11107265359" z="-4.762388980385" unit="radian" /> <position name="Tracker_TestRunModule_layer12_module3_position" x="77.78176418167736" y="-32.66944375569528" z="909.7611277105613" unit="mm" /> <rotation name="Tracker_TestRunModule_layer12_module3_rotation" x="0.0" y="3.11107265359" z="-4.7123889803850005" unit="radian" /> + <position name="TestRunModuleFieldDefVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="TestRunModuleFieldDefVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="TestRunModuleFieldDefVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="TestRunModuleFieldDefVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="TestRunModuleFieldDefFlare2Volume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="TestRunModuleFieldDefFlare2Volume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="TestRunModuleFieldDefFlare2Volume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="TestRunModuleFieldDefFlare2Volume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="TrackerFieldDef_TestRunModuleFieldDef_layer1_module0_position" x="21.17" y="0.0" z="-82.80000000000001" unit="mm" /> + <rotation name="TrackerFieldDef_TestRunModuleFieldDef_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" /> + <position name="TrackerFieldDef_TestRunModuleFieldDefFlare2_layer2_module0_position" x="21.17" y="0.0" z="997.2" unit="mm" /> + <rotation name="TrackerFieldDef_TestRunModuleFieldDefFlare2_layer2_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" /> + <position name="BeamLeftVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="BeamLeftVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="BeamLeftVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="BeamLeftVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="ElectronGapVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="ElectronGapVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="ElectronGapVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="ElectronGapVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="BeamRightVolume_component0_position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="BeamRightVolume_component0_rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="BeamRightVolume_component0Sensor0Position" x="0.0" y="0.0" z="0.0" unit="mm" /> + <rotation name="BeamRightVolume_component0Sensor0Rotation" x="0.0" y="0.0" z="0.0" unit="radian" /> + <position name="ECalScoring_BeamLeft_layer1_module0_position" x="214.099" y="122.8" z="1338.001" unit="mm" /> + <rotation name="ECalScoring_BeamLeft_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" /> + <position name="ECalScoring_ElectronGap_layer1_module0_position" x="-23.38199999999999" y="130.465" z="1338.001" unit="mm" /> + <rotation name="ECalScoring_ElectronGap_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" /> + <position name="ECalScoring_BeamRight_layer1_module0_position" x="-216.31099999999998" y="121.3" z="1338.001" unit="mm" /> + <rotation name="ECalScoring_BeamRight_layer1_module0_rotation" x="0.0" y="0.0" z="-1.570796326795" unit="radian" /> + <position name="ECalScoring_BeamLeft_layer2_module0_position" x="214.099" y="-122.8" z="1338.001" unit="mm" /> + <rotation name="ECalScoring_BeamLeft_layer2_module0_rotation" x="0.0" y="0.0" z="-4.7123889803850005" unit="radian" /> + <position name="ECalScoring_ElectronGap_layer2_module0_position" x="-23.38199999999999" y="-130.465" z="1338.001" unit="mm" /> + <rotation name="ECalScoring_ElectronGap_layer2_module0_rotation" x="0.0" y="0.0" z="-4.7123889803850005" unit="radian" /> + <position name="ECalScoring_BeamRight_layer2_module0_position" x="-216.31099999999998" y="-121.3" z="1338.001" unit="mm" /> + <rotation name="ECalScoring_BeamRight_layer2_module0_rotation" x="0.0" y="0.0" z="-4.7123889803850005" unit="radian" /> <position name="crystal1-1_pos_pos_bot" x="50.052304484827026" y="-27.67473927539554" z="1473.1626281236922" unit="mm" /> <rotation name="crystal1-1_rot_pos_bot" x="-0.0084372997827221" y="-0.0084372997827221" z="0.0" unit="radian" /> <position name="crystal1-1_pos_neg_bot" x="35.00282593403595" y="-27.67473927539554" z="1473.1626281236922" unit="mm" /> @@ -1250,6 +1329,21 @@ <box name="TestRunModuleVolume_component0Box" x="40.34" y="100.0" z="0.32" /> <box name="TestRunModuleVolume_component0Sensor0Box" x="38.3399" y="98.33" z="0.32" /> <box name="TestRunModuleVolume_component1Box" x="40.34" y="100.0" z="0.08399999999999999" /> + <box name="TestRunModuleFieldDefBox" x="177.8" y="416.052" z="0.001" /> + <box name="TestRunModuleFieldDefVolume_component0Box" x="177.8" y="416.052" z="0.001" /> + <box name="TestRunModuleFieldDefVolume_component0Sensor0Box" x="177.8" y="416.052" z="0.001" /> + <box name="TestRunModuleFieldDefFlare2Box" x="210.37903820816865" y="416.052" z="0.001" /> + <box name="TestRunModuleFieldDefFlare2Volume_component0Box" x="210.37903820816865" y="416.052" z="0.001" /> + <box name="TestRunModuleFieldDefFlare2Volume_component0Sensor0Box" x="210.37903820816865" y="416.052" z="0.001" /> + <box name="BeamLeftBox" x="211.6" y="382.492" z="0.001" /> + <box name="BeamLeftVolume_component0Box" x="211.6" y="382.492" z="0.001" /> + <box name="BeamLeftVolume_component0Sensor0Box" x="211.6" y="382.492" z="0.001" /> + <box name="ElectronGapBox" x="196.26999999999998" y="92.46999999999997" z="0.001" /> + <box name="ElectronGapVolume_component0Box" x="196.26999999999998" y="92.46999999999997" z="0.001" /> + <box name="ElectronGapVolume_component0Sensor0Box" x="196.26999999999998" y="92.46999999999997" z="0.001" /> + <box name="BeamRightBox" x="214.6" y="293.38800000000003" z="0.001" /> + <box name="BeamRightVolume_component0Box" x="214.6" y="293.38800000000003" z="0.001" /> + <box name="BeamRightVolume_component0Sensor0Box" x="214.6" y="293.38800000000003" z="0.001" /> <trd name="crystal_trap" x1="13.3" x2="16.0" y1="13.3" y2="16.0" z="160.0" /> <eltube name="flange_egap_inside_tube" lunit="mm" dx="26.33" dy="26.33" dz="30" /> <eltube name="flange_photontube_inside" lunit="mm" dx="11" dy="11" dz="30" /> @@ -1473,6 +1567,131 @@ <physvolid field_name="component" value="1" /> </physvol> </volume> + <volume name="TestRunModuleFieldDefVolume_component0Sensor0"> + <materialref ref="Vacuum" /> + <solidref ref="TestRunModuleFieldDefVolume_component0Sensor0Box" /> + <sdref ref="TrackerFieldDef" /> + </volume> + <volume name="TestRunModuleFieldDefVolume_component0"> + <materialref ref="Vacuum" /> + <solidref ref="TestRunModuleFieldDefVolume_component0Box" /> + <physvol> + <volumeref ref="TestRunModuleFieldDefVolume_component0Sensor0" /> + <positionref ref="TestRunModuleFieldDefVolume_component0Sensor0Position" /> + <rotationref ref="TestRunModuleFieldDefVolume_component0Sensor0Rotation" /> + <physvolid field_name="sensor" value="0" /> + </physvol> + </volume> + <volume name="TestRunModuleFieldDefVolume"> + <materialref ref="Vacuum" /> + <solidref ref="TestRunModuleFieldDefBox" /> + <physvol> + <volumeref ref="TestRunModuleFieldDefVolume_component0" /> + <positionref ref="TestRunModuleFieldDefVolume_component0_position" /> + <rotationref ref="TestRunModuleFieldDefVolume_component0_rotation" /> + <physvolid field_name="component" value="0" /> + </physvol> + </volume> + <volume name="TestRunModuleFieldDefFlare2Volume_component0Sensor0"> + <materialref ref="Vacuum" /> + <solidref ref="TestRunModuleFieldDefFlare2Volume_component0Sensor0Box" /> + <sdref ref="TrackerFieldDef" /> + </volume> + <volume name="TestRunModuleFieldDefFlare2Volume_component0"> + <materialref ref="Vacuum" /> + <solidref ref="TestRunModuleFieldDefFlare2Volume_component0Box" /> + <physvol> + <volumeref ref="TestRunModuleFieldDefFlare2Volume_component0Sensor0" /> + <positionref ref="TestRunModuleFieldDefFlare2Volume_component0Sensor0Position" /> + <rotationref ref="TestRunModuleFieldDefFlare2Volume_component0Sensor0Rotation" /> + <physvolid field_name="sensor" value="0" /> + </physvol> + </volume> + <volume name="TestRunModuleFieldDefFlare2Volume"> + <materialref ref="Vacuum" /> + <solidref ref="TestRunModuleFieldDefFlare2Box" /> + <physvol> + <volumeref ref="TestRunModuleFieldDefFlare2Volume_component0" /> + <positionref ref="TestRunModuleFieldDefFlare2Volume_component0_position" /> + <rotationref ref="TestRunModuleFieldDefFlare2Volume_component0_rotation" /> + <physvolid field_name="component" value="0" /> + </physvol> + </volume> + <volume name="BeamLeftVolume_component0Sensor0"> + <materialref ref="Vacuum" /> + <solidref ref="BeamLeftVolume_component0Sensor0Box" /> + <sdref ref="ECalScoring" /> + </volume> + <volume name="BeamLeftVolume_component0"> + <materialref ref="Vacuum" /> + <solidref ref="BeamLeftVolume_component0Box" /> + <physvol> + <volumeref ref="BeamLeftVolume_component0Sensor0" /> + <positionref ref="BeamLeftVolume_component0Sensor0Position" /> + <rotationref ref="BeamLeftVolume_component0Sensor0Rotation" /> + <physvolid field_name="sensor" value="0" /> + </physvol> + </volume> + <volume name="BeamLeftVolume"> + <materialref ref="Vacuum" /> + <solidref ref="BeamLeftBox" /> + <physvol> + <volumeref ref="BeamLeftVolume_component0" /> + <positionref ref="BeamLeftVolume_component0_position" /> + <rotationref ref="BeamLeftVolume_component0_rotation" /> + <physvolid field_name="component" value="0" /> + </physvol> + </volume> + <volume name="ElectronGapVolume_component0Sensor0"> + <materialref ref="Vacuum" /> + <solidref ref="ElectronGapVolume_component0Sensor0Box" /> + <sdref ref="ECalScoring" /> + </volume> + <volume name="ElectronGapVolume_component0"> + <materialref ref="Vacuum" /> + <solidref ref="ElectronGapVolume_component0Box" /> + <physvol> + <volumeref ref="ElectronGapVolume_component0Sensor0" /> + <positionref ref="ElectronGapVolume_component0Sensor0Position" /> + <rotationref ref="ElectronGapVolume_component0Sensor0Rotation" /> + <physvolid field_name="sensor" value="0" /> + </physvol> + </volume> + <volume name="ElectronGapVolume"> + <materialref ref="Vacuum" /> + <solidref ref="ElectronGapBox" /> + <physvol> + <volumeref ref="ElectronGapVolume_component0" /> + <positionref ref="ElectronGapVolume_component0_position" /> + <rotationref ref="ElectronGapVolume_component0_rotation" /> + <physvolid field_name="component" value="0" /> + </physvol> + </volume> + <volume name="BeamRightVolume_component0Sensor0"> + <materialref ref="Vacuum" /> + <solidref ref="BeamRightVolume_component0Sensor0Box" /> + <sdref ref="ECalScoring" /> + </volume> + <volume name="BeamRightVolume_component0"> + <materialref ref="Vacuum" /> + <solidref ref="BeamRightVolume_component0Box" /> + <physvol> + <volumeref ref="BeamRightVolume_component0Sensor0" /> + <positionref ref="BeamRightVolume_component0Sensor0Position" /> + <rotationref ref="BeamRightVolume_component0Sensor0Rotation" /> + <physvolid field_name="sensor" value="0" /> + </physvol> + </volume> + <volume name="BeamRightVolume"> + <materialref ref="Vacuum" /> + <solidref ref="BeamRightBox" /> + <physvol> + <volumeref ref="BeamRightVolume_component0" /> + <positionref ref="BeamRightVolume_component0_position" /> + <rotationref ref="BeamRightVolume_component0_rotation" /> + <physvolid field_name="component" value="0" /> + </physvol> + </volume> <volume name="crystal_volume"> <materialref ref="LeadTungstate" /> <solidref ref="crystal_trap" /> @@ -1823,6 +2042,24 @@ <physvolid field_name="module" value="3" /> </physvol> <physvol> + <volumeref ref="TestRunModuleFieldDefVolume" /> + <positionref ref="TrackerFieldDef_TestRunModuleFieldDef_layer1_module0_position" /> + <rotationref ref="TrackerFieldDef_TestRunModuleFieldDef_layer1_module0_rotation" /> + <physvolid field_name="system" value="30" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="1" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> + <volumeref ref="TestRunModuleFieldDefFlare2Volume" /> + <positionref ref="TrackerFieldDef_TestRunModuleFieldDefFlare2_layer2_module0_position" /> + <rotationref ref="TrackerFieldDef_TestRunModuleFieldDefFlare2_layer2_module0_rotation" /> + <physvolid field_name="system" value="30" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="2" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> <volumeref ref="svt_chamber_vol" /> <position name="svt_chamber_position" x="21.17" y="0" z="323.778" /> </physvol> @@ -1836,6 +2073,60 @@ <volumeref ref="tracking_volume" /> <positionref ref="identity_pos" /> <rotationref ref="identity_rot" /> + </physvol> + <physvol> + <volumeref ref="BeamLeftVolume" /> + <positionref ref="ECalScoring_BeamLeft_layer1_module0_position" /> + <rotationref ref="ECalScoring_BeamLeft_layer1_module0_rotation" /> + <physvolid field_name="system" value="29" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="1" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> + <volumeref ref="ElectronGapVolume" /> + <positionref ref="ECalScoring_ElectronGap_layer1_module0_position" /> + <rotationref ref="ECalScoring_ElectronGap_layer1_module0_rotation" /> + <physvolid field_name="system" value="29" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="1" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> + <volumeref ref="BeamRightVolume" /> + <positionref ref="ECalScoring_BeamRight_layer1_module0_position" /> + <rotationref ref="ECalScoring_BeamRight_layer1_module0_rotation" /> + <physvolid field_name="system" value="29" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="1" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> + <volumeref ref="BeamLeftVolume" /> + <positionref ref="ECalScoring_BeamLeft_layer2_module0_position" /> + <rotationref ref="ECalScoring_BeamLeft_layer2_module0_rotation" /> + <physvolid field_name="system" value="29" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="2" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> + <volumeref ref="ElectronGapVolume" /> + <positionref ref="ECalScoring_ElectronGap_layer2_module0_position" /> + <rotationref ref="ECalScoring_ElectronGap_layer2_module0_rotation" /> + <physvolid field_name="system" value="29" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="2" /> + <physvolid field_name="module" value="0" /> + </physvol> + <physvol> + <volumeref ref="BeamRightVolume" /> + <positionref ref="ECalScoring_BeamRight_layer2_module0_position" /> + <rotationref ref="ECalScoring_BeamRight_layer2_module0_rotation" /> + <physvolid field_name="system" value="29" /> + <physvolid field_name="barrel" value="0" /> + <physvolid field_name="layer" value="2" /> + <physvolid field_name="module" value="0" /> </physvol> <physvol> <volumeref ref="crystal_volume" /> Modified: java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/compact.xml ============================================================================= --- java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/compact.xml (original) +++ java/trunk/detector-data/detectors/HPS-ECalCommissioning-v2-fieldmap/compact.xml Tue Mar 3 14:20:30 2015 @@ -3,7 +3,7 @@ xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd"> <info name="HPS-ECalCommissioning-v2-fieldmap"> - <comment>HPS ECal commissioning for pass1 using a fieldmap scaled to By=-0.3309T </comment> + <comment>HPS ECal commissioning for pass2 with no SVT using a fieldmap scaled to By=-0.3309T </comment> </info> <define> @@ -21,7 +21,20 @@ <constant name="tracking_region_radius" value="200.0*cm"/> <constant name="tracking_region_min" value="5.0*cm"/> <constant name="tracking_region_zmax" value="131.8*cm"/> - + + <!-- dipole magnet --> + <constant name="dipoleMagnetPositionX" value="2.117*cm"/> + <constant name="dipoleMagnetPositionZ" value="45.72*cm"/> + <constant name="dipoleMagnetHeight" value="100*cm"/> + <constant name="dipoleMagnetWidth" value="100*cm"/> + <constant name="dipoleMagnetLength" value="108*cm"/> + + <!--scoring plane thickness--> + <constant name="scoringThickness" value="0.001"/> + <!--left and right edges of the electron gap for the ECal scoring plane, measured as distances from the BL edge of the flange--> + <constant name="electronGapLeftEdge" value="382.16+20*0.0166"/> + <constant name="electronGapRightEdge" value="471.94+20*0.1511"/> + <!-- ECAL crystal dimensions --> <constant name="ecal_front" value="13.3/2*mm" /> <constant name="ecal_back" value="16/2*mm" /> @@ -307,8 +320,54 @@ <module_placement name="TestRunModule" id="2" x="z12t*sin(y_rot)+(x12t+x_off+moduleLength/2*cos(SA2))*cos(y_rot)" y="y12t-moduleLength/2*sin(SA2)" z="(z12t-zst)*cos(y_rot)-(x12t+x_off)*sin(y_rot)" rx="x_rot_top" ry="PI-y_rot" rz="-3*PI/2-SA2-a12t"/> <module_placement name="TestRunModule" id="3" x="z12b*sin(y_rot)+(x12b+x_off+moduleLength/2)*cos(y_rot)" y="y12b" z="(z12b-zst)*cos(y_rot)-(x12b+x_off)*sin(y_rot)" rx="x_rot_bot" ry="PI-y_rot" rz="-3*PI/2-a12b"/> </layer> - </detector> - + </detector> + + <detector id="30" name="TrackerFieldDef" type="HPSTracker2" readout="TrackerHitsFieldDef" > + <comment>Boundary planes for magnetic field, also used as scoring planes</comment> +<!-- <constant name="dipoleMagnetHeight" value="17.78*cm"/> + <constant name="dipoleMagnetWidth" value="41.6052*cm"/>--> + <module name="TestRunModuleFieldDef"> + <box x="416.052" y="177.8" /> + <module_component thickness="scoringThickness" material = "Vacuum" sensitive="true"/> + </module> + <module name="TestRunModuleFieldDefFlare2"> + <box x="416.052" y="177.8+(327.66-177.8)*(dipoleMagnetPositionZ+dipoleMagnetLength/2-913.378)/385.572" /> + <module_component thickness="scoringThickness" material = "Vacuum" sensitive="true"/> + </module> + <layer id="1"> + <module_placement name="TestRunModuleFieldDef" id="0" x="dipoleMagnetPositionX" y="0" z="dipoleMagnetPositionZ-dipoleMagnetLength/2" rx="0" ry="0" rz="-PI/2"/> + </layer> + <layer id="2"> + <module_placement name="TestRunModuleFieldDefFlare2" id="0" x="dipoleMagnetPositionX" y="0" z="dipoleMagnetPositionZ+dipoleMagnetLength/2" rx="0" ry="0" rz="-PI/2"/> + </layer> + </detector> + + <detector id="29" name="ECalScoring" type="HPSTracker2" readout="TrackerHitsECal" insideTrackingVolume="false" > + <comment>Scoring plane after ECal flange for calibration studies</comment> + <module name="BeamLeft"> + <box x="electronGapLeftEdge" y="457.2/2-17" /> + <module_component thickness="scoringThickness" material = "Vacuum" sensitive="true"/> + </module> + <module name="ElectronGap"> + <box x="electronGapRightEdge-electronGapLeftEdge" y="(457.2-64.66)/2" /> + <module_component thickness="scoringThickness" material = "Vacuum" sensitive="true"/> + </module> + <module name="BeamRight"> + <box x="768.35-electronGapRightEdge" y="457.2/2-14" /> + <module_component thickness="scoringThickness" material = "Vacuum" sensitive="true"/> + </module> + <layer id="1"><!--top--> + <module_placement name="BeamLeft" id="0" x="(768.35-electronGapLeftEdge)/2+21.17" y="(457.2/2+17)/2" z="1318+20+scoringThickness" rx="0" ry="0" rz="-PI/2"/> + <module_placement name="ElectronGap" id="0" x="768.35/2-electronGapRightEdge+(electronGapRightEdge-electronGapLeftEdge)/2+21.17" y="(457.2/2+64.66/2)/2" z="1318+20+scoringThickness" rx="0" ry="0" rz="-PI/2"/> + <module_placement name="BeamRight" id="0" x="-1*electronGapRightEdge/2+21.17" y="(457.2/2+14)/2" z="1318+20+scoringThickness" rx="0" ry="0" rz="-PI/2"/> + </layer> + <layer id="2"><!--bottom--> + <module_placement name="BeamLeft" id="0" x="(768.35-electronGapLeftEdge)/2+21.17" y="-1*(457.2/2+17)/2" z="1318+20+scoringThickness" rx="0" ry="0" rz="-3*PI/2"/> + <module_placement name="ElectronGap" id="0" x="768.35/2-electronGapRightEdge+(electronGapRightEdge-electronGapLeftEdge)/2+21.17" y="-1*(457.2/2+64.66/2)/2" z="1318+20+scoringThickness" rx="0" ry="0" rz="-3*PI/2"/> + <module_placement name="BeamRight" id="0" x="-1*electronGapRightEdge/2+21.17" y="-1*(457.2/2+14)/2" z="1318+20+scoringThickness" rx="0" ry="0" rz="-3*PI/2"/> + </layer> + </detector> + <detector id="13" name="Ecal" type="HPSEcal3" insideTrackingVolume="false" readout="EcalHits" vis="ECALVis"> <comment>The crystal ECal</comment> @@ -329,6 +388,17 @@ <readout name="TrackerHits"> <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id> </readout> + <readout name="TrackerHitsFieldDef"> + <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id> + <processor type="ScoringTrackerHitProcessor" /> + </readout> + <readout name="TrackerHitsRecoil"> + <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id> + </readout> + <readout name="TrackerHitsECal"> + <id>system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12</id> + <processor type="ScoringTrackerHitProcessor" /> + </readout> <!-- <readout name="TargetHits"> <id>system:6,barrel:3,layer:4,wedge:4,module:12,sensor:1,side:32:-2,strip:12</id> </readout>-->