added gaussian fitting output to the get_trigger_delay.C and changed the constructor of rec.C to accept the dealy vairable