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
Fix to allow G4 simulation of the long-lived susy-tau (1000015) decay products #36772
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36772/27907
|
A new Pull Request was created by @shedprog (Mykyta Shchedrolosiev) for master. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
@shedprog, let us remove "draft" from this PR. This minimal fix do not affect any other analysis, because is active for exclusive vertex. It is safe. Do you check independently two cases: stau decay inside beam pipe and outside beam pipe? |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
This PR is fine, failed WF does not mean that there is a problem. |
Yes, in our MC we have all the cases, 1) for the cases of decay inside the beam pipe (<theDecRCut2) no SimVertexes are created for the stau and tau (matched SimVertexes/SimTracks are in red) 2) for the cases with long-lived stau it looks the following |
+1 @shedprog , please, make backport of this PR to CMSSW_10_6_X - legacy Run-2 branch. |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
merge |
PR description:
The issue is described under the following link: #36706
And related to the following dicussion: https://hypernews.cern.ch/HyperNews/CMS/get/simDevelopment/1997/1/1/1.html
In the corresponding PR we add fix in order to prevent the duplication of the decay products of the long-lived charged stau (1000015), the gen particles are generated by the Pythia:
In order to add the whole decay chain of stau using the following function without chain break
cmssw/SimG4Core/Generators/src/Generator.cc
Line 396 in df76a09
The check of the mother pdgId == 1000015 is added to apply the fix only specifically for stau MC.
PR validation:
the basic style tests specified on the following page are performed http://cms-sw.github.io/PRWorkflow.html
runTheMatrix tests results:
runTheMatrix.log
the visual inspection shows that after corresponding fix, SimTracks are not duplicated
before the fix
after the fix