Add some missing const declarations. Needed to go with upcoming thread-safety changes in TrigInDetEvent.