TrigT1: Optimize overuse of shared_pointer
using std::pointer_cast on shared_pointer is inappropriate (slow) for short-lived objects.
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
using std::pointer_cast on shared_pointer is inappropriate (slow) for short-lived objects.