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
Fix getByLabelWithoutRegistration (81X). #14061
Conversation
A new Pull Request was created by @ndaci for CMSSW_8_1_X. It involves the following packages: GeneratorInterface/GenFilters @civanch, @covarell, @mdhildreth, @cmsbuild, @thuer, @govoni, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
Modifications are fine but in non-modified line 223 std::auto_ptr is used. Should replacement of std::auto_ptr be done in this PR or in the next one? |
Why should "std::auto_ptr" be replaced? And by what? |
please test I would guess the fix should be done in a separate PR. |
The tests are being triggered in jenkins. |
@ndaci because it's deprecated by C++ standards since C++11. |
-1 runTheMatrix-results/101.0_SingleElectronE120EHCAL+SingleElectronE120EHCAL/step1_SingleElectronE120EHCAL+SingleElectronE120EHCAL.log 8.0 step2 runTheMatrix-results/8.0_BeamHalo+BeamHalo+DIGICOS+RECOCOS+ALCABH+HARVESTCOS/step2_BeamHalo+BeamHalo+DIGICOS+RECOCOS+ALCABH+HARVESTCOS.log ----- Begin Fatal Exception 14-Apr-2016 17:31:41 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 5.1 step1 runTheMatrix-results/5.1_TTbar+TTbarFS+HARVESTFS/step1_TTbar+TTbarFS+HARVESTFS.log ----- Begin Fatal Exception 14-Apr-2016 17:31:41 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 135.4 step1 runTheMatrix-results/135.4_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS/step1_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS.log ----- Begin Fatal Exception 14-Apr-2016 17:31:47 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 1306.0 step2 runTheMatrix-results/1306.0_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVESTUP15/step2_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVESTUP15.log ----- Begin Fatal Exception 14-Apr-2016 17:32:33 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 10021.0 step2 runTheMatrix-results/10021.0_TenMuE_0_200+TenMuE_0_200_pythia8_2017_GenSimFull+DigiFull_2017+RecoFull_2017+HARVESTFull_2017/step2_TenMuE_0_200+TenMuE_0_200_pythia8_2017_GenSimFull+DigiFull_2017+RecoFull_2017+HARVESTFull_2017.log ----- Begin Fatal Exception 14-Apr-2016 17:33:12 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 1330.0 step2 runTheMatrix-results/1330.0_ZMM_13+ZMM_13+DIGIUP15+RECOUP15+HARVESTUP15/step2_ZMM_13+ZMM_13+DIGIUP15+RECOUP15+HARVESTUP15.log ----- Begin Fatal Exception 14-Apr-2016 17:36:33 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 9.0 step2 runTheMatrix-results/9.0_Higgs200ChargedTaus+Higgs200ChargedTaus+DIGI+RECO+HARVEST/step2_Higgs200ChargedTaus+Higgs200ChargedTaus+DIGI+RECO+HARVEST.log ----- Begin Fatal Exception 14-Apr-2016 17:38:59 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 25.0 step2 runTheMatrix-results/25.0_TTbar+TTbar+DIGI+RECOAlCaCalo+HARVEST+ALCATT/step2_TTbar+TTbar+DIGI+RECOAlCaCalo+HARVEST+ALCATT.log ----- Begin Fatal Exception 14-Apr-2016 17:39:19 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 50202.0 step2 runTheMatrix-results/50202.0_TTbar_13+TTbar_13+DIGIUP15_PU50+RECOUP15_PU50+HARVESTUP15_PU50/step2_TTbar_13+TTbar_13+DIGIUP15_PU50+RECOUP15_PU50+HARVESTUP15_PU50.log ----- Begin Fatal Exception 14-Apr-2016 17:41:22 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 10024.0 step2 runTheMatrix-results/10024.0_TTbar_13+TTbar_13TeV_TuneCUETP8M1_2017_GenSimFull+DigiFull_2017+RecoFull_2017+HARVESTFull_2017/step2_TTbar_13+TTbar_13TeV_TuneCUETP8M1_2017_GenSimFull+DigiFull_2017+RecoFull_2017+HARVESTFull_2017.log ----- Begin Fatal Exception 14-Apr-2016 17:41:46 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- 25202.0 step2 runTheMatrix-results/25202.0_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15_PU25/step2_TTbar_13+TTbar_13+DIGIUP15_PU25+RECOUP15_PU25+HARVESTUP15_PU25.log ----- Begin Fatal Exception 14-Apr-2016 17:41:48 CEST----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=MixingModule label='mix' Exception Message: MissingParameter: Parameter 'HepMCProductLabel' not found. ----- End Fatal Exception ------------------------------------------------- you can see the results of the tests here: |
@ndaci , the line 222 of MixingModule.cc is not needed at all, having such consumes within a loop is not a correct thing, in the constructor there is a place where HepMCProduct consumes declaration is set. |
Thanks for the tests and interpretations. |
I think so. |
please test |
The tests are being triggered in jenkins. |
When do you plan the backport ? We plan to produce n-tuples for some groups with the production version 8_0_X soon and this fix is needed to include gen filter results. We otherwise need to merge topic from a user fork. |
The backport PR #14064 was open simultaneously. I got no news there for now. |
Looks like the By the way, tje comment about it being inside a loop is just moot - if the module is configured with multiple input collections, |
This is an 81X version of #13041 that was created by @jingyucms.
The changes fix a segmentation fault.
The fix is urgently needed by the TSG/STEAM subgroup.
An 80X backport version will follow.