-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Scouting producers now ignore missing input collections (76X) #11633
Scouting producers now ignore missing input collections (76X) #11633
Conversation
A new Pull Request was created by @duanders (Dustin Anderson) for CMSSW_7_6_X. Scouting producers now ignore missing input collections (76X) It involves the following packages: HLTrigger/JetMET @Martin-Grunewald, @perrotta, @cmsbuild, @fwyzard can you please review it and eventually sign? Thanks. |
please test |
The tests are being triggered in jenkins. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
std::auto_ptr<double> outMetPhi(new double(-999)); | ||
if(doMet && iEvent.getByToken(metCollection_, metCollection)){ | ||
outMetPt.reset(new double(metCollection->front().pt())); | ||
outMetPhi.reset(new double(metCollection->front().phi())); |
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.
@duanders - why reset and new here?
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.
@davidlange6 - sorry, I see that this could just be *outMetPhi = metCollection->front().phi()
. mistake on my part.
Scouting producers now ignore missing input collections (76X)
Port of #11627 to 76X