#include <TIBLayer.h>
Public Member Functions | |
TIBLayer (std::vector< const TIBRing * > &innerRings, std::vector< const TIBRing * > &outerRings) __attribute__((cold)) | |
~TIBLayer () __attribute__((cold)) | |
Public Member Functions inherited from TBLayer | |
virtual const std::vector< const GeomDet * > & | basicComponents () const final |
virtual const std::vector< const GeometricSearchDet * > & | components () const final __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)) |
virtual SubDetector | subDetector () const final |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
template<typename TDET > | |
TBLayer (std::vector< const TDET * > &inner, std::vector< const TDET * > &outer, GeomDetEnumerators::SubDetector ime) | |
~TBLayer () __attribute__((cold)) | |
Public Member Functions inherited from BarrelDetLayer | |
BarrelDetLayer (bool doHaveGroup) | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const final |
bool | contains (const Local3DPoint &p) const |
virtual Location | location () const final |
DetLayer interface. More... | |
virtual const BoundCylinder & | specificSurface () const final |
Extension of the interface. More... | |
virtual const BoundSurface & | surface () const final |
GeometricSearchDet interface. More... | |
virtual | ~BarrelDetLayer () |
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 Member Functions | |
std::tuple< bool, int, int > | computeIndexes (GlobalPoint gInnerPoint, GlobalPoint gOuterPoint) const __attribute__((hot)) |
float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot)) |
BoundCylinder * | cylinder (const std::vector< const GeometricSearchDet * > &rings) __attribute__((cold)) |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const __attribute__((hot)) |
Static Private Member Functions | |
static bool | overlap (const GlobalPoint &gpos, const GeometricSearchDet &ring, float window) __attribute__((hot)) |
Private Attributes | |
GeneralBinFinderInZforGeometricSearchDet< float > | theInnerBinFinder |
GeneralBinFinderInZforGeometricSearchDet< float > | theOuterBinFinder |
A concrete implementation for TIB layer built out of TIBRings
Definition at line 13 of file TIBLayer.h.
TIBLayer::TIBLayer | ( | std::vector< const TIBRing * > & | innerRings, |
std::vector< const TIBRing * > & | outerRings | ||
) |
Definition at line 20 of file TIBLayer.cc.
References cylinder(), mps_fire::i, BarrelDetLayer::initialize(), LogDebug, BarrelDetLayer::specificSurface(), TBLayer::theBasicComps, TBLayer::theComps, theInnerBinFinder, TBLayer::theInnerComps, TBLayer::theInnerCylinder, theOuterBinFinder, TBLayer::theOuterComps, and TBLayer::theOuterCylinder.
TIBLayer::~TIBLayer | ( | ) |
Definition at line 89 of file TIBLayer.cc.
|
privatevirtual |
Implements TBLayer.
Definition at line 124 of file TIBLayer.cc.
References funct::abs(), GeneralBinFinderInZforGeometricSearchDet< T >::binIndex(), GloballyPositioned< T >::position(), GeometricSearchDet::surface(), theInnerBinFinder, TBLayer::theInnerComps, theOuterBinFinder, TBLayer::theOuterComps, and PV3DBase< T, PVType, FrameType >::z().
|
privatevirtual |
Implements TBLayer.
Definition at line 189 of file TIBLayer.cc.
References funct::abs(), Surface::bounds(), TrajectoryStateOnSurface::globalMomentum(), MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), Bounds::thickness(), PV2DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 95 of file TIBLayer.cc.
References Bounds::length(), alignCSCRings::r, and Bounds::thickness().
Referenced by TIBLayer().
|
staticprivate |
Definition at line 178 of file TIBLayer.cc.
References funct::abs(), Surface::bounds(), Bounds::length(), GeometricSearchDet::position(), GeometricSearchDet::surface(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by searchNeighbors().
|
privatevirtual |
Implements TBLayer.
Definition at line 140 of file TIBLayer.cc.
References PVValHelper::add(), SubLayerCrossing::closestDetIndex(), overlap(), SubLayerCrossing::position(), TBLayer::subLayer(), SubLayerCrossing::subLayerIndex(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 42 of file TIBLayer.h.
Referenced by computeIndexes(), and TIBLayer().
|
private |
Definition at line 43 of file TIBLayer.h.
Referenced by computeIndexes(), and TIBLayer().