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

Updated CommonTools/RecoUtils also for 7XY #3928

Merged

Conversation

mageisler
Copy link
Contributor

Pull request for an update for CommonTools/RecoUtils for CMSSW 70X. Its basically the same as request 3259 was for 62Y.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mageisler (Matthias Geisler) for CMSSW_7_0_X.

Updated CommonTools/RecoUtils also for 7XY

It involves the following packages:

CommonTools/RecoUtils

@nclopezo, @vadler, @cmsbuild, @Degano, @monttj can you please review it and eventually sign? Thanks.
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.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@vadler
Copy link

vadler commented May 20, 2014

@mageisler : Since this is not mergable in 71X and cannot (and must not!) be forwarded due to the prefetching -- AKA consumes -- migration, you still need an extra PR for 71/2X.

@cmsbuild
Copy link
Contributor

@@ -945,81 +1023,247 @@ PF_PU_AssoMapAlgos::FindAssociation(const reco::TrackRef& trackref, std::vector<
/*************************************************************************************/

int
PF_PU_AssoMapAlgos::DefineQuality(int assoc_ite, int step, double distance)
PF_PU_AssoMapAlgos::DefineQuality(vector< pair<int, double> > distances, int step, double distance)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there is some code duplication in this function in the various conditionals/switches, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope not, I know the definitions get messy for case 2 (the final association), but there are three options to cover and different cut values for each option depending on the previous associations. Hence, in total about 6 possibilities with several quality definitions need to be set... and I hope I didn't get lost in defining them

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not mean the definition of the cases, but the code inside. I looks like there was a copy&paste exercise, which I would prefer to be encapsulated in a function, if possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aah, ok, I am not sure, could be... maybe it can be encapsulated, but its hard since all definitions depend on at least four parameters, and also this number of parameters is not always the same

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, got it now: there are these slight differences in the usage of f1, fz and f3. It's a bit hard to see ;-)

@vadler
Copy link

vadler commented May 20, 2014

The test configs should use some commonly availabel inputs, like e.g. RelVals and a proper GT (still the 62X one here), but these are no show stoppers and can be fixed later.

@vadler
Copy link

vadler commented May 20, 2014

Ok for me. I will wait with the signature until the 71X version is available.

@vadler
Copy link

vadler commented May 20, 2014

... or rather 72X first!

@cmsbuild
Copy link
Contributor

@monttj
Copy link
Contributor

monttj commented Jun 30, 2014

@mageisler
It looks like we are waiting for 71X and 72X version requests. Any news?

@mageisler
Copy link
Contributor Author

Hi,

sorry, if I remember correctly I already send a pull request for 71X. And actually, after sending a pull request for 62X, 70X and 71X, I thought its a joke that I need to send also a pull request for 72X.

I will work on that tomorrow,
Matthias

Am 30.06.2014 um 22:02 schrieb Tae Jeong Kim <notifications@github.commailto:notifications@github.com>:

@mageislerhttps://github.com/mageisler
It looks like we are waiting for 71X and 72X version requests. Any news?


Reply to this email directly or view it on GitHubhttps://github.com//pull/3928#issuecomment-47579393.

@monttj
Copy link
Contributor

monttj commented Jun 30, 2014

@mageisler
thank you!
I am sorry if I missed it. I could not find the 71X version request.

@mageisler
Copy link
Contributor Author

@Tae:

The old pull request for 71X was #3920. It has been closed but the final comment has been that automatic forwarding from 70X to 71X is on.

I think I will just (re)submit the pull request for 71X and 72X.

Am 30.06.2014 um 22:24 schrieb Tae Jeong Kim <notifications@github.commailto:notifications@github.com>:

@mageislerhttps://github.com/mageisler
thank you!
I am sorry if I missed it. I could not find the 71X version request.


Reply to this email directly or view it on GitHubhttps://github.com//pull/3928#issuecomment-47581891.

@monttj
Copy link
Contributor

monttj commented Jul 15, 2014

+1 for now for 70X
but we need to have some modifications for the same request for 71X and 72X.

@monttj
Copy link
Contributor

monttj commented Jul 30, 2014

+1
try again without adding words

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_0_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

davidlange6 added a commit that referenced this pull request Aug 26, 2014
@davidlange6 davidlange6 merged commit 790ea4b into cms-sw:CMSSW_7_0_X Aug 26, 2014
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

5 participants