Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vkbo
Copy link
Member

@vkbo vkbo commented Aug 30, 2019

Since both the new jaw fit implementation and the crystals module need additional settings added to the database, I started adding the general parsing for this using onesided collimators as a starting point since this is mostly straight forward.

The PR is now complete and replaces the old feature for select onesided collimators.

@vkbo vkbo requested a review from amereghe August 30, 2019 07:35
@vkbo
Copy link
Member Author

vkbo commented Sep 2, 2019

The PR is now complete and replaces the old feature for select onesided collimators.

Copy link
Contributor

@amereghe amereghe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me, thanks! Could you mention in the PR that you have also updated the doc, marking the new coll DB format as for production and the previous one, still supported, as old (actually, deprecated)?

Please note that I have made a couple of changes to the doc, and added parentheses in the conditional if-statement concerning LHC single sided collimators, to avoid mis-interpretations by the compiler (or humans). Please also not a couple of suggestions on treating angles larger (in module) than 2pi

avoiding truncation of line and compilation problems
@vkbo
Copy link
Member Author

vkbo commented Sep 6, 2019

Please note that I have made a couple of changes to the doc, and added parentheses in the conditional if-statement concerning LHC single sided collimators, to avoid mis-interpretations by the compiler (or humans).

There is no confusion for the compiler. The precedence of logical operators is well established and unambiguous.

@vkbo vkbo merged commit a0d8db1 into SixTrack:master Sep 9, 2019
@vkbo vkbo deleted the onesided_coll branch September 9, 2019 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants