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
Pthook for pythia8 #15723
Conversation
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. cms-bot commands are list here #13028 |
please test |
The tests are being triggered in jenkins. |
+1 |
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)); |
There was a problem hiding this comment.
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]?
There was a problem hiding this comment.
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.
+1 |
The tests are being triggered in jenkins. |
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 |
@alberto-sanchez - please make the same change elsewhere in the PR where the code is repeated. |
@davidlange6 no more change are required, pT() is used just in that place. |
+1
|
This use the pT veto hook, which will allow to filter on quark presence before hadronization