Belle II Software development
FirstOfPairInBox< AHitInBoxAlgorithm > Class Template Reference

Helper class to redirect only the first element in a pair to the child algorithm. More...

#include <FirstOfPairInBox.h>

Public Types

using HoughBox = typename AHitInBoxAlgorithm::HoughBox
 The type of the underlying HoughBox (copied from the underlying hit algorithm)
 
using BoxAlgorithm = AHitInBoxAlgorithm
 The hit-finding algorithm.
 

Public Member Functions

template<class APairObject >
Weight operator() (const APairObject &pairObject, const HoughBox *box)
 Redirect the first element of a pair to the next algorithm.
 

Detailed Description

template<class AHitInBoxAlgorithm>
class Belle2::TrackFindingCDC::FirstOfPairInBox< AHitInBoxAlgorithm >

Helper class to redirect only the first element in a pair to the child algorithm.

Definition at line 23 of file FirstOfPairInBox.h.

Member Typedef Documentation

◆ BoxAlgorithm

using BoxAlgorithm = AHitInBoxAlgorithm

The hit-finding algorithm.

Definition at line 28 of file FirstOfPairInBox.h.

◆ HoughBox

using HoughBox = typename AHitInBoxAlgorithm::HoughBox

The type of the underlying HoughBox (copied from the underlying hit algorithm)

Definition at line 26 of file FirstOfPairInBox.h.

Member Function Documentation

◆ operator()()

Weight operator() ( const APairObject &  pairObject,
const HoughBox box 
)
inline

Redirect the first element of a pair to the next algorithm.

Definition at line 32 of file FirstOfPairInBox.h.

34 {
35 AHitInBoxAlgorithm hitInBoxAlgorithm;
36 return hitInBoxAlgorithm(pairObject.first, box);
37 }

The documentation for this class was generated from the following file: