-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for new HCal segmentations #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Archil-AD,
thanks a lot, very useful!
I didn't do a full review of the code but I looked at the overall structure and I have a couple of doubts about (1) why the fixed size SW clustering does not work (or did I miss it) for the phi-row segmentation and (2) whether rather than overriding the phi-theta HCAL positioning tool it might have been better to add the handling of the new phi-theta (non-theta-projective) readout in a new positioning tool - this is rather a question for @BrieucF
Hi @giovannimarchiori , I was more focused on the topo-clustering, therefore, I did not implement the HCal phi-row segmentation in SW clustering. Best regards, |
Thanks Archil! Can you reflect this also in the release note of the pull request? |
We need to first merge key4hep/k4geo#409 to get the test working |
Hi Brieuc, the note now mentions the clustering is updated for both segmentation classes. Best regards, |
I launched the tests with the new nightlies. @giovannimarchiori all good for you? |
Hi @BrieucF I had some doubts and tagged you where I would like to have your opinion |
Hi Archil, can you fix the tests: https://github.com/HEP-FCC/k4RecCalorimeter/actions/runs/12099331416/job/33906423969?pr=128#step:3:5266? |
Sorry I missed that. (1) is addressed, right? For (2), if I understand correctly your doubt @giovannimarchiori , I agree that we should keep |
Yes! |
Hi @BrieucF and @giovannimarchiori , should I revert back the CellPositionsHCalPhiThetaSegTool and create a new tool? Best regards, |
Can't we keep both alive by adding an if here: k4RecCalorimeter/RecFCCeeCalorimeter/src/components/CellPositionsHCalPhiThetaSegTool.cpp Lines 32 to 49 in fa85e57
I think you also need to add another |
can not be done by just adding an if here, since the original CellPositionsHCalPhiThetaSegTool tool relies on the geo builder to calculate the radius of each layer, then the local position retrieved from the FCCSWGridPhiTheta_k4geo segmentation is converted into the global position using the calculated radii. |
if I revert back the layer radii calculation code in the positioning tool then I think it is possible to modify the code to work for old and new segmentation classes. |
If not too complicated yes, that would be nice! |
ok, let me see what I can |
…GridPhiTheta) and new segmentations (FCCSWHCalPhiTheta, FCCSWHCalPhiRow)
Done. |
Done. |
as I understand, it needs some updates in: should I rewrite this for new HCal segmentations? and add the clustering in the HCal endcap? |
Yes :-) can you also apply these changes here: https://github.com/HEP-FCC/FCC-config/blob/main/FCCee/FullSim/ALLEGRO/ALLEGRO_o1_v03/run_digi_reco.py ? |
OK, I will do that. where should I place the updated neighbours map to be accessible by the test? |
|
You can place the new neighbor map here /eos/project/f/fccsw-web/www/filesForSimDigiReco/ALLEGRO/ALLEGRO_o1_v03/ and here /eos/project/f/fccsw-web/www/filesForSimDigiReco/ALLEGRO/ALLEGRO_o1_v04/. I just gave you the rights to write there, it may take some time to synchronize. |
hi @BrieucF and @giovannimarchiori , I have updated the RecFCCeeCalorimeter/tests/options/ALLEGRO_o1_v03_digi_reco.py file and now tests seem to be passed in nightly. best regards, |
LGTM (the stable release tests are expected to fail). Thanks a lot Archil! Waiting for Giovanni to sign-off as well. |
I believed we tried to tie one positioning tool to one segmentation but maybe this is not so crucial and we do not need to enforce it strictly. |
Thanks Giovanni. Yes, given Archil's timeline, I'll merge now. We can indeed apply this change later in case having one positioning tool for multiple segmentations reveals itself to be confusing. |
Thanks a lot Archil! |
BEGINRELEASENOTES
ENDRELEASENOTES