lalsimulation: moved caching struct to header