Skip to content
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

Quietly return when producer fails to find input collection #14283

Conversation

davidsheffield
Copy link
Contributor

Backport of #14278

The scouting muon and Egamma producers were producing error manages when they could not find products not created by CaloScouting. Removed error messages. Immediately returns when collection is not found.

Use unique_ptr instead of auto_ptr like b8366ba.

…s to find input collection.

The scouting muon and Egamma producers were producing error manages when they could not find products not created by CaloScouting. Removed error messages. Immediately returns when collection is not found.

Use unique_ptr instead of autoptr like b8366ba.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidsheffield (David Sheffield) for CMSSW_8_0_X.

It involves the following packages:

HLTrigger/Egamma
HLTrigger/Muon

@Martin-Grunewald, @perrotta, @cmsbuild, @fwyzard, @davidlange6 can you please review it and eventually sign? Thanks.
@battibass, @abbiendi, @jhgoh, @Martin-Grunewald, @HuguesBrun, @trocino this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@Martin-Grunewald
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 28, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12683/console

@cmsbuild
Copy link
Contributor

@Martin-Grunewald
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@Martin-Grunewald
Copy link
Contributor

@davidlange6
What is holding up integration of this PR?

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d47c3cc into cms-sw:CMSSW_8_0_X May 4, 2016
@fwyzard
Copy link
Contributor

fwyzard commented May 4, 2016

Sorry for not commenting earlier, but this doesn't seem like a sane approach...

The scouting muon and Egamma producers were producing error manages when they could not find products not created by CaloScouting. Removed error messages. Immediately returns when collection is not found.

Why do you consider it fine to not find the input collections ?

@duanders
Copy link
Contributor

duanders commented May 4, 2016

@fwyzard - This PR standardizes the behavior that was implemented last year for the other scouting packer modules (#11627). The packers produce scouting objects from whatever HLT collections are available and don't complain if inputs are missing. Muon/electron collections can be missing in the PhysicsParkingScoutingMonitor stream when a "CaloScouting" trigger fires but no "PFScouting" trigger fires, because "CaloScouting" triggers don't produce muons/electrons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants