#ifndef TChargeClusters_hxx_seen #define TChargeClusters_hxx_seen #include namespace COMET { class IHitSelection; class IChargeClusters; }; /// Cluster hits in a single plane by charge. class COMET::IChargeClusters { public: IChargeClusters(double xGap=3.1*unit::cm, double yGap=3.1*unit::cm, double zGap=3*unit::mm); virtual ~IChargeClusters(); /// Do the clustering. COMET::IHitSelection* operator()(const COMET::IHitSelection& hits); private: /// The space between hits that should be clusters. double fXGap; double fYGap; double fZGap; }; #endif