Skip to content

Conversation

@ruse-traveler
Copy link
Contributor

Briefly, what does this PR introduce?

This PR adds DD4hep DetType flags to most detector elements missing them.

Note that since only FORWARD is defined as a flag, I opted to label the FF/FB elements as ENDCAP. Then, following what was done in the central tracker, only detectors and beampipes are labeled; support and other structures are not.

What kind of change does this PR introduce?

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No.

Does this PR change default behavior?

No.

@github-actions github-actions bot added topic: barrel Mid-rapidity detectors topic: forward Positive-rapidity detectors (hadron-going side) topic: backward Negative-rapidity detectors (electron-going side) topic: calorimetry topic: PID Particle identification topic: far-forward Deterctors for small-angle particles topic: far-backward labels Nov 14, 2025
@veprbl
Copy link
Member

veprbl commented Nov 17, 2025

Have you tested querying these values? I don't think this works without explicit calls to dd4hep::xml::setDetectorTypeFlag() in each constructor.

@ruse-traveler
Copy link
Contributor Author

Have you tested querying these values? I don't think this works without explicit calls to dd4hep::xml::setDetectorTypeFlag() in each constructor.

Oof! I haven't tried it out yet, but I'll report back when I do! If need be, I'll do a pass to add explicit calls where needed...

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

Labels

topic: backward Negative-rapidity detectors (electron-going side) topic: barrel Mid-rapidity detectors topic: calorimetry topic: far-backward topic: far-forward Deterctors for small-angle particles topic: forward Positive-rapidity detectors (hadron-going side) topic: PID Particle identification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants