changing ADC threshold for time calib#4125
Merged
bseidlit merged 1 commit intosPHENIX-Collaboration:masterfrom Jan 20, 2026
Merged
changing ADC threshold for time calib#4125bseidlit merged 1 commit intosPHENIX-Collaboration:masterfrom
bseidlit merged 1 commit intosPHENIX-Collaboration:masterfrom
Conversation
Contributor
📝 WalkthroughWalkthroughThe calorimeter validation code introduces detector-specific ADC thresholds, separating HCAL and EMCal threshold variables (30 and 70 respectively) to replace a single threshold previously applied uniformly across all calorimeter subsystems. Changes
✨ Finishing touches
Comment |
Contributor
|
Note Docstrings generation - SUCCESS |
coderabbitai bot
added a commit
that referenced
this pull request
Jan 19, 2026
Docstrings generation was requested by @blackcathj. * #4125 (comment) The following files were modified: * `offline/QA/Calorimeters/CaloValid.cc`
Build & test reportReport for commit 57a9dd2851c2a1e8a786d54258851b94feb2a060:
Automatically generated by sPHENIX Jenkins continuous integration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Types of changes
What kind of change does this PR introduce? (Bug fix, feature, ...)
TODOs (if applicable)
Links to other PRs in macros and calibration repositories (if applicable)
PR Summary: ADC Threshold Adjustment for Time Calibration QA
Motivation
This change updates the calorimeter QA analysis (CaloValid) to use distinct ADC thresholds for different detector subsystems during time calibration studies. Previously, raw tower energy thresholds were applied uniformly across all calorimeter systems. This modification enables more precise QA by using detector-specific thresholds optimized for timing analysis.
Key Changes
Replaced unified threshold with detector-specific thresholds:
adc_threshold_emcal = 70(for CEMC/EMCal)adc_threshold_hcal = 30(for HCALIN and HCALOUT)Updated raw tower processing filters in the event loop:
adc_threshold_emcalfor raw time histogram and fraction-above-threshold calculationsadc_threshold_hcalfor raw time histogram and fraction-above-threshold calculationsadc_threshold_hcalfor raw time histogram and fraction-above-threshold calculationsApplied to both collision systems: AuAu and non-AuAu data processing paths
Potential Risk Areas
Notes
Possible Future Improvements