add functions in EbeCollector to collect particle momentum and space-time information into a database