Energetic particle injection, acceleration, and loss during