Skip to content

Fix tests.#491

Open
scott-snyder wants to merge 1 commit intoHEP-FCC:masterfrom
scott-snyder:test-20260307
Open

Fix tests.#491
scott-snyder wants to merge 1 commit intoHEP-FCC:masterfrom
scott-snyder:test-20260307

Conversation

@scott-snyder
Copy link
Copy Markdown

Update tests to use geometry files from k4geo, rather than the obsolete ones in FCCDetectors. The old ones fail due to errors in the type_flags elements. These were previously not failing because dd4hep was hiding the errors. However, a side effect of this change

AIDASoft/DD4hep#1578

is that dd4hep is properly reporting the errors.

Also, run the ubuntu build only with the nightly on ubuntu24.

Update tests to use geometry files from k4geo, rather than the obsolete
ones in FCCDetectors.  The old ones fail due to errors in the type_flags
elements.  These were previously not failing because dd4hep was
hiding the errors.  However, a side effect of this change

AIDASoft/DD4hep#1578

is that dd4hep is properly reporting the errors.

Also, run the ubuntu build only with the nightly on ubuntu24.
@tmadlener
Copy link
Copy Markdown
Contributor

Since I just ran into similar failures in a different context. Can you tell me how this fixes issues with the type flags? This seems to only change detector models, but it doesn't touch any xml file. What am I missing here?

@scott-snyder
Copy link
Copy Markdown
Author

The DetType_ symbols are defined in the file detector_types.xml from DD4hep. This should be included from the top-level detector xml files, but this was not the case for most of the configurations in FCCDetectors. The versions in k4geo do however do this. Since the maintained versions are now the ones in k4geo, it seemed better to switch to using those versions rather than try to fix the ones in FCCDetectors.

@tmadlener
Copy link
Copy Markdown
Contributor

Ah, alright. That makes sense. Thanks a lot for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants