Repository navigation
Conversation
jbeirer
force-pushed
the
allegro-ecal-inclination
branch
from
December 5, 2026 18:43
e48bdda to
32854fc
Compare
jbeirer
force-pushed
the
calorimetry-evaluators
branch
from
December 5, 2026 18:43
ed9ca21 to
23413a4
Compare
- the scan covers 35-60 deg: below about 31.4 deg the ECAL needs more plates than the readout's 11-bit module field numbers (20 and 30 deg fail when Geant4 starts); README says so - a smoke study: the same problem, nominal inclination, 100 photons per energy - configuration tests through k4opt's check_bindings: every objective of every study, and every declared metric as an objective - k4opt pinned to key4hep/k4Opt#186 with its ordering fix - the README no longer refers to the FCC-hh study
jbeirer
force-pushed
the
allegro-ecal-inclination
branch
from
December 5, 2026 18:56
32854fc to
39aec30
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2. Needs
geometry.setfrom key4hep/k4Opt#186:requirements.txtpins k4opt to that PR's head commit for now, to move to its merge commit once merged.The first study of k4OptHub: how the energy resolution of the ALLEGRO ECAL barrel changes with the inclination of its absorber plates.
Problem (
problems/allegro/o1_v03/ecal_plate_inclination.yaml): ALLEGRO o1_v03, one parameterecal_plate_inclination[deg]. The inclination alone does not give a valid geometry (the ECAL constructor refuses it unless the number of plates and the 11 layer lengths match), sogeometry.setwrites the design rule: plates for the nominal inner LAr gap (even number), the gap they leave, each layer the same share of the plate length; and it makes the absorbers and PCB sensitive, to calibrate each layer. Evaluated on single photons, 1–150 GeV (samples/photons/barrel_energy_grid.yaml), bygeometry.check,calo.layer_energiesandcalo.energy_resolution.The numbers in the rule (nominal layer lengths; 0.1 + 0.1 + 1.2 mm, since DD4hep evaluates a constant before the later ones are defined) are copied from k4geo. A small change to ALLEGRO's ECAL XML in k4geo (layer lengths as fractions of
planeLength, plate count derived from the angle) would reduce the problem to setting the angle; to be proposed separately.Studies:
scan.yaml, a grid over 35, 40, 45, 50, 50.18 and 60°, 2000 photons per energy, objectives a and c (both reported; no single best angle is chosen);smoke.yaml, the same problem at the nominal angle with 100 photons per energy, to check the chain runs. The scan is not run yet (~120 CPU-hours, ~330 GB of simulation files).Angles below ~31.4° cannot be simulated with ALLEGRO's readout: they need more than 2048 plates, and the cell ID numbers plates in an 11-bit
modulefield. At 20° ddsim refuses the geometry at start-up (duplicated volume IDs), andgeometry.checkreports the candidate invalid (module up to 2253, but the encoding holds 0..2047). Studying them needs a wider field in k4geo.What was checked (details in the study README):
run_digi_reco.py(whose derivation is not documented), and depend on energy; reported, not adjusted;check_bindings: every objective of every study, and every declared metric as an objective.The measurement is labelled as what it is: simulation-level resolution of the deposited energy, calibrated per layer; no noise, no clustering, no upstream correction. Open questions for ALLEGRO calorimeter experts are in the study README.