-
Notifications
You must be signed in to change notification settings - Fork 221
Fixed calo v2 #4069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fixed calo v2 #4069
Conversation
Build & test reportReport for commit 35a6b31e4b87d1ce0fe8e10fb3450750dae4538a:
Automatically generated by sPHENIX Jenkins continuous integration |
Build & test reportReport for commit 2e9ccc7bd05638acfab1959cc62d9e2bbca8515d:
Automatically generated by sPHENIX Jenkins continuous integration |
| cdbtree_calo_v2 = new CDBTTree(calibdir); | ||
| } | ||
|
|
||
| if (!cdbtree_calo_v2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the ctor of cdbttree will always return an object, checking for null will never trigger. Errors are caught in the LoadCalibrations method and the code will do a hard exit() if an error is encountered:
| void CDBTTree::LoadCalibrations() |
Build & test reportReport for commit ce0d3af05d26ad9aaf3275d50dce0afd8d54b2ec:
Automatically generated by sPHENIX Jenkins continuous integration |



Types of changes
What kind of change does this PR introduce? (Bug fix, feature, ...)
Adds option for determine tower background to use average call which now has a default in the CDB, but can be loaded as a CDBTTree. Code to generate this is to be added to the calibrations repository.
TODOs (if applicable)
Links to other PRs in macros and calibration repositories (if applicable)