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
Add new displaced muon gun #17775
Add new displaced muon gun #17775
Conversation
A new Pull Request was created by @dildick (Sven Dildick) for master. It involves the following packages: Configuration/Generator @cmsbuild, @govoni, @perrozzi, @thuer, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @Muzaffar, @davidlange6, @smuzaffar |
Can this code be integrated please? |
+1 |
pz = pt * sinh(eta); | ||
//vz = fabs(fRandomGaussGenerator->fire(0.0, LzWidth_/2.0)); | ||
float ConeTheta = ConeRadius_/ConeH_; | ||
for (int j=0; j<100; j++){ |
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.
Hi @dildick - so after 100 tries the loop gives up and throws at random? Sounds rather dangerous. Why should this not be 100^2 or ^3 tries before issuing some sort of error message?
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.
ok, i gather this is caught below at line 115. but unclear why 100 is the right scale to avoid bias?
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.
I'm not sure if we explicitly checked how many times a new vz needs to be thrown in order for it to be a good one. @tahuang1991: do you have an idea?
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 we tested the code. 100 tries is more than enough to ensure that a vz is thrown such that it is in the region where we expect displaced muons to appear from physics signals that we can actually trigger on. On both sides of the beamspot we exclude vz's in cones close to the beamline and opening up towards high-eta. Muons that are generated here will most likely not be triggered on anyway.
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
assign upgrade |
New categories assigned: upgrade @kpedro88 you have been requested to review this Pull request/Issue and eventually sign? Thanks |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @Muzaffar, @davidlange6, @smuzaffar |
@davidlange6 please merge |
+1 |
This muon gun was designed for Phase-2 L1 trigger studies.
@dildick, @tahuang1991 @kpedro88