How to view what is inside uvm_event_pool?

I have made a copy paste error in the pseudo code above. I have done a get_global_pool. Updated the above code.
Whereever we are triggering, do need to use (2) from what you wrote above along with adding the event in the event pool?