1 #ifndef TkDetLayers_TBLayer_h 2 #define TkDetLayers_TBLayer_h 12 #pragma GCC visibility push(hidden) 16 template<
typename TDET>
64 const std::vector<const GeometricSearchDet*>&
subLayer(
int ind)
const {
78 std::vector<DetGroup>& result,
79 bool checkClosest)
const=0;
83 std::vector<const GeometricSearchDet*>
theComps;
96 #pragma GCC visibility pop ReferenceCountingPointer< BoundCylinder > theOuterCylinder
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &startingState, PropagationDirection propDir) const __attribute__((hot))
virtual float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const =0
std::vector< const GeometricSearchDet * > theInnerComps
std::vector< const GeometricSearchDet * > theComps
float __attribute__((vector_size(8))) cms_float32x2_t
virtual std::tuple< bool, int, int > computeIndexes(GlobalPoint gInnerPoint, GlobalPoint gOuterPoint) const =0
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const __attribute__((hot))
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const override __attribute__((hot))
TBLayer(std::vector< const TDET * > &inner, std::vector< const TDET * > &outer, GeomDetEnumerators::SubDetector ime)
def window(xmin, xmax, ymin, ymax, x=0, y=0, width=100, height=100, xlogbase=None, ylogbase=None, minusInfinity=-1000, flipx=False, flipy=True)
~TBLayer() override __attribute__((cold))
SubDetector subDetGeom[21]
SubDetector subDetector() const final
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
GeomDetEnumerators::SubDetector me
const std::vector< const GeomDet * > & basicComponents() const final
const std::vector< const GeometricSearchDet * > & subLayer(int ind) const
const std::vector< const GeometricSearchDet * > & components() const final __attribute__((cold))
Returns basic components, if any.
std::vector< const GeomDet * > theBasicComps
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
std::vector< const GeometricSearchDet * > theOuterComps
ReferenceCountingPointer< BoundCylinder > theInnerCylinder