#include <TBLayer.h>
Public Member Functions | |
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 () |
Protected 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)) |
virtual std::tuple< bool, int, int > | computeIndexes (GlobalPoint gInnerPoint, GlobalPoint gOuterPoint) const =0 |
virtual float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const =0 |
bool | isPhase2OT () const |
bool | isPixel () const |
bool | isTIB () const |
bool | isTOB () const |
virtual void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const =0 |
const std::vector< const GeometricSearchDet * > & | subLayer (int ind) const |
Protected Member Functions inherited from BarrelDetLayer | |
SimpleCylinderBounds const & | bounds () const |
virtual BoundCylinder * | computeSurface () |
virtual void | initialize () |
void | setSurface (BoundCylinder *cp) |
Protected Attributes | |
GeomDetEnumerators::SubDetector | me |
std::vector< const GeomDet * > | theBasicComps |
std::vector< const GeometricSearchDet * > | theComps |
std::vector< const GeometricSearchDet * > | theInnerComps |
ReferenceCountingPointer< BoundCylinder > | theInnerCylinder |
std::vector< const GeometricSearchDet * > | theOuterComps |
ReferenceCountingPointer< BoundCylinder > | theOuterCylinder |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
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 |
|
inline |
Definition at line 17 of file TBLayer.h.
References ~TBLayer().
TBLayer::~TBLayer | ( | ) |
Definition at line 11 of file TBLayer.cc.
References mps_fire::i, and theComps.
Referenced by TBLayer().
|
protected |
Definition at line 86 of file TBLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV(), and subDetector().
|
inlinefinalvirtual |
|
inlinefinalvirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 30 of file TBLayer.h.
References groupedCompatibleDetsV(), mps_fire::result, and theComps.
Referenced by Phase2OTtiltedBarrelLayer::Phase2OTtiltedBarrelLayer().
|
protected |
Definition at line 50 of file TBLayer.cc.
References computeIndexes(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), HelixBarrelCylinderCrossing::hasSolution(), HelixBarrelCylinderCrossing::onlyPos, HelixBarrelCylinderCrossing::position(), rho, theInnerCylinder, theOuterCylinder, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV(), and subDetector().
|
protectedpure virtual |
Implemented in TBPLayer, and TIBLayer.
Referenced by computeCrossings(), and subDetector().
|
protectedpure virtual |
Implemented in TBPLayer, and TIBLayer.
Referenced by groupedCompatibleDetsV(), and subDetector().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 18 of file TBLayer.cc.
References addClosest(), LayerCrossingSide::barrelSide(), SubLayerCrossings::closest(), SubLayerCrossings::closestIndex(), computeCrossings(), computeWindowSize(), isTIB(), SubLayerCrossings::isValid(), eostools::move(), DetGroupMerger::orderAndMergeTwoLevels(), SubLayerCrossings::other(), Propagator::propagationDirection(), mps_fire::result, searchNeighbors(), and svgfig::window().
Referenced by components(), and Phase2OTtiltedBarrelLayer::groupedCompatibleDetsV().
|
inlineprotected |
Definition at line 71 of file TBLayer.h.
References me, GeomDetEnumerators::P2OTB, searchNeighbors(), and svgfig::window().
|
inlineprotected |
|
inlineprotected |
Definition at line 68 of file TBLayer.h.
References me, and GeomDetEnumerators::TIB.
Referenced by groupedCompatibleDetsV().
|
inlineprotected |
Definition at line 69 of file TBLayer.h.
References me, and GeomDetEnumerators::TOB.
|
protectedpure virtual |
Implemented in TBPLayer, and TIBLayer.
Referenced by groupedCompatibleDetsV(), and isPhase2OT().
|
inlinefinalvirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 39 of file TBLayer.h.
References addClosest(), computeCrossings(), computeIndexes(), computeWindowSize(), me, and GeomDetEnumerators::subDetGeom.
|
inlineprotected |
Definition at line 64 of file TBLayer.h.
References theInnerComps, and theOuterComps.
Referenced by addClosest(), and TIBLayer::searchNeighbors().
|
protected |
Definition at line 91 of file TBLayer.h.
Referenced by isPhase2OT(), isPixel(), isTIB(), isTOB(), and subDetector().
|
protected |
Definition at line 86 of file TBLayer.h.
Referenced by basicComponents(), Phase2OTtiltedBarrelLayer::Phase2OTtiltedBarrelLayer(), and TIBLayer::TIBLayer().
|
protected |
Definition at line 83 of file TBLayer.h.
Referenced by components(), Phase2OTtiltedBarrelLayer::Phase2OTtiltedBarrelLayer(), TIBLayer::TIBLayer(), and ~TBLayer().
|
protected |
Definition at line 84 of file TBLayer.h.
Referenced by TIBLayer::computeIndexes(), subLayer(), and TIBLayer::TIBLayer().
|
protected |
Definition at line 88 of file TBLayer.h.
Referenced by computeCrossings(), and TIBLayer::TIBLayer().
|
protected |
Definition at line 85 of file TBLayer.h.
Referenced by TIBLayer::computeIndexes(), subLayer(), and TIBLayer::TIBLayer().
|
protected |
Definition at line 89 of file TBLayer.h.
Referenced by computeCrossings(), and TIBLayer::TIBLayer().