#include <TECLayer.h>
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)) |
SubDetector | subDetector () const override |
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 () override __attribute__((cold)) | |
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 () |
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 15 of file TECLayer.h.
|
protected |
Definition at line 65 of file TECLayer.h.
TECLayer::TECLayer | ( | std::vector< const TECPetal * > & | innerPetals, |
std::vector< const TECPetal * > & | outerPetals | ||
) |
Definition at line 50 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().
|
override |
Definition at line 93 of file TECLayer.cc.
References mps_fire::i, and theComps.
|
private |
Definition at line 179 of file TECLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), LogDebug, mps_fire::result, subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 24 of file TECLayer.h.
References theComps.
|
private |
Definition at line 137 of file TECLayer.cc.
References funct::abs(), PeriodicBinFinderInPhi< T >::binIndex(), SiPixelRawToDigiRegional_cfi::deltaPhi, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), LogDebug, rho, theBackBinFinder, theBackComps, theBackDisk, theFrontBinFinder, theFrontComps, theFrontDisk, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV().
|
overridevirtual |
Reimplemented from GeometricSearchDet.
Definition at line 99 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(), mps_fire::result, and searchNeighbors().
|
private |
Definition at line 205 of file TECLayer.cc.
References PVValHelper::add(), PV3DBase< T, PVType, FrameType >::barePhi(), PeriodicBinFinderInPhi< T >::binIndex(), SubLayerCrossing::closestDetIndex(), goodZToMuMu_cfi::overlap, phi, Geom::phiLess(), SubLayerCrossing::position(), mps_fire::result, subLayer(), SubLayerCrossing::subLayerIndex(), ForwardDetLayer::surface(), theBackBinFinder, theFrontBinFinder, and svgfig::window().
Referenced by groupedCompatibleDetsV().
|
inlineoverridevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 32 of file TECLayer.h.
References GeomDetEnumerators::subDetGeom, and GeomDetEnumerators::TEC.
|
inlineprivate |
Definition at line 53 of file TECLayer.h.
References theBackComps, and theFrontComps.
Referenced by addClosest(), and searchNeighbors().
|
protected |
Definition at line 68 of file TECLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TECLayer().
|
protected |
Definition at line 60 of file TECLayer.h.
Referenced by computeCrossings(), subLayer(), and TECLayer().
|
protected |
Definition at line 63 of file TECLayer.h.
Referenced by computeCrossings(), and TECLayer().
|
protected |
Definition at line 57 of file TECLayer.h.
Referenced by basicComponents(), and TECLayer().
|
protected |
Definition at line 56 of file TECLayer.h.
Referenced by components(), TECLayer(), and ~TECLayer().
|
protected |
Definition at line 67 of file TECLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TECLayer().
|
protected |
Definition at line 59 of file TECLayer.h.
Referenced by computeCrossings(), subLayer(), and TECLayer().
|
protected |
Definition at line 62 of file TECLayer.h.
Referenced by computeCrossings(), and TECLayer().