Skip to content

Conversation

@cpaudel
Copy link
Contributor

@cpaudel cpaudel commented Dec 11, 2025

applied AHDC gain calibration to the Hit bank, updated CalibrationConstantLoader, built and ran some files for the test.

@baltzell
Copy link
Collaborator

Were there CCDB tables recently updated that are required for this?

@cpaudel
Copy link
Contributor Author

cpaudel commented Dec 12, 2025 via email

@churamani2030dev
Copy link

churamani2030dev commented Dec 12, 2025

Yes, new constants were uploaded today and can be found at /calibration/alert/ahdc/gains.

link is below:

(https://clasweb.jlab.org/cgi-bin/ccdb/show_request?request=/calibration/alert/ahdc/gains:0:default:2025-12-11_12-32-07)

@baltzell
Copy link
Collaborator

The CCDB changes will propagate to CVMFS shortly and we'll retrigger the tests.

@churamani2030dev
Copy link

churamani2030dev commented Dec 12, 2025

removed the "try catch" option for the absense of TOT table and set the requirement for table to be present in the ccdb

1 similar comment
@cpaudel
Copy link
Contributor Author

cpaudel commented Dec 12, 2025

removed the "try catch" option for the absense of TOT table and set the requirement for table to be present in the ccdb

@baltzell baltzell force-pushed the ahdc-adc-gain-calib branch from bf15219 to b55d63a Compare December 15, 2025 18:00
@cpaudel
Copy link
Contributor Author

cpaudel commented Dec 16, 2025 via email

@cpaudel cpaudel force-pushed the ahdc-adc-gain-calib branch from b55d63a to 7240667 Compare December 16, 2025 21:39
@ftouchte
Copy link
Collaborator

Apart from the above comments, the code works well for simulation.

@baltzell
Copy link
Collaborator

@ftouchte can you approve this?

ftouchte
ftouchte previously approved these changes Dec 17, 2025
@ftouchte ftouchte self-requested a review December 17, 2025 15:10
@ftouchte
Copy link
Collaborator

ftouchte commented Dec 17, 2025

@baltzell Do you think I should resolve all my comments? I can fix them in my next PR (I plan to extend the AHDC::hits bank).

@churamani2030dev
Copy link

@ftouchte
So I need to work those errors right? In order to fully pass all the checks.

Errors:
Error: AHDCTest.run:27 » NullPointer Cannot invoke "org.jlab.utils.groups.IndexedTable.getRowCount()" because "ahdc_timeOverThreshold" is null
[INFO]
Error: Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

@cpaudel
Copy link
Contributor Author

cpaudel commented Dec 17, 2025

@ftouchte: tried to resolve the comments, edited the code and committed the changes.

@baltzell
Copy link
Collaborator

@ftouche, I really just meant that ideally someone other than me, someone more familiar with AHDC's code and strategy should click approve.

@baltzell baltzell merged commit 49ccc78 into JeffersonLab:development Dec 17, 2025
40 checks passed
baltzell pushed a commit that referenced this pull request Dec 18, 2025
…1003)

* AHDC: apply ADC gain calibration from /calibration/alert/ahdc/gains

* column match with ccdb table

* switch to AI-Track-Finding model

* update applied for TOT, consistent with adc gains

* review gains and tot table

* AHDC: fail fast when calibration constants missing

* AHDC: fail fast when calibration constants missing

* resolve comments

* AHDC: handle missing time_over_threshold CCDB table

---------

Co-authored-by: Churamani Paudel <churaman@ifarm2402.jlab.org>
Co-authored-by: Churamani Paudel <churaman@ifarm2401.jlab.org>
tongtongcao pushed a commit that referenced this pull request Dec 31, 2025
…1003)

* AHDC: apply ADC gain calibration from /calibration/alert/ahdc/gains

* column match with ccdb table

* switch to AI-Track-Finding model

* update applied for TOT, consistent with adc gains

* review gains and tot table

* AHDC: fail fast when calibration constants missing

* AHDC: fail fast when calibration constants missing

* resolve comments

* AHDC: handle missing time_over_threshold CCDB table

---------

Co-authored-by: Churamani Paudel <churaman@ifarm2402.jlab.org>
Co-authored-by: Churamani Paudel <churaman@ifarm2401.jlab.org>
tongtongcao pushed a commit that referenced this pull request Dec 31, 2025
…1003)

* AHDC: apply ADC gain calibration from /calibration/alert/ahdc/gains

* column match with ccdb table

* switch to AI-Track-Finding model

* update applied for TOT, consistent with adc gains

* review gains and tot table

* AHDC: fail fast when calibration constants missing

* AHDC: fail fast when calibration constants missing

* resolve comments

* AHDC: handle missing time_over_threshold CCDB table

---------

Co-authored-by: Churamani Paudel <churaman@ifarm2402.jlab.org>
Co-authored-by: Churamani Paudel <churaman@ifarm2401.jlab.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants