Uploaded image for project: 'DD4hep'
  1. DD4hep
  2. DDFORHEP-4

using <composite> in material xml files results in wrong material properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Bug / Feature:
      Bug report
    • Development:

      Description

      see examples/ILDExDet/compact/materials.xml:

      <material name="Polystyrene">
      <D value="1.032" unit="g/cm3"/>
      <fraction n="0.077418" ref="H"/>
      <fraction n="0.922582" ref="C"/>
      </material>

      <!-- FIXME: definition with composites results
      in invalid material properties:
      Polystyrene Z: 135 A: 249.37 densitiy: 1.032 radiationLength: 1.19602 interactionLength: 1.1644

      • the above results in:
        Polystyrene Z: 5.61291 A: 11.1589 densitiy: 1.032 radiationLength: 42.0422 interactionLength: 70.7405

      -->
      <material name="Polystyrene_BAD">
      <D value="1.032" unit="g/cm3"/>
      <composite n="19" ref="C"/>
      <composite n="21" ref="H"/>
      </material>

        Attachments

          Activity

            People

            • Assignee:
              frankm Markus Frank
              Reporter:
              fgaede Frank-Dieter Gaede
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: