Conversation
|
Have you tested querying these values? I don't think this works without explicit calls to |
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... |
Confirmed: you do indeed need an explicit call in each constructor. I just pushed a round of commits to add these calls to all sensitive detectors. I also now have a working example of how to extract the type flags during reconstruction/analysis. I'll do a pass with it to make sure I've haven't missed/messed up anything, and then post here and add the example to either snippets or benchmarks... |
Can you consider if it makes sense to upstream an addition to dd4hep? Symmetric colliders have forward in both directions, so this is EIC-inspired but in some sense of broader relevance too (for all those other asymmetric colliders in development.......). |
Yeah! I definitely think it makes sense upstream it to dd4hep! I suppose the FCC-eh proposal (or LHeC) might some other big use cases 🤷 (Though I also read a fun paper about running a muon collider with asymmetric beam energies a little bit ago...) |
|
All right! I think I squashed the ACTS warnings with the latest round of commits (thanks to some help from Copilot), and also resolved the merge conflict. This should be ready for another review! |
|
Marking irrelevant detectors as beampipe (itself) messes with Acts geometry conversion. |
ruse-traveler
left a comment
There was a problem hiding this comment.
Descoping to only add calorimeter tags.
ruse-traveler
left a comment
There was a problem hiding this comment.
Descoping to only add calorimeter tags.
Co-authored-by: Derek M Anderson <derek.murphy.anderson@protonmail.com>
Co-authored-by: Derek M Anderson <derek.murphy.anderson@protonmail.com>
Co-authored-by: Derek M Anderson <derek.murphy.anderson@protonmail.com>
|
Perhaps, this is because BIC is also a tracking detector. |








Briefly, what does this PR introduce?
This PR adds appropriate DD4hep
DetTypeflags to all calorimeters missing them. An example of how to extract these flags from calorimeter and tracker hits (where the latter includes PID output) is provided in snippets here.Note that when this PR was opened, there was no
FARflag defined, and so I opted to label the FF calorimeters asENDCAP. However, DD4hep#1573 adds this (alongsideBACKWARD). We should follow up to add these once we pick up this DD4hep version.What kind of change does this PR introduce?
DetType_{ELECTROMAGNETIC, HADRONIC}flags #993 )Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No.
Does this PR change default behavior?
No.