Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
GeomConverter/bin/GeomConverter -o lcdd compact.xml mydet.lcdd

How do I define constants?

What "magic" constants are expected by the compact reader?

No Format

<define>

  <!-- centimeters -->
  <constant name="cm" value="10"/>

  <!-- world -->
  <constant name="world_side" value="30000" />
  <constant name="world_x" value="world_side" />
  <constant name="world_y" value="world_side" />
  <constant name="world_z" value="world_side" />

  <!-- tracking region -->
  <constant name="tracking_region_radius" value="175.*cm"/>
  <constant name="tracking_region_zmax" value="282.*cm"/>

</define>

How do I create my own compact detector?

...

Projective Z plane (projective endcap).

No Format
<readout name="HcalEndcapHits"HcalEndcapHits">
  <segmentation type="ProjectiveZPlane" thetaBins="600" phiBins="1200"/>
  <id>layer:7,system:6,barrel:3,theta:32:11,phi:11</id>
</readout>

Projective cylinder.

No Format

<readout name="HcalBarrHits">
  <segmentation type="ProjectiveZPlaneProjectiveCylinder" thetaBins="600" phiBins="1200"/>
  <id>layer:7,system:6,barrel:3,theta:32:11,phi:11</id>
</readout>

How do I define a silicon tracker?

Tracker barrelProjective cylinder.

No Format
<readout<detector id="1" name="HcalBarrHitsTrackerBarrel" type="MultiLayerTracker" readout="TkrBarrHits">
  <segmentation type="ProjectiveCylinder" thetaBins="600" phiBins="1200"/>
  <id>layer:7,system:6,barrel:3,theta:32:11,phi:11</id>
</readout>

How do I define a silicon tracker?

<layer id="1" inner_r = "20.000*cm" outer_z = "26.7*cm">
  <slice material = "Silicon" thickness = "0.00048*cm" />
  <!-- N layers can go here -->
</layer>

Tracker endcapTracker barrel.

No Format
<detector id="114" name="TrackerBarrelTrackerEndcap" type="MultiLayerTracker"DiskTracker" reflect="true" readout="TkrBarrHitsTkrEndcapHits">
  <layer id="1" inner_r = "20.000"4.0*cm" inner_z = "30.0*cm" outer_zr = "2625.7000*cm">
    <slice material = "Silicon" thickness = "0.0004803*cm" sensitive = "yes" />
  </layer>
  <!-- N layers can go here -->
</layer>

...

detector>

How do I define a TPC?

No Format
<detector id="142" name="TrackerEndcapTPC" type="DiskTrackerTPC" reflect="true" readout="TkrEndcapHitsTPCHits">
  <layer id="1" <dimensions inner_r = "436.02*cm" innerouter_z = "30250.0*cm" outer_r = "25.000*cm/>
  <layer repeat="200">
    <slice material = "SiliconP10" thickness = "0.03*cm"tpc_gas_thickness" sensitive = "yes" />
  </layer>
  <!-- N layers can go here -->
</detector>

How do I define a

...

How do I define a tracker readout?

Unlike calorimeters, tracker hits are written out "in the raw" without any digitization (or binning), so no segmentation is used at the simulation level.

...

How do I define the magnetic field?

...

?

How do I define a new material?

...