Clustering algorithm for calorimeter

Need a clustering algorithm.