Skip to content

Commit c9415a5

Browse files
committed
Merge branch 'develop' of https://github.com/DeepLearnPhysics/flow2supera into develop
2 parents b1d548b + 3095594 commit c9415a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/flow2supera/reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ def ReadFile(self, input_file, entries_to_read=None, verbose=False):
161161
events = flow_manager[events_path]
162162
events_data = events['data']
163163
self._event_ids = events_data['id']
164-
#ts_start is in ticks and 0.1 microseconds per tick for charge readout
165-
self._event_t0s = events_data['unix_ts'] + events_data['ts_start']/1e7
164+
self._event_t0s = events_data['unix_ts'] + events_data['unix_ts_usec']/1e6
166165
self._event_hit_indices = flow_manager[event_hit_indices_path]
167166
self._hits = flow_manager[calib_hits_path]
168167
self._ext_trigs = flow_manager[ext_trigs_path]

0 commit comments

Comments
 (0)