Fix CLD endcap radius calculation for CED #362
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The radius calculation was very broken, the radius supplied by the xml is already the inner radius and the Y half-length instead of the Z half-length needs to be used, Z is just the thickness of the modules... Thankfully this was only used for the event display, the placement of the modules seems to be correct :)
BEGINRELEASENOTES
ENDRELEASENOTES
before: check issue above
after:
![image](https://private-user-images.githubusercontent.com/12029880/353449957-4828adbd-85fd-4985-ab8c-ffe2f592404a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzczOTQsIm5iZiI6MTczOTIzNzA5NCwicGF0aCI6Ii8xMjAyOTg4MC8zNTM0NDk5NTctNDgyOGFkYmQtODVmZC00OTg1LWFiOGMtZmZlMmY1OTI0MDRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAxMjQ1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkZjc4N2IxNDk1YjE5Y2MxOTkxNWQwYjg4MjQ5YzY0MWRmZjE1MGM1N2M1YmJlMGE1Mjg3MmNhNzRjOTA5MTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-ZhWtx88zg5QmDLdQIFLFuh9-i5hsJsElHmjJM2CpUY)