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

Pthook for pythia8 #15723

Merged
merged 4 commits into from Sep 6, 2016
Merged

Pthook for pythia8 #15723

merged 4 commits into from Sep 6, 2016

Conversation

alberto-sanchez
Copy link
Member

This use the pT veto hook, which will allow to filter on quark presence before hadronization

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2016

A new Pull Request was created by @alberto-sanchez (Alberto Sanchez Hernandez) for CMSSW_8_1_X.

It involves the following packages:

GeneratorInterface/Pythia8Interface

@covarell, @perrozzi, @thuer, @cmsbuild, @davidlange6, @govoni can you please review it and eventually sign? Thanks.
@agrohsje, @mkirsano this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@perrozzi
Copy link
Contributor

perrozzi commented Sep 5, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/14942/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2016

@perrozzi
Copy link
Contributor

perrozzi commented Sep 5, 2016

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

//look for quark
for (int i = 0; i < event.size(); ++i) {
if ( (abs(event[i].id()) == quark_ ) && ( abs(event[i].y()) <= quarkY_ ) ) {
double pT = sqrt(pow(event[i].px(),2) + pow(event[i].py(),2));
Copy link
Contributor

Choose a reason for hiding this comment

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

@alberto-sanchez - use pT() function of event[i]?

Copy link
Member Author

Choose a reason for hiding this comment

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

@davidlange6: Yes!. Sorry for that. I committed the wrong version of the code. I have fixed that. Thanks for catching this.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 5, 2016

Pull request #15723 was updated. @cmsbuild, @govoni, @perrozzi, @thuer, @davidlange6 can you please check and sign again.

@perrozzi
Copy link
Contributor

perrozzi commented Sep 6, 2016

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 6, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/14963/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 6, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 6, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 6, 2016

@davidlange6
Copy link
Contributor

@alberto-sanchez - please make the same change elsewhere in the PR where the code is repeated.

@alberto-sanchez
Copy link
Member Author

@davidlange6 no more change are required, pT() is used just in that place.

@davidlange6
Copy link
Contributor

+1
whoops -yes.

On Sep 6, 2016, at 3:02 PM, Alberto Sanchez Hernandez notifications@github.com wrote:

@davidlange6 no more change are required, pT() is used just in that place.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@cmsbuild cmsbuild merged commit 934daa6 into cms-sw:CMSSW_8_1_X Sep 6, 2016
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