Skip to content

[EMCAL-1116] Add maximum value for pedestal calib#12958

Merged
mfasDa merged 1 commit intoAliceO2Group:devfrom
jokonig:EMCAL-1116
Apr 3, 2024
Merged

[EMCAL-1116] Add maximum value for pedestal calib#12958
mfasDa merged 1 commit intoAliceO2Group:devfrom
jokonig:EMCAL-1116

Conversation

@jokonig
Copy link
Collaborator

@jokonig jokonig commented Mar 29, 2024

  • In order to not set unreasonable values for the pedestal calibration, a maximum value is introduced
  • The value is configurable in the CalibrationParams

@jokonig jokonig requested a review from mfasDa as a code owner March 29, 2024 10:19
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass
async-2023-pp-apass1
async-2022-pp-apass6
async-2022-pp-apass4
async-mc
async-data

Copy link
Collaborator

@mfasDa mfasDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some change: The default value first needs to be 1023 (10 bit, all bits 1), as the ADC works with 10 bit precision. Second, how can 10-bit ADC values exceed the 1023? The maximum ADC value (1023) should be set in case the RMS of the distribution (settable cut) is too high, effectively setting the channel to dead.

@mfasDa mfasDa self-requested a review April 2, 2024 11:00
Copy link
Collaborator

@mfasDa mfasDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change needed

- In order to not use unreasaonable data for the pedestal extraction, the RMS for each cell is compared against a Maximum. If the RMS is larger, the channel is set to 1023 which essentially masks the channel
- The maximum value is configurable in the CalibrationParams
@mfasDa mfasDa enabled auto-merge (squash) April 3, 2024 12:37
@mfasDa mfasDa self-requested a review April 3, 2024 12:38
Copy link
Collaborator

@mfasDa mfasDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now

@mfasDa mfasDa merged commit 10c6b4f into AliceO2Group:dev Apr 3, 2024
andreasmolander pushed a commit to andreasmolander/AliceO2 that referenced this pull request Apr 12, 2024
…p#12958)

- In order to not use unreasaonable data for the pedestal extraction, the RMS for each cell is compared against a Maximum. If the RMS is larger, the channel is set to 1023 which essentially masks the channel
- The maximum value is configurable in the CalibrationParams

Co-authored-by: jokonig <jokonig@cern.ch>
andreasmolander pushed a commit to andreasmolander/AliceO2 that referenced this pull request Apr 12, 2024
…p#12958)

- In order to not use unreasaonable data for the pedestal extraction, the RMS for each cell is compared against a Maximum. If the RMS is larger, the channel is set to 1023 which essentially masks the channel
- The maximum value is configurable in the CalibrationParams

Co-authored-by: jokonig <jokonig@cern.ch>
mwinn2 pushed a commit to mwinn2/AliceO2 that referenced this pull request Apr 25, 2024
…p#12958)

- In order to not use unreasaonable data for the pedestal extraction, the RMS for each cell is compared against a Maximum. If the RMS is larger, the channel is set to 1023 which essentially masks the channel
- The maximum value is configurable in the CalibrationParams

Co-authored-by: jokonig <jokonig@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants