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.
Update hits rotation inside detectorlib:
New parameter "rotationCenter" to specify the rotation center (defaults to (0,0,0)). Before the hits were rotation around the mean position of the hits, which does not make much sense to me as a default behaviour and this was not modifiable by the user. I was not aware of this until I looked at the code, perhaps others such as @cmargalejo are also unaware (because you mentioned to rotate the hits for the 45º rotated readout in the iaxo setup, those rotations were not done properly).
Do not rotate especial (veto) hits. Because this process will mostly be used on TPC hits but we need to keep other hits such as veto hits, I put an explicit ignore for veto hits. This is not very clean but it works, we should probably think of a better strategy in the future to handle multiple types of "events in a single event (veto / tpc)".