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
Remove improper call to edm::Ref constructor call #7463
Remove improper call to edm::Ref constructor call #7463
Conversation
The associator was constructing an edm::Ref by passing it an edm::RefVector and an index. However, the index used was one into the edm::RefVector but the constructor requires the index to be back to the original collection to which the edm::RefVector associates. The only way the associator ever worked correctly was when the edm::RefVector used contained entries for every item in the original collection. The problematic edm::Ref constructor will be removed in another commit. This problem was found by David Dagenhart.
A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_4_X. Remove improper call to edm::Ref constructor call It involves the following packages: SimMuon/MCTruth The following packages do not have a category, yet: SimTracker/TrackAssociatorProducers @cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks. |
please test |
The tests are being triggered in jenkins. |
+1 |
@Degano - could you please assign SimTracker/TrackAssociatorProducers to SIM category. |
Remove improper call to edm::Ref constructor call
The associator was constructing an edm::Ref by passing it an
edm::RefVector and an index. However, the index used was one into
the edm::RefVector but the constructor requires the index to be back
to the original collection to which the edm::RefVector associates.
The only way the associator ever worked correctly was when the edm::RefVector
used contained entries for every item in the original collection.
The problematic edm::Ref constructor will be removed in another commit.
This problem was found by David Dagenhart.