Skip to content

Commit

Permalink
[DriftChamber] Remove separated file for parameters, set them in the …
Browse files Browse the repository at this point in the history
…DC compact
  • Loading branch information
BrieucF committed Aug 4, 2023
1 parent a2e68db commit 8bfd090
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 97 deletions.
82 changes: 74 additions & 8 deletions Detector/DetFCCeeIDEA/compact/IDEA_o1_v01/DriftChamber.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,63 @@
<lccdd>
<info name="CDCH" title="CDCH" author="CDCH" url="http://cern.ch/lhcb" status="development" version="$Id: $">
<info name="CDCH" title="CDCH" author="CDCH" status="development" version="$Id: $">
<comment>
Test Drift Chamber stack
Detector description for the IDEA Drift Chamber
</comment>
</info>

<!--
<includes>
<gdmlFile ref="DriftChambers_materials.xml"/>
<gdmlFile ref="DriftChambers_parameters.xml"/>
</includes>
-->
<!-- %%%%%% Central Drift Chamber Basic Parameters %%%%%% -->
<define>
<constant name = "CDCH:r0" value = "345.0*mm"/>
<constant name = "CDCH:z0" value = "0.0*mm"/>
<!-- zHalfLength is for the wire length, the total z extent of the detector will be zHalfLength + GasEndcapWallThick + CopperEndcapWallThick + KaptonEndcapWallThick + CarbonEndcapWallThick = 2250 mm;-->
<constant name = "CDCH:zHalfLength" value = "2000.00*mm"/>
<constant name = "CDCH:rOut" value = "2000.00*mm"/>
<!-- Angle for the rotation of phi sectors leading to the stereo angle of the wires (the way the chamber will be built)
alpha = angle between the line (0,0,-zHalfLength) - (wireX,wireY,-zHalfLength) and the line (0,0,+zHalfLength) - (wireX,wireY,+zHalfLength) projected on the -zHalfLength plane perpandicular to z
It is used to determine the radius of the hyperboloid in +- zHalfLength-->
<constant name = "CDCH:alpha" value = "30*degree"/>
<constant name = "CDCH:geomType" value = "50"/>
<constant name = "CDCH:nSWire" value = "192"/>
<constant name = "CDCH:nInGWire" value = "192"/>
<constant name = "CDCH:nOutGWire" value = "816"/>
<constant name = "CDCH:cellDimension" value = "11.846*mm"/>
<constant name = "CDCH:nSDeltaWire" value = "48"/>
<constant name = "CDCH:nSuperLayer" value = "4"/>
<constant name = "CDCH:nLayer" value = "2"/>
<!--<constant name = "CDCH:nSuperLayer" value = "14"/>
<constant name = "CDCH:nLayer" value = "8"/>
<constant name = "CDCH:nSuperLayer" value = "4"/>
<constant name = "CDCH:nLayer" value = "2"/>-->
<constant name = "CDCH:nVerticalFWire" value = "1"/>
<constant name = "CDCH:nStoFWireRatio" value = "5"/>
<constant name = "CDCH:nFieldWireShells" value = "2"/>
<constant name = "CDCH:FWireShellThickIn" value = "0.040*mm"/>
<constant name = "CDCH:FWireShellThickOut" value = "0.0003*mm"/>
<constant name = "CDCH:centerFWireShellThickIn" value = "0.050*mm"/> <!-- Field wires in the middle of the cell are thicker -->
<constant name = "CDCH:centerFWireShellThickOut" value = "0.0003*mm"/>
<constant name = "CDCH:SWireShellThickIn" value = "0.020*mm"/>
<constant name = "CDCH:SWireShellThickOut" value = "0.0003*mm"/>
<constant name = "CDCH:InGWireShellThickIn" value = "0.050*mm"/>
<constant name = "CDCH:InGWireShellThickOut" value = "0.0003*mm"/>
<constant name = "CDCH:OutGWireShellThickIn" value = "0.050*mm"/>
<constant name = "CDCH:OutGWireShellThickOut" value = "0.0003*mm"/>
<constant name = "CDCH:CarbonInnerWallThick" value = "0.2*mm"/>
<constant name = "CDCH:CopperInnerWallThick" value = "0.001*mm"/>
<constant name = "CDCH:GasInnerWallThick" value = "10.825*mm"/>
<constant name = "CDCH:Carbon1OuterWallThick" value = "2.5*mm"/>
<constant name = "CDCH:Carbon2OuterWallThick" value = "2.5*mm"/>
<constant name = "CDCH:CopperOuterWallThick" value = "0.018*mm"/>
<constant name = "CDCH:FoamOuterWallThick" value = "10.000*mm"/>
<constant name = "CDCH:GasEndcapWallThick" value = "249.98750*mm"/>
<constant name = "CDCH:CopperEndcapWallThick" value = "0.0005*mm"/>
<constant name = "CDCH:KaptonEndcapWallThick" value = "0.012*mm"/>
<constant name = "CDCH:CarbonEndcapWallThick" value = "0.240*mm"/>
<constant name = "CDCH:secure" value = "1.0e-2*mm"/>
<constant name = "CDCH:capGasLayer" value = "1.0e-3*mm"/>
<constant name = "CDCH:extShiftFW" value = "1.55e-3*mm"/>
<constant name = "CDCH:inGuardRad" value = "354.0*mm"/>
<constant name = "CDCH:outGuardRad" value = "1927.0*mm"/>
</define>

<detectors>
<detector id="DetID_DriftChamber" name="CDCH" type="DriftChamber_o1_v00" readout="CDCHHits" vis="CDCH">
Expand All @@ -24,4 +71,23 @@
</readout>
</readouts>

<display>
<vis name="vCDCH:Pb" alpha="1.0" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Sc" alpha="0.6" r="0.8" g="0.8" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Plastic" alpha="1.0" r="1.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Steel" alpha="0.0" showDaughters="true" visible="false"/>
<vis name="vCDCH:Gas1" alpha="1.0" r="0.0" g="1.0" b="0.0" showDaughters="true" visible="false"/>
<vis name="vCDCH:Gas2" alpha="1.0" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="false"/>
<vis name="vCDCH:Gas3" alpha="1.0" r="1.0" g="0.0" b="1.0" showDaughters="true" visible="false"/>
<vis name="vCDCH:Wire1" alpha="1.0" r="0.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Wire2" alpha="1.0" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Wire3" alpha="1.0" r="1.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Fwire" alpha="1.0" r="1.0" g="1.0" b="1.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Stack" showDaughters="true" visible="false"/>
<vis name="vCDCH:Fiber" alpha="1.0" r="0.8" g="0.8" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:ReadOutBox" alpha="1.0" r="0.8" g="0.5" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:ROSteel" alpha="1.0" r="0.8" g="0.5" b="0.0" showDaughters="true" visible="true"/>
<vis name="vCDCH:Air" showDaughters="true" visible="false"/>
</display>

</lccdd>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<gdmlFile ref="elements.xml"/>
<gdmlFile ref="materials.xml"/>
<gdmlFile ref="DriftChamber_materials.xml"/>
<gdmlFile ref="DriftChamber_parameters.xml"/>
</includes>

<define>
Expand Down

0 comments on commit 8bfd090

Please sign in to comment.