Skip to content

Commit

Permalink
Make sure to write all vector members of tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Sep 6, 2024
1 parent 4cb4882 commit c618b98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/createEDM4hepFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def create_TrackCollection(vectorsize, tracker_hit):
track.setNdf(next(counter))
for j in range(vectorsize):
track.addToSubdetectorHitNumbers(next(counter))
track.addToSubdetectorHoleNumbers(next(counter))
state = edm4hep.TrackState()
state.location = next(counter)
state.D0 = next(counter)
Expand Down

0 comments on commit c618b98

Please sign in to comment.