KtJet: A C++ implementation of the Kt clustering algorithm
J. M. Butterworth, J. P. Couchman, B. E. Cox, B. M. Waugh
TL;DR
KtJet provides a C++ implementation of the Kt jet clustering algorithm with an object-oriented interface that preserves the familiar Fortran functionality and provides documentation and examples. It supports inclusive, exclusive, and e+e- analysis modes, as well as subjet analysis, through configurable jet resolution and recombination schemes. The library emphasizes performance considerations and extensibility, offering abstract base classes (KtRecom, KtDistance) to add custom schemes and detailed guidance on usage. Overall, it delivers a practical, extensible tool for jet clustering with a focus on interoperability and performance for high-energy collider analyses.
Abstract
A C++ implementation of the Kt jet algorithm for high energy particle collisions is presented. The time performance of this implementation is comparable to the widely used Fortran implementation. Identical algorithmic functionality is provided, with a clean and intuitive user interface and additional recombination schemes. A short description of the algorithm and examples of its use are given.
