Visible to the public A Lifting Approach to L2-gain Analysis of Periodic Event-triggered and Switching Sampled-data Control System