Impossibility to get the underlying Detector on EventShifter Class
Everything is described within the title really. For one of my projects, I've elected to use the Class EventShifter (to get eclipse entry & exit with timers for attitude transitions, which is quite common).
I've come to realize that the original class within Orekit does not have a getter for the Event which has been used within the EventShifter 's constructor (EventShifter(T detector, boolean useShiftedStates, double increasingTimeShift, double decreasingTimeShift)).
Thus, it is impossible, if several Shifters are used within the same propagator, to discriminate them.
ATM I've bypassed this issue by creating a CustomEventShifter class.
For anyone's convienience I've included as an attachment my custom class.
I feel like a getter should be natively supported by the EventShifter class.