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

possible bug in HLLHCEvtVtxGenerator in RF800 mode #44894

Open
slava77 opened this issue May 2, 2024 · 4 comments
Open

possible bug in HLLHCEvtVtxGenerator in RF800 mode #44894

slava77 opened this issue May 2, 2024 · 4 comments

Comments

@slava77
Copy link
Contributor

slava77 commented May 2, 2024

#44882

The code in HLLHCEvtVtxGenerator for RF800 mode was introduced in #16942 (@lgray )

result =
norm *
std::exp(-ct * ct * ct * ct / sigs4 - z * z * z * z * cos2 * cos2 / sigs4 - 6 * ct * ct * z * z * cos2 / sigs4 -
sin2 / (4 * k2 * sigmax2) *
(2 + 4 * k2 * z * z - std::cos(2 * k * (z - ct)) - std::cos(2 * k * (z + ct)) -
8 * k * s * std::cos(k * ct) * std::sin(k * z) - 4 * cosks * cosks * sinct * sinct)) /
std::sqrt(1 + z * z / (betx * betx)) / std::sqrt(1 + z * z / (bets * bets));

k * s on L200 picks up s = second = 1e9 from CLHEP initially present in the global scope.
all other pairing with k are in units of length (k*ct and k*z).
It looks like s was supposed to be z.

This issue is a followup to the discussion #44882 to check/confirm if this is indeed a bug.

@civanch

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2024

A new Issue was created by @slava77.

@rappoccio, @antoniovilela, @sextonkennedy, @Dr15Jones, @makortel, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@slava77
Copy link
Contributor Author

slava77 commented May 2, 2024

assign simulation

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2024

New categories assigned: simulation

@civanch,@mdhildreth you have been requested to review this Pull request/Issue and eventually sign? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants