Skip to content

Adding Calibration Conditions payload and SQLite backend - #210

Open
fayuce wants to merge 5 commits into
CMS-HGCAL:from-CMSSW_16_1_0from
fayuce:hgcal-conditions-pr
Open

Adding Calibration Conditions payload and SQLite backend#210
fayuce wants to merge 5 commits into
CMS-HGCAL:from-CMSSW_16_1_0from
fayuce:hgcal-conditions-pr

Conversation

@fayuce

@fayuce fayuce commented Jul 28, 2026

Copy link
Copy Markdown

PR description:

This PR introduces an HGCal calibration Conditions payload and record,
together with a SQLite writer and an EventSetup-based reader for RecHit
reconstruction.

The existing reconstruction path, in which calibration constants are read
from JSON, is preserved and remains available. The new path stores the same
calibration content in a local SQLite Conditions database and retrieves the
payload through the CMSSW EventSetup during reconstruction.

The implementation includes:

  • calibration payload and EventSetup record;
  • registration of the payload with the CMSSW Conditions infrastructure;
  • a writer that serialises the calibration constants into SQLite;
  • an EventSetup producer that provides the constants to RecHit reconstruction;
  • configuration support for selecting either the JSON calibration source or
    the SQLite Conditions source.

PR validation:

  • Successfully compiled with CMSSW_16_1_0.
  • Reconstruction was performed using identical RAW input, geometry, detector
    mapping and calibration content for the JSON and SQLite Conditions sources.
  • 10,000 events were matched.
  • 22,480,000 HGCHit energy values were compared.
  • Energy mismatches: 0.
  • Maximum absolute difference: 0.

@fayuce
fayuce requested a review from pfs July 28, 2026 13:06
@fayuce fayuce changed the title Add HGCal calibration Conditions payload and SQLite backend Calibration Conditions payload and SQLite backend Jul 30, 2026
@fayuce fayuce changed the title Calibration Conditions payload and SQLite backend Adding Calibration Conditions payload and SQLite backend Jul 30, 2026
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