self.data = cp.rec.array(None, dtype=[('x', cp.int64), ('y', cp.int64), ('p', cp.int64), ('ts', cp.int64)], shape=(num_events,))