-
Notifications
You must be signed in to change notification settings - Fork 613
PWGCF : Femtouniverse -- Fixing bug in dphi calculation #5643
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
Conversation
The extra factor of 0.1 that was scaling the magnetic field is removed. However, after removing this factor, the asin(<arg>) function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs(<arg>) < 1.0.
The extra factor of 0.1 that was scaling the magnetic field is removed. However, after removing this factor, the asin() function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs() < 1.0.
|
Error while checking build/O2Physics/o2 for 19ee9b8 at 2024-04-16 20:04: Full log here. |
|
Error while checking build/O2Physics/o2 for 1144180 at 2024-04-16 20:47: Full log here. |
…#5643) * PWGCF : Femtouniverse -- Fixing bug in dphi calculation The extra factor of 0.1 that was scaling the magnetic field is removed. However, after removing this factor, the asin(<arg>) function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs(<arg>) < 1.0. * PWGCF : Femtouniverse -- Fixing bug in dphi calculation The extra factor of 0.1 that was scaling the magnetic field is removed. However, after removing this factor, the asin() function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs() < 1.0. * Update FemtoUniverseDetaDphiStar.h * Update FemtoUniverseDetaDphiStar.h
…#5643) * PWGCF : Femtouniverse -- Fixing bug in dphi calculation The extra factor of 0.1 that was scaling the magnetic field is removed. However, after removing this factor, the asin(<arg>) function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs(<arg>) < 1.0. * PWGCF : Femtouniverse -- Fixing bug in dphi calculation The extra factor of 0.1 that was scaling the magnetic field is removed. However, after removing this factor, the asin() function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs() < 1.0. * Update FemtoUniverseDetaDphiStar.h * Update FemtoUniverseDetaDphiStar.h
| double dphis = 0.0; | ||
|
|
||
| double dphis = part2.phi() - part1.phi() + TMath::ASin(afsi1b) - TMath::ASin(afsi0b); | ||
| if (abs(afsi0b) < 1.0 && abs(afsi0b) < 1.0) { |
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.
Bug
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.
@prchakra @victor-gonzalez Still there
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.
Was fixed already
| if (std::abs(afsi0b) < 1.0 && std::abs(afsi0b) < 1.0) { |
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.
Was fixed already
if (std::abs(afsi0b) < 1.0 && std::abs(afsi0b) < 1.0) {
No it wasn't. You are just quoting the bug.
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.
Fixed #14106
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.
Good
The extra factor of 0.1 that was scaling the magnetic field is removed.
However, after removing this factor, the asin() function for calculating dphi was blowing up at certain (mostly higher) values of radii. This is also taken care of by only allowing abs() < 1.0.