Belle II Software  release-08-01-10
TwoHitInBoxAlgorithm< AHitInBoxAlgorithm, AnotherHitInBoxAlgorithm > Class Template Reference

Predicate class to check for the containment of items in a hough space part with two algorithms. More...

#include <TwoHitInBoxAlgorithms.h>

Public Types

using HoughBox = typename AHitInBoxAlgorithm::HoughBox
 The type of the underlaying HoughBox (copied from the first underlying hit algorithm)
 

Public Member Functions

template<class AObject >
Weight operator() (const AObject &object, const HoughBox *box)
 Returns the sum of the resulting weights of both algorithms (of not NAN).
 

Detailed Description

template<class AHitInBoxAlgorithm, class AnotherHitInBoxAlgorithm>
class Belle2::TrackFindingCDC::TwoHitInBoxAlgorithm< AHitInBoxAlgorithm, AnotherHitInBoxAlgorithm >

Predicate class to check for the containment of items in a hough space part with two algorithms.

The resulting weight is added. If one of the two algorithms gives NaN, this particular result is not used (only the other). If both give NaN, the result will also be NaN.

Definition at line 26 of file TwoHitInBoxAlgorithms.h.


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