- stack-> PushTrack(1 // Must be 1
- ,track // Identifier of the parent track, -1 for a primary
- ,22 // Particle code.
- ,px*e // 4 momentum (The photon is generated on the same
- ,py*e // direction as the parent. For irregular radiator one
- ,pz*e // can calculate also the angle but this is a secondary
- ,e // order effect)
- ,x,y,z,0.0 // 4 vertex
- ,0.0,0.0,0.0 // Polarisation
- ,kPFeedBackPhoton // Production mechanism (there is no TR in G3 so one
- // has to make some convention)
- ,phtrack // On output the number of the track stored
- ,1.0
- ,1);
+ stack->PushTrack(1 // Must be 1
+ ,track // Identifier of the parent track, -1 for a primary
+ ,22 // Particle code.
+ ,px*e // 4 momentum (The photon is generated on the same
+ ,py*e // direction as the parent. For irregular radiator one
+ ,pz*e // can calculate also the angle but this is a secondary
+ ,e // order effect)
+ ,x,y,z,t // 4 vertex
+ ,0.0,0.0,0.0 // Polarisation
+ ,kPFeedBackPhoton // Production mechanism (there is no TR in G3 so one
+ // has to make some convention)
+ ,phtrack // On output the number of the track stored
+ ,1.0
+ ,1);