-
Notifications
You must be signed in to change notification settings - Fork 13
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
include HCal Endcap in run_thetamodulemerged.py #31
base: main
Are you sure you want to change the base?
Conversation
- will work when the following PRs are merged HEP-FCC/k4RecCalorimeter#91 key4hep/k4geo#350
Hi @mmlynari , |
hi @mmlynari you mentioned in the ALLEGRO meeting that you had implemented also the merging of the hcal endcap cells and tested with clustering, but I can't see these changes here - where are they? I am asking because I am working on an updated version of the digi+reco script for the calorimeters (with ddsim+kr4un) and I would like to include also the HCAL endcap |
Hi @giovannimarchiori , sorry, I forgot to update the scripts with the most up-to-date changes. I committed it now |
Thanks! I don't see where the name of 2nd endcap readout is defined but I assume it's the 2nd one in k4geo HCalEndcapReadout_phitheta ? |
my bad. yes, it's HCalEndcapReadout_phitheta and I updated the code |
Thanks! And about the SW clustering, should I pass the HCAL endcap collection to the tower tool via hcalExtBarrelCells or hcalEndcapCells? I'm currently going with the latter |
I think hcalEndcapCells is more appropriate. just please double-check that it works. because I was only testing it for standalone hcal, and I am not 100% sure that it won't crash when we include also other subdetectors |
Hi @mmlynari , cellPositionHcalBarrelTool = CellPositionsHCalBarrelPhiThetaSegTool( to cellPositionHcalBarrelTool = CellPositionsHCalPhiThetaSegTool( ? do we need to pass some extra parameters (detectorName and so on)? |
thanks a lot @mmlynari! I think I put the barrel and endcap HCal stuff in there correctly but it'd be good if you could have a look. I ran over 100 events of 50-GeV pions at theta=90 and 100 events of 50-GeV pions at theta=160 and I get clusters of energies typically around 40-45 GeV in all the events so this looks pretty good to me |
update CellPositionsTool for HCal Allegro HEP-FCC/k4RecCalorimeter#91
addExtensionsToHCalAllegro key4hep/k4geo#350