DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
dd4hep_GenericSurfaceInstallerPlugin Namespace Reference

Plugin to install measurement surfaces on a generic sliced detector. More...

Detailed Description

Plugin to install measurement surfaces on a generic sliced detector.

Takes up to 13 arguments:

All the arguments are conveniently initialized to zero by default, therefore only the non-zero components need to be provided. For example, to use this plugin for the VertexEndcap detector, put this snippet in the relevant compact file:

<plugins>
      <plugin name="DD4hep_GenericSurfaceInstallerPlugin">
          <argument value="VertexEndcap"/>
          <argument value="dimension=2"/>
          <argument value="u_x=-1."/>
          <argument value="v_z=1."/>
          <argument value="n_y=1."/>
      </plugin>
</plugins>

The plugin assumes boxes are stacked along one of the primary axes, x,y or z The normal vector (n) must be along one of the axes (i.e. only one non-zero component). The inner/outer thicknesses are calculated according to n.

Note: Assumes module and component volumes are boxes. For Trapezoids, a fitting box is built around the trapezoid which means dx1=dx2=dx1 and dy1=dy2=dy. This is in principle fine, since we only access the thicknesses (DY in the TrackerEncapSurfacePlugin example) which is supposed to be the same.

For more information, please consult with GenericSurfaceInstaller.cpp