#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 final __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.
TBLayer::~TBLayer | ( | ) |
Definition at line 11 of file TBLayer.cc.
|
protected |
Definition at line 86 of file TBLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV().
|
inlinefinalvirtual |
|
inlinefinalvirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 30 of file TBLayer.h.
References theComps.
|
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().
|
protectedpure virtual |
Implemented in TBPLayer, and TIBLayer.
Referenced by computeCrossings().
|
protectedpure virtual |
Implemented in TBPLayer, and TIBLayer.
Referenced by groupedCompatibleDetsV().
|
finalvirtual |
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(), query::result, searchNeighbors(), and svgfig::window().
|
inlineprotected |
Definition at line 71 of file TBLayer.h.
References me, and GeomDetEnumerators::P2OTB.
|
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().
|
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 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(), and TIBLayer::TIBLayer().
|
protected |
Definition at line 83 of file TBLayer.h.
Referenced by components(), 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().