adding methods for handling ESDEvent objects outside liHLTbase