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
[Fireworks 11_2_X] Add necessary checks for valid hitMap handle in HGCal proxy builders #31547
Conversation
@alja, CMSSW_11_2_X branch is closed for direct updates. cms-bot is going to move this PR to master branch. |
The code-checks are being triggered in jenkins. |
@rovere |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31547/18556
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
I have restored the hitMap in #31536 |
please test with #31536 |
@alja, @silviodonato, this PR is superseded by #31536 and can be closed - no need to be tested together in my opinion. |
@lecriste Is it possible map std::unordered_map<DetId, const HGCRecHit*>* hitmap is empty while trying to visualize reco::CaloCluster or reco::HGCalMultiCluster collections? If so, the two derived proxy builders (FWCaloClusterProxyBuilder and FWHGCalMultiClusterProxyBuilder) need the check for valid hitmap. |
@lecriste Yes, I see now. I will close this PR. |
PR description:
Add a check for valid hitmap handle