#include <TECLayer.h>
Public Member Functions | |
virtual const std::vector < const GeomDet * > & | basicComponents () const |
virtual const std::vector < const GeometricSearchDet * > & | components () const |
Returns basic components, if any. More... | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
virtual SubDetector | subDetector () const |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
TECLayer (std::vector< const TECPetal * > &innerPetals, std::vector< const TECPetal * > &outerPetals) | |
~TECLayer () | |
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 () | |
virtual Location | location () const GCC11_FINAL |
Which part of the detector (barrel, endcap) More... | |
virtual const BoundDisk & | specificSurface () const GCC11_FINAL |
virtual const BoundSurface & | surface () const GCC11_FINAL |
The surface of the GeometricSearchDet. More... | |
virtual | ~ForwardDetLayer () |
Public Member Functions inherited from DetLayer | |
template<typename... Args> | |
std::vector< const DetLayer * > | compatibleLayers (Args &&...args) const |
Returns all layers compatible. More... | |
DetLayer (bool ibar) | |
bool | isBarrel () const |
bool | isForward () const |
NavigableLayer * | navigableLayer () const |
Return the NavigableLayer associated with this DetLayer. More... | |
template<typename... Args> | |
std::vector< const DetLayer * > | nextLayers (Args &&...args) const |
int | seqNum () const |
void | setNavigableLayer (NavigableLayer *nlp) |
Set the NavigableLayer associated with this DetLayer. More... | |
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 |
GeometricSearchDet () | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Public Member Functions inherited from GeometricSearchDetWithGroups | |
void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
bool | hasGroups () const |
Protected Types | |
typedef PeriodicBinFinderInPhi < double > | BinFinderPhi |
Protected Member Functions | |
virtual BoundDisk * | computeDisk (std::vector< const GeometricSearchDet * > &petals) const |
Protected Member Functions inherited from ForwardDetLayer | |
virtual BoundDisk * | computeSurface () |
virtual void | initialize () |
float | rmax () const |
float | rmin () const |
void | setSurface (BoundDisk *cp) |
float | zmax () const |
float | zmin () const |
Protected Attributes | |
BinFinderPhi | theBackBinFinder |
std::vector< const GeometricSearchDet * > | theBackComps |
ReferenceCountingPointer < BoundDisk > | theBackDisk |
std::vector< const GeomDet * > | theBasicComps |
std::vector< const GeometricSearchDet * > | theComps |
BinFinderPhi | theFrontBinFinder |
std::vector< const GeometricSearchDet * > | theFrontComps |
ReferenceCountingPointer < BoundDisk > | theFrontDisk |
Protected Attributes inherited from GeometricSearchDet | |
GeomDetCompatibilityChecker | theCompatibilityChecker |
Private Member Functions | |
bool | addClosest (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const |
SubLayerCrossings | computeCrossings (const TrajectoryStateOnSurface &startingState, PropagationDirection propDir) const |
bool | overlap (const GlobalPoint &gpos, const GeometricSearchDet &petal, float window) const |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const |
const std::vector< const GeometricSearchDet * > & | subLayer (int ind) const |
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 |
Public Types inherited from GeometricSearchDetWithGroups | |
typedef GeometricSearchDet::DetWithState | DetWithState |
A concrete implementation for TEC layer built out of TECPetals
Definition at line 16 of file TECLayer.h.
|
protected |
Definition at line 77 of file TECLayer.h.
TECLayer::TECLayer | ( | std::vector< const TECPetal * > & | innerPetals, |
std::vector< const TECPetal * > & | outerPetals | ||
) |
Definition at line 21 of file TECLayer.cc.
References computeDisk(), LogDebug, PV3DBase< T, PVType, FrameType >::perp(), GeometricSearchDet::position(), ForwardDetLayer::setSurface(), ForwardDetLayer::specificSurface(), theBackBinFinder, theBackComps, theBackDisk, theBasicComps, theComps, theFrontBinFinder, theFrontComps, theFrontDisk, and PV3DBase< T, PVType, FrameType >::z().
TECLayer::~TECLayer | ( | ) |
Definition at line 83 of file TECLayer.cc.
|
private |
Definition at line 189 of file TECLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), LogDebug, subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
|
inlinevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 26 of file TECLayer.h.
References theComps.
|
private |
Definition at line 132 of file TECLayer.cc.
References abs, PeriodicBinFinderInPhi< T >::binIndex(), Geom::deltaPhi(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), LogDebug, GloballyPositioned< T >::phi(), rho, ForwardDetLayer::surface(), theBackBinFinder, theBackComps, theBackDisk, theFrontBinFinder, theFrontComps, theFrontDisk, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV().
|
protectedvirtual |
Definition at line 265 of file TECLayer.cc.
References i, max(), min, pos, ForwardDetLayer::rmax(), ForwardDetLayer::rmin(), makeMuonMisalignmentScenario::rot, ForwardDetLayer::zmax(), ForwardDetLayer::zmin(), and zPos.
Referenced by TECLayer().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 92 of file TECLayer.cc.
References addClosest(), SubLayerCrossings::closest(), SubLayerCrossings::closestIndex(), computeCrossings(), tkDetUtil::computeWindowSize(), LayerCrossingSide::endcapSide(), SubLayerCrossings::isValid(), LogDebug, DetGroupMerger::orderAndMergeTwoLevels(), SubLayerCrossings::other(), Propagator::propagationDirection(), and searchNeighbors().
|
private |
Definition at line 250 of file TECLayer.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), phi, rangesIntersect(), and GeometricSearchDet::surface().
Referenced by searchNeighbors().
|
private |
Definition at line 207 of file TECLayer.cc.
References Clusterizer1DCommons::add(), PeriodicBinFinderInPhi< T >::binIndex(), SubLayerCrossing::closestDetIndex(), overlap(), Geom::Phi< T >::phi(), PV3DBase< T, PVType, FrameType >::phi(), SubLayerCrossing::position(), subLayer(), SubLayerCrossing::subLayerIndex(), theBackBinFinder, and theFrontBinFinder.
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 34 of file TECLayer.h.
References GeomDetEnumerators::TEC.
|
inlineprivate |
Definition at line 60 of file TECLayer.h.
References theBackComps, and theFrontComps.
Referenced by addClosest(), and searchNeighbors().
|
protected |
Definition at line 80 of file TECLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TECLayer().
|
protected |
Definition at line 70 of file TECLayer.h.
Referenced by computeCrossings(), subLayer(), and TECLayer().
|
protected |
Definition at line 75 of file TECLayer.h.
Referenced by computeCrossings(), and TECLayer().
|
protected |
Definition at line 71 of file TECLayer.h.
Referenced by basicComponents(), and TECLayer().
|
protected |
Definition at line 68 of file TECLayer.h.
Referenced by components(), TECLayer(), and ~TECLayer().
|
protected |
Definition at line 79 of file TECLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TECLayer().
|
protected |
Definition at line 69 of file TECLayer.h.
Referenced by computeCrossings(), subLayer(), and TECLayer().
|
protected |
Definition at line 74 of file TECLayer.h.
Referenced by computeCrossings(), and TECLayer().