#include <Phase2EndcapRing.h>
Public Member Functions | |
const std::vector< const GeomDet * > & | basicComponents () const override |
std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const override |
const std::vector< const GeometricSearchDet * > & | components () const override __attribute__((cold)) |
Returns basic components, if any. More... | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const override __attribute__((hot)) |
Phase2EndcapRing (std::vector< const GeomDet *> &innerDets, std::vector< const GeomDet *> &outerDets, const std::vector< const GeomDet *> &innerDetBrothers=std::vector< const GeomDet *>(), const std::vector< const GeomDet *> &outerDetBrothers=std::vector< const GeomDet *>()) | |
virtual const BoundDisk & | specificSurface () const |
const BoundSurface & | surface () const override |
The surface of the GeometricSearchDet. More... | |
~Phase2EndcapRing () override | |
Public Member Functions inherited from GeometricSearchDet | |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
GeometricSearchDet (bool doHaveGroups) | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
bool | hasGroups () const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Private Types | |
typedef PeriodicBinFinderInPhi< float > | BinFinderType |
Private Member Functions | |
bool | addClosest (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result, std::vector< DetGroup > &brotherresult) const __attribute__((hot)) |
SubLayerCrossings | computeCrossings (const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot)) |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, std::vector< DetGroup > &brotherresult, bool checkClosest) const __attribute__((hot)) |
const std::vector< const GeomDet * > & | subLayer (int ind) const |
const std::vector< const GeomDet * > & | subLayerBrothers (int ind) const |
Private Attributes | |
BinFinderType | theBackBinFinder |
std::vector< const GeomDet * > | theBackDetBrothers |
std::vector< const GeomDet * > | theBackDets |
ReferenceCountingPointer< BoundDisk > | theBackDisk |
std::vector< const GeomDet * > | theDets |
ReferenceCountingPointer< BoundDisk > | theDisk |
BinFinderType | theFrontBinFinder |
std::vector< const GeomDet * > | theFrontDetBrothers |
std::vector< const GeomDet * > | theFrontDets |
ReferenceCountingPointer< BoundDisk > | theFrontDisk |
Additional Inherited Members | |
Public Types inherited from GeometricSearchDet | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef BoundSurface::PositionType | PositionType |
typedef BoundSurface::RotationType | RotationType |
typedef TrajectoryStateOnSurface | TrajectoryState |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A concrete implementation for TID rings
Definition at line 13 of file Phase2EndcapRing.h.
|
private |
Definition at line 79 of file Phase2EndcapRing.h.
Phase2EndcapRing::Phase2EndcapRing | ( | std::vector< const GeomDet *> & | innerDets, |
std::vector< const GeomDet *> & | outerDets, | ||
const std::vector< const GeomDet *> & | innerDetBrothers = std::vector<const GeomDet*>() , |
||
const std::vector< const GeomDet *> & | outerDetBrothers = std::vector<const GeomDet*>() |
||
) |
Definition at line 24 of file Phase2EndcapRing.cc.
References LogDebug, theBackBinFinder, theBackDetBrothers, theBackDets, theBackDisk, theDets, theDisk, theFrontBinFinder, theFrontDetBrothers, theFrontDets, and theFrontDisk.
|
override |
Definition at line 83 of file Phase2EndcapRing.cc.
|
private |
Definition at line 186 of file Phase2EndcapRing.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), mps_fire::result, subLayer(), subLayerBrothers(), SubLayerCrossing::subLayerIndex(), theBackDetBrothers, and theFrontDetBrothers.
Referenced by groupedCompatibleDetsV().
|
inlineoverridevirtual |
Implements GeometricSearchDet.
Definition at line 24 of file Phase2EndcapRing.h.
References theDets.
|
overridevirtual |
tests the geometrical compatibility of the Det with the predicted state. The FreeTrajectoryState argument is propagated to the Det surface using the Propagator argument. The resulting TrajectoryStateOnSurface is tested for compatibility with the surface bounds. If compatible, a std::pair< true, propagatedState> is returned. If the propagation fails, or if the state is not compatible, a std::pair< false, propagatedState> is returned.
Implements GeometricSearchDet.
Definition at line 89 of file Phase2EndcapRing.cc.
|
overridevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 85 of file Phase2EndcapRing.cc.
|
private |
Definition at line 150 of file Phase2EndcapRing.cc.
References funct::abs(), PeriodicBinFinderInPhi< T >::binIndex(), SiPixelRawToDigiRegional_cfi::deltaPhi, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), rho, theBackBinFinder, theBackDets, theBackDisk, theFrontBinFinder, theFrontDets, theFrontDisk, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV().
|
overridevirtual |
Reimplemented from GeometricSearchDet.
Definition at line 96 of file Phase2EndcapRing.cc.
References addClosest(), SubLayerCrossings::closest(), SubLayerCrossings::closestIndex(), computeCrossings(), tkDetUtil::computeWindowSize(), LayerCrossingSide::endcapSide(), SubLayerCrossings::isValid(), LogTrace, eostools::move(), DetGroupMerger::orderAndMergeTwoLevels(), SubLayerCrossings::other(), trackingPOGFilters_cfi::phiWindow, Propagator::propagationDirection(), mps_fire::result, searchNeighbors(), jetsAK4_CHS_cff::sort, theBackDetBrothers, and theFrontDetBrothers.
|
private |
Definition at line 204 of file Phase2EndcapRing.cc.
References PVValHelper::add(), PV3DBase< T, PVType, FrameType >::barePhi(), PeriodicBinFinderInPhi< T >::binIndex(), SubLayerCrossing::closestDetIndex(), tkDetUtil::overlapInPhi(), Geom::phiLess(), SubLayerCrossing::position(), mps_fire::result, subLayer(), subLayerBrothers(), SubLayerCrossing::subLayerIndex(), theBackBinFinder, theBackDetBrothers, theFrontBinFinder, theFrontDetBrothers, and svgfig::window().
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
Definition at line 38 of file Phase2EndcapRing.h.
References theDisk.
|
inlineprivate |
Definition at line 62 of file Phase2EndcapRing.h.
References theBackDets, and theFrontDets.
Referenced by addClosest(), and searchNeighbors().
|
inlineprivate |
Definition at line 64 of file Phase2EndcapRing.h.
References theBackDetBrothers, and theFrontDetBrothers.
Referenced by addClosest(), and searchNeighbors().
|
inlineoverridevirtual |
The surface of the GeometricSearchDet.
Implements GeometricSearchDet.
Definition at line 22 of file Phase2EndcapRing.h.
References theDisk.
|
private |
Definition at line 82 of file Phase2EndcapRing.h.
Referenced by computeCrossings(), Phase2EndcapRing(), and searchNeighbors().
|
private |
Definition at line 73 of file Phase2EndcapRing.h.
Referenced by addClosest(), groupedCompatibleDetsV(), Phase2EndcapRing(), searchNeighbors(), and subLayerBrothers().
|
private |
Definition at line 71 of file Phase2EndcapRing.h.
Referenced by computeCrossings(), Phase2EndcapRing(), and subLayer().
|
private |
Definition at line 77 of file Phase2EndcapRing.h.
Referenced by computeCrossings(), and Phase2EndcapRing().
|
private |
Definition at line 69 of file Phase2EndcapRing.h.
Referenced by basicComponents(), and Phase2EndcapRing().
|
private |
Definition at line 75 of file Phase2EndcapRing.h.
Referenced by Phase2EndcapRing(), specificSurface(), and surface().
|
private |
Definition at line 81 of file Phase2EndcapRing.h.
Referenced by computeCrossings(), Phase2EndcapRing(), and searchNeighbors().
|
private |
Definition at line 72 of file Phase2EndcapRing.h.
Referenced by addClosest(), groupedCompatibleDetsV(), Phase2EndcapRing(), searchNeighbors(), and subLayerBrothers().
|
private |
Definition at line 70 of file Phase2EndcapRing.h.
Referenced by computeCrossings(), Phase2EndcapRing(), and subLayer().
|
private |
Definition at line 76 of file Phase2EndcapRing.h.
Referenced by computeCrossings(), and Phase2EndcapRing().