AE: Adding a function to add a pulse to a template. This will probably be moved at some point. Tested on run 3200 and compared with the PulseShapes plot in the hist file from alcapana - they look the same
AE: Reverting back to an empty generator now that I have a clearer idea of what I'm doing