#include <PixelForwardLayerPhase1.h>
Classes | |
struct | SubTurbineCrossings |
Public Member Functions | |
virtual const std::vector< const GeomDet * > & | basicComponents () const |
virtual const std::vector< const GeometricSearchDet * > & | components () const __attribute__((cold)) |
Returns basic components, if any. More... | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot)) |
PixelForwardLayerPhase1 (std::vector< const Phase1PixelBlade * > &blades) | |
virtual SubDetector | subDetector () const |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
~PixelForwardLayerPhase1 () | |
Public Member Functions inherited from ForwardDetLayer | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const |
bool | contains (const Local3DPoint &p) const |
ForwardDetLayer (bool doHaveGroups) | |
virtual Location | location () const final |
Which part of the detector (barrel, endcap) More... | |
virtual const BoundDisk & | specificSurface () const final |
virtual const BoundSurface & | surface () const final |
The surface of the GeometricSearchDet. More... | |
virtual | ~ForwardDetLayer () |
Public Member Functions inherited from DetLayer | |
DetLayer (bool doHaveGroup, bool ibar) | |
bool | isBarrel () const |
bool | isForward () const |
int | seqNum () const |
void | setSeqNum (int sq) |
virtual | ~DetLayer () |
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 16 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 68 of file PixelForwardLayerPhase1.h.
PixelForwardLayerPhase1::PixelForwardLayerPhase1 | ( | std::vector< const Phase1PixelBlade * > & | blades | ) |
Definition at line 25 of file PixelForwardLayerPhase1.cc.
References _num_innerpanels, _num_outerpanels, ForwardDetLayer::computeSurface(), LogDebug, hpstanc_transforms::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().
PixelForwardLayerPhase1::~PixelForwardLayerPhase1 | ( | ) |
Definition at line 104 of file PixelForwardLayerPhase1.cc.
References mps_fire::i, and theComps.
|
inlinevirtual |
Implements GeometricSearchDet.
Definition at line 23 of file PixelForwardLayerPhase1.h.
References theBasicComps.
|
inlinevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 25 of file PixelForwardLayerPhase1.h.
References groupedCompatibleDetsV(), mps_fire::result, and theComps.
|
private |
Definition at line 296 of file PixelForwardLayerPhase1.cc.
References _num_innerpanels, funct::abs(), PeriodicBinFinderInPhi< T >::binIndex(), HelixArbitraryPlaneCrossing::direction(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), HelixArbitraryPlaneCrossing::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), 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 290 of file PixelForwardLayerPhase1.cc.
References funct::abs(), GeometricSearchDet::position(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV(), searchNeighbors(), and subDetector().
|
staticprivate |
Definition at line 371 of file PixelForwardLayerPhase1.cc.
References MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), and x.
Referenced by groupedCompatibleDetsV().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 112 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(), searchNeighbors(), theBinFinder_inner, theBinFinder_outer, theComps, and svgfig::window().
Referenced by components().
|
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(), hpstanc_transforms::max, trackerDrivenElectronSeeds_cff::Merger, min(), eostools::move(), neighbor(), PixelForwardLayerPhase1::SubTurbineCrossings::nextIndex, theBinFinder_inner, theBinFinder_outer, and theComps.
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 33 of file PixelForwardLayerPhase1.h.
References computeHelicity(), GeomDetEnumerators::P1PXEC, and GeomDetEnumerators::subDetGeom.
|
private |
Definition at line 73 of file PixelForwardLayerPhase1.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 74 of file PixelForwardLayerPhase1.h.
Referenced by PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 81 of file PixelForwardLayerPhase1.h.
Referenced by basicComponents(), and PixelForwardLayerPhase1().
|
private |
Definition at line 76 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 77 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 78 of file PixelForwardLayerPhase1.h.
|
private |
Definition at line 71 of file PixelForwardLayerPhase1.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 72 of file PixelForwardLayerPhase1.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), and searchNeighbors().
|
private |
Definition at line 80 of file PixelForwardLayerPhase1.h.
Referenced by components(), computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayerPhase1(), searchNeighbors(), and ~PixelForwardLayerPhase1().