#include <CompatibleDetToGroupAdder.h>
Static Public Member Functions | |
static bool | add (const GeometricSearchDet &det, const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) |
static bool | add (const GeomDet &det, const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) |
Definition at line 14 of file CompatibleDetToGroupAdder.h.
static bool CompatibleDetToGroupAdder::add | ( | const GeometricSearchDet & | det, |
const TrajectoryStateOnSurface & | tsos, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est, | ||
std::vector< DetGroup > & | result | ||
) | [static] |
Checks the det for compatibility with the tsos propagated by prop and according to est; if the det is compatible, it is added to result and the method returns true, if not result is not modified and the method returns false. The method for chacking for compatibility used depends on the det: if the det hasGroups, then groupedCompatibleDets() is used, otherwise compatible() is used.
Referenced by GCC11_FINAL< T, TOPO >::addClosest().
static bool CompatibleDetToGroupAdder::add | ( | const GeomDet & | det, |
const TrajectoryStateOnSurface & | tsos, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est, | ||
std::vector< DetGroup > & | result | ||
) | [static] |