#include <PixelForwardLayerPhase1.h>
Classes | |
struct | SubTurbineCrossings |
Public Member Functions | |
const std::vector< const GeomDet * > & | basicComponents () 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)) |
PixelForwardLayerPhase1 (std::vector< const Phase1PixelBlade * > &blades) | |
SubDetector | subDetector () const override |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
~PixelForwardLayerPhase1 () override | |
Public Member Functions inherited from ForwardDetLayer | |
std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const override |
bool | contains (const Local3DPoint &p) const |
ForwardDetLayer (bool doHaveGroups) | |
Location | location () const final |
Which part of the detector (barrel, endcap) More... | |
virtual const BoundDisk & | specificSurface () const final |
const BoundSurface & | surface () const final |
The surface of the GeometricSearchDet. More... | |
~ForwardDetLayer () override | |
Public Member Functions inherited from DetLayer | |
DetLayer (bool doHaveGroup, bool ibar) | |
bool | isBarrel () const |
bool | isForward () const |
int | seqNum () const |
void | setSeqNum (int sq) |
~DetLayer () 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 | |
SubTurbineCrossings | computeCrossings (const TrajectoryStateOnSurface &startingState, PropagationDirection propDir, bool innerDisk) const __attribute__((hot)) |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubTurbineCrossings &crossings, float window, std::vector< DetGroup > &result, bool innerDisk) const __attribute__((hot)) |
Static Private Member Functions | |
static int | computeHelicity (const GeometricSearchDet *firstBlade, const GeometricSearchDet *secondBlade) |
static float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) |
Private Attributes | |
unsigned int | _num_innerpanels |
unsigned int | _num_outerpanels |
std::vector< const GeomDet * > | theBasicComps |
std::vector< float > | theBinFinder_byR |
std::vector< unsigned int > | theBinFinder_byR_index |
std::vector< unsigned int > | theBinFinder_byR_nextindex |
BinFinderType | theBinFinder_inner |
BinFinderType | theBinFinder_outer |
std::vector< const GeometricSearchDet * > | theComps |
Additional Inherited Members | |
Public Types inherited from DetLayer | |
typedef GeomDetEnumerators::Location | Location |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Types inherited from GeometricSearchDet | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef BoundSurface::PositionType | PositionType |
typedef BoundSurface::RotationType | RotationType |
typedef TrajectoryStateOnSurface | TrajectoryState |
Protected Member Functions inherited from ForwardDetLayer | |
SimpleDiskBounds const & | bounds () const |
virtual BoundDisk * | computeSurface () |
virtual void | initialize () |
float | rmax () const |
float | rmin () const |
void | setSurface (BoundDisk *cp) |
float | zmax () const |
float | zmin () const |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A concrete implementation for PixelForward layer built out of ForwardPhase1PixelBlade
Definition at line 14 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 64 of file PixelForwardLayerPhase1.h.
PixelForwardLayerPhase1::PixelForwardLayerPhase1 | ( | std::vector< const Phase1PixelBlade * > & | blades | ) |
Definition at line 26 of file PixelForwardLayerPhase1.cc.
References _num_innerpanels, _num_outerpanels, ForwardDetLayer::computeSurface(), LogDebug, SiStripPI::max, min(), PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), GeometricSearchDet::position(), GloballyPositioned< T >::position(), ForwardDetLayer::setSurface(), ForwardDetLayer::specificSurface(), ForwardDetLayer::surface(), theBasicComps, theBinFinder_inner, theBinFinder_outer, theComps, and PV3DBase< T, PVType, FrameType >::z().
|
override |
|
inlineoverridevirtual |
Implements GeometricSearchDet.
Definition at line 21 of file PixelForwardLayerPhase1.h.
References theBasicComps.
|
inlineoverridevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 23 of file PixelForwardLayerPhase1.h.
References theComps.
|
private |
Definition at line 299 of file PixelForwardLayerPhase1.cc.
References _num_innerpanels, funct::abs(), PeriodicBinFinderInPhi< T >::binIndex(), HelixArbitraryPlaneCrossing::direction(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), HelixArbitraryPlaneCrossing::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), Geom::phiLess(), HelixArbitraryPlaneCrossing::position(), HelixArbitraryPlaneCrossing2Order::position(), rho, ForwardDetLayer::specificSurface(), ForwardDetLayer::surface(), theBinFinder_inner, theBinFinder_outer, theComps, TrajectoryStateOnSurface::transverseCurvature(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by groupedCompatibleDetsV().
|
staticprivate |
Definition at line 294 of file PixelForwardLayerPhase1.cc.
References funct::abs(), GeometricSearchDet::position(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV(), and searchNeighbors().
|
staticprivate |
Definition at line 367 of file PixelForwardLayerPhase1.cc.
References MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), and x.
Referenced by groupedCompatibleDetsV().
|
overridevirtual |
Reimplemented from GeometricSearchDet.
Definition at line 98 of file PixelForwardLayerPhase1.cc.
References _num_innerpanels, PVValHelper::add(), PeriodicBinFinderInPhi< T >::binIndex(), PixelForwardLayerPhase1::SubTurbineCrossings::closestIndex, computeCrossings(), computeHelicity(), computeWindowSize(), LayerCrossingSide::endcapSide(), PixelForwardLayerPhase1::SubTurbineCrossings::isValid, eostools::move(), PixelForwardLayerPhase1::SubTurbineCrossings::nextIndex, DetGroupMerger::orderAndMergeTwoLevels(), Propagator::propagationDirection(), mps_fire::result, searchNeighbors(), theBinFinder_inner, theBinFinder_outer, theComps, and svgfig::window().
|
private |
Definition at line 220 of file PixelForwardLayerPhase1.cc.
References _num_innerpanels, _num_outerpanels, PVValHelper::add(), PeriodicBinFinderInPhi< T >::binIndex(), PixelForwardLayerPhase1::SubTurbineCrossings::closestIndex, computeHelicity(), LayerCrossingSide::endcapSide(), SiStripPI::max, HLT_2018_cff::Merger, min(), eostools::move(), PixelForwardLayerPhase1::SubTurbineCrossings::nextIndex, mps_fire::result, theBinFinder_inner, theBinFinder_outer, and theComps.
Referenced by groupedCompatibleDetsV().
|
inlineoverridevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 31 of file PixelForwardLayerPhase1.h.
References GeomDetEnumerators::P1PXEC, and GeomDetEnumerators::subDetGeom.
|
private |
Definition at line 69 of file PixelForwardLayerPhase1.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 70 of file PixelForwardLayerPhase1.h.
Referenced by PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 77 of file PixelForwardLayerPhase1.h.
Referenced by basicComponents(), and PixelForwardLayerPhase1().
|
private |
Definition at line 72 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 73 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 74 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 67 of file PixelForwardLayerPhase1.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 68 of file PixelForwardLayerPhase1.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 76 of file PixelForwardLayerPhase1.h.
Referenced by components(), computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), searchNeighbors(), and ~PixelForwardLayerPhase1().