def set_hit_dtype(self, hit_dtype):
if not hit_dtype:<EOL><INDENT>hit_dtype = np.dtype([])<EOL><DEDENT>else:<EOL><INDENT>hit_dtype = np.dtype(hit_dtype)<EOL><DEDENT>cluster_hits_descr = hit_dtype.descr<EOL>for dtype_name, dtype in self._default_cluster_hits_descr:<EOL><INDENT>if self._hit_fields_mapping[dtype_name] not in hit_dtype.fields:<EOL><INDENT>cluster_hits_descr.append((dtype_name, dtype))<EOL><DEDENT><DEDENT>self._cluster_hits_descr = cluster_hits_descr<EOL>self._init_arrays(size=<NUM_LIT:0>)<EOL>
Set the data type of the hits.

        Fields that are not mentioned here are NOT copied into the clustered hits array.
        Clusterizer has to know the hit data type to produce the clustered hit result with the same data types.

        Parameters:
        -----------
        hit_dtype : numpy.dtype or equivalent
            Defines the dtype of the hit array.

        Example:
        --------
        hit_dtype = [("column", np.uint16), ("row", np.uint16)], where
        "column", "row" is the field name of the input hit array.