fix getByLabelWithoutRegistration #13041
Closed
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.
When I run MixingModule and GetByLabelWithoutRegistration fault [1]. This shouldn't be general fix. This is just my fix that solve my problem. Appreciated if expert have a solution.
[1]
----- Begin Fatal Exception 19-Jan-2016 14:45:08 CET-----------------------
An exception of category 'GetByLabelWithoutRegistration' occurred while
[0] Processing run: 1 lumi: 87451 event: 14604151
[1] Running path 'HLT_MuFilterTP_v1'
[2] Calling event method for module MixingModule/'mix'
Exception Message:
::getByLabel without corresponding call to consumes or mayConsumes for this module.
type: edm::HepMCProduct
module label: generatorSmeared
product instance name: ''
process name: ''
----- End Fatal Exception -------------------------------------------------