8000 ALLEGRO ECAL barrel: energy resolution vs. absorber inclination by jbeirer · Pull Request #3 · key4hep/k4OptHub · GitHub
[go: up one dir, main page]

Skip to content

ALLEGRO ECAL barrel: energy resolution vs. absorber inclination - #3

Open
jbeirer wants to merge 2 commits into
calorimetry-evaluatorsfrom
allegro-ecal-inclination
Open

jbeirer wants to merge 2 commits into
calorimetry-evaluatorsfrom
allegro-ecal-inclination

Conversation

@jbeirer
@jbeirer jbeirer commented Dec 5, 2026 •
Copy link
Copy Markdown
Member

Stacked on #2. Needs geometry.set from key4hep/k4Opt#186: requirements.txt pins 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 parameter ecal_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), so geometry.set writes 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), by geometry.check, calo.layer_energies and calo.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 module field. At 20° ddsim refuses the geometry at start-up (duplicated volume IDs), and geometry.check reports 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):

  • the six inclinations build without overlaps and their plate numbers fit the readout; 50.18° is the production geometry (layer boundaries to 0.04 µm); what changes with the angle is tabulated (plates 1964 → 1200, outer LAr gap 2.01 → 3.02 mm);
  • sensitive absorbers do not change the simulated active energy (2000 photons at 10 GeV: means within 1.2σ, core widths 45.7 vs 45.1 MeV, KS p = 0.15); events differ one by one because the PCB is split per layer;
  • per-layer calibration matters: σ/E at 10 GeV goes from 3.5% (one sampling fraction) to 2.3% (per layer);
  • the derived sampling fractions are 1–7% higher than those in FCC-config's run_digi_reco.py (whose derivation is not documented), and depend on energy; reported, not adjusted;
  • configuration tests through k4opt's 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.

- 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
jbeirer force-pushed the allegro-ecal-inclination branch from 32854fc to 39aec30 Compare December 5, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0