Skip to content

Commit

Permalink
Dc update (#55)
Browse files Browse the repository at this point in the history
* [DriftChamber] o1_v01 --> o1_v00 to avoid future conflict in k4geo

* [DriftChamber] Remove separated file for parameters, set them in the DC compact

* [DriftChamber] Remove DriftChamber_materials and put them in the central materials.xml

* [DriftChamber] Define the whole envolope as parameter instead of sensitive length
  • Loading branch information
BrieucF authored Aug 15, 2023
1 parent 468c9c8 commit daab3f9
Show file tree
Hide file tree
Showing 6 changed files with 170 additions and 498 deletions.
82 changes: 73 additions & 9 deletions Detector/DetFCCeeIDEA/compact/IDEA_o1_v01/DriftChamber.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,64 @@
<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:zHalfExtentWithServices" value = "2250.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.7475*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_v01" readout="CDCHHits" vis="CDCH">
<detector id="DetID_DriftChamber" name="CDCH" type="DriftChamber_o1_v00" readout="CDCHHits" vis="CDCH">
</detector>
</detectors>

Expand All @@ -24,4 +69,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>
Loading

0 comments on commit daab3f9

Please sign in to comment.