#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) __attribute__((hot)) |
static bool | add (const GeomDet &det, const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) __attribute__((hot)) |
Definition at line 14 of file CompatibleDetToGroupAdder.h.
|
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.
Definition at line 9 of file CompatibleDetToGroupAdder.cc.
References DetGroupMerger::addSameLevel(), GeometricSearchDet::compatibleDetsV(), GeometricSearchDet::groupedCompatibleDetsV(), GeometricSearchDet::hasGroups(), mps_fire::i, eostools::move(), and tmp.
Referenced by CompositeTECWedge::addClosest(), TECLayer::addClosest(), TOBRod::addClosest(), TIDRing::addClosest(), Phase2EndcapRing::addClosest(), PixelBlade::addClosest(), Phase2OTBarrelRod::addClosest(), Phase1PixelBlade::addClosest(), TBLayer::addClosest(), CompositeTECPetal::addClosest(), and counter.Counter::register().
|
static |
Definition at line 43 of file CompatibleDetToGroupAdder.cc.
References GeomDetCompatibilityChecker::isCompatible(), and eostools::move().
Referenced by counter.Counter::register().