Skip to content

AtMapCalibration#267

Open
RealAurio wants to merge 2 commits into
ATTPC:developfrom
RealAurio:AtMapCalibration
Open

AtMapCalibration#267
RealAurio wants to merge 2 commits into
ATTPC:developfrom
RealAurio:AtMapCalibration

Conversation

@RealAurio
Copy link
Copy Markdown
Contributor

Added a way to pass general calibration functions f: ADC->Energy, that depend on any arbitrary number of parameters, to any AtMap.

This works by defining any function in your .C unpacker macro and then passing it to the specific AtMap, as well as a .csv file containing the function parameters.

Also changed the logic of AtPSA so that if the AtTpcMap has a calibration, then it will be used to give a calibrated energy to each AtHit. This requires passing the AtTpcMap to AtPSA too.

@RealAurio RealAurio changed the title At map calibration AtMapCalibration Apr 10, 2026
@RealAurio RealAurio mentioned this pull request Apr 10, 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