Skip to content

Adding FCC-SEED as option to all detectors and refactor IDEA/ALLEGRO vertex detector - #612

Open
armin-ilg wants to merge 17 commits into
key4hep:mainfrom
armin-ilg:FCC-SEED_PR
Open

Adding FCC-SEED as option to all detectors and refactor IDEA/ALLEGRO vertex detector#612
armin-ilg wants to merge 17 commits into
key4hep:mainfrom
armin-ilg:FCC-SEED_PR

Conversation

@armin-ilg

@armin-ilg armin-ilg commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

To ease the review process, please consider the following before opening a pull request:

If you are modifying detector dimensions or adding new xml parameters, also consider the following:

  • the xml file free parameters that can not be modified without additional prescriptions are well indicated
  • the changes in this PR have not introduced any overlaps. You can check so with the following command: ddsim --compactFile PATH_TO_COMPACT_FILE --runType run --ui.commandsInitialize "/geometry/test/run" > overlapDump.txt

BEGINRELEASENOTES

ENDRELEASENOTES

@Zehvogel

Zehvogel commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

For CLD I think it would fit our versioning scheme better if you add the FCC-SEED as a new option, i.e. CLD_o5_v01 :)

@armin-ilg

Copy link
Copy Markdown
Contributor Author

For CLD I think it would fit our versioning scheme better if you add the FCC-SEED as a new option, i.e. CLD_o5_v01 :)

The FCC-SEED option is now added as CLD_o5_v01, and the CLD disk material budget fix is CLD_o1_v09 (see #613)

@armin-ilg

Copy link
Copy Markdown
Contributor Author

Hi. The PR is now ready for review.

@Victor-Schwan @tmadlener : Do you want FCC-SEED to be the default vertex detector in ILD?

@BrieucF @giovannimarchiori : This PR includes the changes for ALLEGRO (pixel pitches and only one layer of Silicon Wrapper). FCC-SEED can be used for the inner vertex if desired.

@lopezzot : For IDEA only the structure of the vertex detector xml file is changed. One can, however, also use FCC-SEED as inner vertex if desired.

@andresailer @Zehvogel : The FCC-SEED option is now added as CLD_o5_v01, and the CLD disk material budget fix is CLD_o1_v09 (see #613).

@Zehvogel

Copy link
Copy Markdown
Collaborator

Hi @armin-ilg thank you for the contribution!

This is a particularly CLD-centric problem, but I think the PR would benefit from a cleanup of the commit history.
In the case of changes to CLD, we would like a structure similar to

  1. Copy version X as basis for version Y
  2. Add feature Z to version Y
    Otherwise, it is very difficult to perform the review.

Let me know if you have questions on how to do this. :)

@tmadlener

Copy link
Copy Markdown
Member

@Victor-Schwan @tmadlener : Do you want FCC-SEED to be the default vertex detector in ILD?

I think for now we prefer to stay with the current version to not introduce yet another moving part into our efforts of getting a full tracking/reconstruction chain going. We would then switch to this once we have a (technical) baseline in place.

Unrelated to ILD, this will almost certainly break the conversion to an Acts geometry that happens in the k4ActsTracking, so also the blueprint building in https://github.com/key4hep/k4ActsTracking/blob/main/k4ActsTracking/src/components/DD4hepBlueprintConstruction.cpp will have to be adapated accordingly.

@armin-ilg

Copy link
Copy Markdown
Contributor Author

@Victor-Schwan @tmadlener : Do you want FCC-SEED to be the default vertex detector in ILD?

I think for now we prefer to stay with the current version to not introduce yet another moving part into our efforts of getting a full tracking/reconstruction chain going. We would then switch to this once we have a (technical) baseline in place.

Unrelated to ILD, this will almost certainly break the conversion to an Acts geometry that happens in the k4ActsTracking, so also the blueprint building in https://github.com/key4hep/k4ActsTracking/blob/main/k4ActsTracking/src/components/DD4hepBlueprintConstruction.cpp will have to be adapated accordingly.

Thanks for the feedback, I changed the default back to the CLD vertex (the one from CLD_o2_v09 with the fixed disk mat. budget).

Indeed k4ActsTracking doesn't work yet with all detectors using VertexBarrel_detailed/VertexEndcap_detailed. This is on my to do list and I would tackle it in a future PR (just need to add the two blueprints as you pointed out).

@armin-ilg
armin-ilg force-pushed the FCC-SEED_PR branch 2 times, most recently from 68780e8 to 3d19bb5 Compare August 18, 2026 15:45
@armin-ilg

armin-ilg commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Hi @armin-ilg thank you for the contribution!

This is a particularly CLD-centric problem, but I think the PR would benefit from a cleanup of the commit history. In the case of changes to CLD, we would like a structure similar to

  1. Copy version X as basis for version Y
  2. Add feature Z to version Y
    Otherwise, it is very difficult to perform the review.

Let me know if you have questions on how to do this. :)

Hi @Zehvogel

I changed the commits as you described, with one commit copying the files from CLD_o2_v08 and the other one making changes on top for CLD_o5_v01 and CLD_o2_v09 (could certainly be improved further, but it's a bit complicated with so many commits over a long time). Hope this is okay now.

@Zehvogel

Copy link
Copy Markdown
Collaborator

Hi @armin-ilg, I appreciate the attempt, but this still looks like I will not be able to review it in a reasonable time. If you would rebase your changes on top of the current main, instead of this merge commit chaos, I think the history would approach being readable...

I know that it can be a very annoying process, especially with as many changes as this, but otherwise I have to try to perform this restructuring myself (either in my head or manually) to provide a meaningful review. The set of changes is too big to do it in my head, and I don't have the time in the near future to do it manually.

If it is already too complicated for you, who knows what the changes are, to structure them because it is too much at once, then how is someone without this insider knowledge supposed to understand what the changes are?

@armin-ilg
armin-ilg force-pushed the FCC-SEED_PR branch 2 times, most recently from a971448 to 380bdb4 Compare August 20, 2026 09:56
@armin-ilg

armin-ilg commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Hi @armin-ilg, thanks a lot! The changes for ALLEGRO (resolutions, 1 layer in Si-wrapper) are consistent with the requests from the tracker group. I would suggest to document these modifications in https://github.com/key4hep/k4geo/tree/main/FCCee/ALLEGRO/compact/README.md.

It is not clear to me how one should have to change the ALLEGRO compact files to have the FCC-seed vertex detector replace the current one - I wonder if it could be inserted as a commented code in the xml, or if one could add some mention of it in the README.

Done, thank you, this somehow got lost in tidying up the PR. Here's the commit: 0ea9c41

tmadlener and others added 10 commits August 24, 2026 13:08
…drivers (key4hep#636)

* Remove the filling of the NeighbourSurfacesData

They are not used in production anywhere and filling them pulls in an
LCIO dependency for k4geo

* Build all drivers regardless of K4GEO_USE_LCIO

All drivers can now be built without LCIO since the necessary bits where
only used for populating the NeighbourSurfacesData structures

* Deprecate the K4GEO_USE_LCIO option and remove LCIO dep
…st recent versions of FCC-ee vertex detectors. Use separate xml file for kapton layer on beam pipe, host in IDEA_o1_v04 folder
…#363 (comment)), but don't use them yet (overlaps still with beam pipe and vertex, redesign needed)
…es that can be combined: One xml for each inner barrel option, one xml for the IDEA/ALLEGRO outer barrel, one xml for the IDEA/ALLEGRO disks
…ion to overall DectDimensions files. Changed pitch of ALLEGRO vertex detector and silicon wrapper to be different to that of IDEA. Only use one Silicon Wrapper layer in ALLEGRO for the moment.

@giovannimarchiori giovannimarchiori left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me from ALLEGRO's perspective

@giovannimarchiori

Copy link
Copy Markdown
Collaborator

Ciao @lopezzot - would you have time to review this PR from IDEA's side?

@Zehvogel what about CLD?

@lopezzot

Copy link
Copy Markdown
Member

Ciao @lopezzot - would you have time to review this PR from IDEA's side?

Hi @giovannimarchiori, thank you for the question, but unfortunately I am not directly involved in the IDEA simulation anymore as I changed institute.

@SanghyunKo

Copy link
Copy Markdown
Collaborator

@lopezzot @giovannimarchiori Hello guys, we discussed about this in yesterday's full simulation meeting, and I'll take a look from the IDEA side. Thanks for the message though.

@SanghyunKo SanghyunKo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactoring part for IDEA generally looks okay. But my codex found a couple of potential bugs:

Comment thread FCCee/IDEA/compact/IDEA_o1_v04/VertexInnerBarrel_o1_v04.xml Outdated
Comment thread CMakeLists.txt Outdated
@armin-ilg
armin-ilg force-pushed the FCC-SEED_PR branch 2 times, most recently from c29619e to ad8f394 Compare September 9, 2026 18:51
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.

6 participants