1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?xml version="1.0"?>
<DDDefinition>
<ConstantsSection label="pltbcm">
<!-- PLT-BCM volume constants -->
<Constant name="PltBcmZ1" value="1.700*m"/>
<Constant name="PltBcmZ2" value="1.900*m"/>
<Constant name="PltBcmZ" value="([PltBcmZ2]+[PltBcmZ1])/2"/>
<Constant name="PltBcmDZ" value="([PltBcmZ2]-[PltBcmZ1])/2"/>
<Constant name="PltBcmInnerRadius" value="[cms:TrackBeamR12]"/>
<Constant name="PltBcmOuterRadius" value="[cms:TrackLumiR1]"/>
</ConstantsSection>
<!-- Create geometrical shapes of volumes-->
<SolidSection label="pltbcm">
<Tubs name="PLTBCM" rMin="[PltBcmInnerRadius]" rMax="[PltBcmOuterRadius]" dz="[PltBcmDZ]" startPhi="0*deg" deltaPhi="360*deg"/>
</SolidSection>
<!-- Define the materials of the geometrical shapes -->
<LogicalPartSection label="pltbcm">
<LogicalPart name="PLTBCM" category="unspecified">
<rSolid name="PLTBCM"/>
<rMaterial name="materials:Air"/>
</LogicalPart>
</LogicalPartSection>
<!-- Position -->
<PosPartSection label="pltbcm">
<!-- Volumes in -Z and +Z -->
<PosPart copyNumber="1">
<rParent name="pixfwd:PixelForwardZplus"/>
<rChild name="pltbcm:PLTBCM"/>
<rRotation name="rotations:000D"/>
<Translation x="0*fm" y="0*fm" z="([PltBcmZ]-[pixfwd:ZPixelForward])"/>
</PosPart>
<PosPart copyNumber="2">
<rParent name="pixfwd:PixelForwardZminus"/>
<rChild name="pltbcm:PLTBCM"/>
<rRotation name="pixfwdCommon:Y180"/>
<Translation x="0*fm" y="0*fm" z="-([PltBcmZ]-[pixfwd:ZPixelForward])"/>
</PosPart>
</PosPartSection>
</DDDefinition>
|