You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having problems using the CAD-based models of the FCCee MDI under MDI_o1_v01 .
I get an error like:
Compact ERROR ++ FAILED to convert subdetector: Beampipe_STL: Cannot find a material referenced by name:DefaultMaterial
It seems the specified materials are not being picked up correctly, and being replaced by "DefaultMaterial"?
I found the discussion , as far as I can see from that discussion, the current code follows the recommendations.
I believe that I could use these models several months ago (~September 2024), but I'm afraid I cannot remember in exactly which setup...
...
DetElementObject VERB +++ Created new DetElementObject('Beampipe_STL', -1)
TestShape DEBUG +++ Create shape: Beampipe_STL build type is: BUILD_DEFAULT
Compact ERROR ++ FAILED to convert subdetector: Beampipe_STL: Cannot find a material referenced by name:DefaultMaterial
terminate called after throwing an instance of 'std::runtime_error'
what(): Cannot find a material referenced by name:DefaultMaterial
Aborted
Additional context
No response
The text was updated successfully, but these errors were encountered:
@atolosadelgado thanks, adding a DefaultMaterial definition seems to fix this problem.
I checked using g4MaterialScan that the actual material used is indeed the requested one (e.g. AlBeMet162 for the beampipe) rather than the DefaultMaterial.
Every model which uses CAD shapes should ensure that a DefaultMaterial is defined!
How about a common description of elements and common materials in k4geo which all models could use?
It seems there is a lot of unnecessary duplication at present...
I wanted to report that using the latest version of ke4geo and key4hep (03-10-2024) I was able to build with the IDEA-01-v03 with the CAD beampipe and use it to generate some data.
Check duplicate issues.
Goal
Hi,
I'm having problems using the CAD-based models of the FCCee MDI under MDI_o1_v01 .
I get an error like:
It seems the specified materials are not being picked up correctly, and being replaced by "DefaultMaterial"?
I found the discussion , as far as I can see from that discussion, the current code follows the recommendations.
I believe that I could use these models several months ago (~September 2024), but I'm afraid I cannot remember in exactly which setup...
Thanks for your help,
Cheers,
Daniel.
Operating System and Version
RH9
compiler
gcc11.4.1
The version of the key4hep stack
/cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh -r 2025-01-20
Package Version
latest k4geo and/or dd4hep
Reproducer
A minimal example:
Additional context
No response
The text was updated successfully, but these errors were encountered: