#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 13 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 7 of file CompatibleDetToGroupAdder.cc.
References DetGroupMerger::addSameLevel(), GeometricSearchDet::compatibleDetsV(), GeometricSearchDet::groupedCompatibleDetsV(), GeometricSearchDet::hasGroups(), mps_fire::i, eostools::move(), and createJobs::tmp.
Referenced by CompositeTECWedge::addClosest(), TECLayer::addClosest(), Phase2EndcapSingleRing::addClosest(), TIDRing::addClosest(), TOBRod::addClosest(), TBLayer::addClosest(), Phase2EndcapRing::addClosest(), PixelBlade::addClosest(), Phase2OTBarrelRod::addClosest(), Phase1PixelBlade::addClosest(), CompositeTECPetal::addClosest(), and counter.Counter::register().
|
static |
Definition at line 44 of file CompatibleDetToGroupAdder.cc.
References GeomDetCompatibilityChecker::isCompatible(), and eostools::move().
Referenced by counter.Counter::register().