10#include <tracking/trackFindingCDC/numerics/Weight.h>
17 namespace TrackFindingCDC {
22 template<
class AHitInBoxAlgorithm>
26 using HoughBox =
typename AHitInBoxAlgorithm::HoughBox;
31 template<
class APairObject>
35 AHitInBoxAlgorithm hitInBoxAlgorithm;
36 return hitInBoxAlgorithm(pairObject.first, box);
Helper class to redirect only the first element in a pair to the child algorithm.
AHitInBoxAlgorithm BoxAlgorithm
The hit-finding algorithm.
Weight operator()(const APairObject &pairObject, const HoughBox *box)
Redirect the first element of a pair to the next algorithm.
typename AHitInBoxAlgorithm::HoughBox HoughBox
The type of the underlying HoughBox (copied from the underlying hit algorithm)
Abstract base class for different kinds of events.