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

Remove improper call to edm::Ref constructor call #7463

Merged
merged 1 commit into from Jan 30, 2015

Conversation

Dr15Jones
Copy link
Contributor

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.

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.
@cmsbuild
Copy link
Contributor

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
SimTracker/TrackAssociation
SimTracker/TrackAssociatorProducers

The following packages do not have a category, yet:

SimTracker/TrackAssociatorProducers

@cmsbuild, @civanch, @nclopezo, @mdhildreth can you please review it and eventually sign? Thanks.
@battibass, @makortel, @threus, @abbiendi, @GiacomoSguazzoni, @rovere, @VinInn, @appeltel, @cerati, @trocino, @dgulhan, @venturia this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Jan 30, 2015

+1

@davidlange6
Copy link
Contributor

@Degano - could you please assign SimTracker/TrackAssociatorProducers to SIM category.
Thanks

davidlange6 added a commit that referenced this pull request Jan 30, 2015
Remove improper call to edm::Ref constructor call
@davidlange6 davidlange6 merged commit 28dc09e into cms-sw:CMSSW_7_4_X Jan 30, 2015
@Dr15Jones Dr15Jones deleted the fixBadRefConstructorCall branch February 25, 2015 20:14
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

4 participants