23 if (aSecondary->GetParentID() != mother.GetTrackID())
24 throw SimG4Exception(
"NewTrackAction: secondary parent ID does not match mother id");
29 LogDebug(
"SimTrackManager") <<
"NewTrackAction: Add track " << aSecondary->GetTrackID() <<
" from mother "
30 << mother.GetTrackID();
41 aTrack->SetUserInformation(trkInfo);
70 aTrack->GetDefinition()->GetPDGEncoding(),
71 aTrack->GetMomentum().mag());
85 aTrack->SetUserInformation(trkInfo);