#include <TECLayer.h>
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)) |
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) __attribute__((cold)) | |
~TECLayer () __attribute__((cold)) | |
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 () |
Protected Types | |
typedef PeriodicBinFinderInPhi< float > | BinFinderPhi |
Protected Attributes | |
BinFinderPhi | theBackBinFinder |
std::vector< const TECPetal * > | theBackComps |
ReferenceCountingPointer< BoundDisk > | theBackDisk |
std::vector< const GeomDet * > | theBasicComps |
std::vector< const GeometricSearchDet * > | theComps |
BinFinderPhi | theFrontBinFinder |
std::vector< const TECPetal * > | theFrontComps |
ReferenceCountingPointer< BoundDisk > | theFrontDisk |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
Private Member Functions | |
bool | addClosest (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const __attribute__((hot)) |
SubLayerCrossings | computeCrossings (const TrajectoryStateOnSurface &startingState, 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, bool checkClosest) const __attribute__((hot)) |
const std::vector< const TECPetal * > & | 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 |
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 |
A concrete implementation for TEC layer built out of TECPetals
Definition at line 16 of file TECLayer.h.
|
protected |
Definition at line 78 of file TECLayer.h.
TECLayer::TECLayer | ( | std::vector< const TECPetal * > & | innerPetals, |
std::vector< const TECPetal * > & | outerPetals | ||
) |
Definition at line 56 of file TECLayer.cc.
References 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 | ( | ) |
|
private |
Definition at line 225 of file TECLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), LogDebug, muon::overlap(), phi, GloballyPositioned< T >::phi(), BoundDiskSector::phiHalfExtension(), rangesIntersect(), CompositeTECPetal::specificSurface(), subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV(), and subDetector().
|
inlinevirtual |
|
inlinevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 26 of file TECLayer.h.
References groupedCompatibleDetsV(), mps_fire::result, and theComps.
|
private |
Definition at line 167 of file TECLayer.cc.
References funct::abs(), PeriodicBinFinderInPhi< T >::binIndex(), hiPixelPairStep_cff::deltaPhi, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), LogDebug, rho, theBackBinFinder, theBackComps, theBackDisk, theFrontBinFinder, theFrontComps, theFrontDisk, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV(), and subDetector().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 127 of file TECLayer.cc.
References addClosest(), SubLayerCrossings::closest(), SubLayerCrossings::closestIndex(), computeCrossings(), tkDetUtil::computeWindowSize(), LayerCrossingSide::endcapSide(), SubLayerCrossings::isValid(), LogDebug, eostools::move(), DetGroupMerger::orderAndMergeTwoLevels(), SubLayerCrossings::other(), trackingPOGFilters_cfi::phiWindow, Propagator::propagationDirection(), and searchNeighbors().
Referenced by components().
|
private |
Definition at line 259 of file TECLayer.cc.
References PVValHelper::add(), PV3DBase< T, PVType, FrameType >::barePhi(), PeriodicBinFinderInPhi< T >::binIndex(), SubLayerCrossing::closestDetIndex(), muon::overlap(), phi, SubLayerCrossing::position(), subLayer(), SubLayerCrossing::subLayerIndex(), ForwardDetLayer::surface(), theBackBinFinder, and theFrontBinFinder.
Referenced by groupedCompatibleDetsV(), and subDetector().
|
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 addClosest(), computeCrossings(), searchNeighbors(), GeomDetEnumerators::subDetGeom, GeomDetEnumerators::TEC, and svgfig::window().
|
inlineprivate |
Definition at line 61 of file TECLayer.h.
References theBackComps, and theFrontComps.
Referenced by addClosest(), and searchNeighbors().
|
protected |
Definition at line 81 of file TECLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TECLayer().
|
protected |
Definition at line 72 of file TECLayer.h.
Referenced by computeCrossings(), subLayer(), and TECLayer().
|
protected |
Definition at line 76 of file TECLayer.h.
Referenced by computeCrossings(), and TECLayer().
|
protected |
Definition at line 69 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 80 of file TECLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TECLayer().
|
protected |
Definition at line 71 of file TECLayer.h.
Referenced by computeCrossings(), subLayer(), and TECLayer().
|
protected |
Definition at line 75 of file TECLayer.h.
Referenced by computeCrossings(), and TECLayer().