diff --git a/pixel_clusterizer/clusterizer.py b/pixel_clusterizer/clusterizer.py index 5fbd612..3f394ac 100644 --- a/pixel_clusterizer/clusterizer.py +++ b/pixel_clusterizer/clusterizer.py @@ -40,7 +40,7 @@ def __init__(self, hit_fields=None, hit_dtype=None, cluster_fields=None, cluster # Set the translation dictionary for the important hit value names if hit_fields: - self.set_hit_fields(hit_data_type) + self.set_hit_fields(hit_fields) else: self.set_hit_fields({'event_number': 'event_number', 'column': 'column',