Skip to content

Conversation

@SanghyunKo
Copy link

Sherpa sample crashes were originally fixed in #27, however, somehow overlooked in #41.

Adding weight -1 to group -1
----- Begin Fatal Exception 26-Nov-2020 07:49:03 CET-----------------------
An exception of category 'StdException' occurred while
   [0] Processing  Event run: 1 lumi: 33 event: 3206 stream: 0
   [1] Running path 'nanoAOD_step'
   [2] Calling method for module GenWeightProductProducer/'genWeights'
Exception Message:
A std::exception was thrown.
vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 1)
----- End Fatal Exception -------------------------------------------------

cms::Exception has to be throw(n) explicitly to be caught. Also fixes the vector underflow (now findContainingWeightGroup returns -1, causing underflow).

kdlong and others added 30 commits May 27, 2019 20:33
First step to moving towards edm::OwnVector and polymorphic storage
First tests with parsing of lhe file. Need to incorp EDM lhe reader
fixing readerhelper problems
Need to look into more flexible implimentation/more error detection
@SanghyunKo
Copy link
Author

Tested with /GGJets_Pt-15_13TeV-sherpa/RunIISummer19UL17MiniAOD-106X_mc2017_realistic_v6-v2/MINIAODSIM and /DiPhotonJetsBox1BJet_MGG-80toInf_13TeV-sherpa/RunIISummer19UL18MiniAOD-106X_upgrade2018_realistic_v11_L1v1-v2/MINIAODSIM

@SanghyunKo SanghyunKo marked this pull request as draft November 26, 2020 08:18
@SanghyunKo SanghyunKo marked this pull request as ready for review November 26, 2020 08:18
@SanghyunKo
Copy link
Author

Potential conflict/overlap with #42 (commit b38337e seems to handle the same issue)

@kdlong kdlong force-pushed the GenWeightRefactor_master branch 2 times, most recently from ffceb52 to caf24ab Compare January 16, 2022 22:44
@kdlong kdlong force-pushed the GenWeightRefactor_master branch 2 times, most recently from 036a6b4 to 0d3717a Compare April 19, 2022 14:00
@kdlong kdlong force-pushed the GenWeightRefactor_master branch 2 times, most recently from fe25f03 to f7a3156 Compare June 21, 2022 16:30
@kdlong kdlong force-pushed the GenWeightRefactor_master branch from f7a3156 to 393f1fc Compare July 11, 2022 08:19
@kdlong kdlong force-pushed the GenWeightRefactor_master branch from 258f6b0 to 5dee41c Compare December 14, 2022 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants