In the first line, generators is a vector whose elements are pointers to EventGenerators.
In the second and the third a TwoBodyGenerator and a ThreeBodyGenerator are constructed and memory is allocated using new. They are both pushed back [http://cplusplus.com/reference/stl/vector/push_back] to the vector.
In the last line the = operator is used to copy vector's content into another one.
More about vectors: http://cplusplus.com/reference/stl/vector/
[Assuming you are familiar with the classes used there (like TwoBodyGenerator, EventGenerator, etc.), those aren't standard...]
1. Like in your example with int, EverntGenerator* is the type stored in vector.
2. TwoBodyGenerator is a constructor.
3. That line uses a pointer gen1 to call a method generate, passes pz to that method and assigns its returned value to a vector of Particle*.