Skip to content

Commit 8e3960f

Browse files
preghenellasawenzel
authored andcommitted
Propagate parent ID from EG to Stack
1 parent e0fcc91 commit 8e3960f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Generators/src/PrimaryGenerator.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void PrimaryGenerator::AddTrack(Int_t pdgid, Double_t px, Double_t py, Double_t
163163
}
164164

165165
/** add track to stack **/
166-
fStack->PushTrack(doTracking, dummyparent, pdgid, px, py, pz,
166+
fStack->PushTrack(doTracking, parent, pdgid, px, py, pz,
167167
e, vx, vy, vz, tof, polx, poly, polz, proc, ntr,
168168
weight, status, parent);
169169

0 commit comments

Comments
 (0)