CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CompositeTECWedge.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_CompositeTECWedge_h
2 #define TkDetLayers_CompositeTECWedge_h
3 
4 
5 #include "TECWedge.h"
6 #include "SubLayerCrossings.h"
7 
8 
13 #pragma GCC visibility push(hidden)
14 class CompositeTECWedge final : public TECWedge{
15  public:
16  CompositeTECWedge(std::vector<const GeomDet*>& innerDets,
17  std::vector<const GeomDet*>& outerDets) __attribute__ ((cold));
18 
20 
21  // GeometricSearchDet interface
22  virtual const std::vector<const GeomDet*>& basicComponents() const {return theDets;}
23 
24  virtual const std::vector<const GeometricSearchDet*>& components() const __attribute__ ((cold));
25 
26  virtual std::pair<bool, TrajectoryStateOnSurface>
29 
30  virtual void
32  const Propagator& prop,
34  std::vector<DetGroup> & result) const __attribute__ ((hot));
35 
36  private:
37  // private methods for the implementation of groupedCompatibleDets()
39  PropagationDirection propDir) const __attribute__ ((hot));
40 
42  const Propagator& prop,
44  const SubLayerCrossing& crossing,
45  std::vector<DetGroup>& result) const __attribute__ ((hot));
46 
48  const Propagator& prop,
50  const SubLayerCrossing& crossing,
51  float window,
52  std::vector<DetGroup>& result,
53  bool checkClosest) const __attribute__ ((hot));
54 
55  int findClosestDet( const GlobalPoint& startPos,int sectorId) const;
56 
57  const std::vector<const GeomDet*>& subWedge( int ind) const {
58  return (ind==0 ? theFrontDets : theBackDets);
59  }
60 
61 
62  private:
63  std::vector<const GeomDet*> theFrontDets;
64  std::vector<const GeomDet*> theBackDets;
65  std::vector<const GeomDet*> theDets;
66 
69 
70 };
71 
72 
73 #pragma GCC visibility pop
74 #endif
def window
Definition: svgfig.py:642
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
CompositeTECWedge(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets) __attribute__((cold))
std::vector< const GeomDet * > theDets
PropagationDirection
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot))
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const __attribute__((cold))
tuple result
Definition: mps_fire.py:84
std::vector< const GeomDet * > theFrontDets
int findClosestDet(const GlobalPoint &startPos, int sectorId) const
const std::vector< const GeomDet * > & subWedge(int ind) const
std::vector< const GeomDet * > theBackDets
~CompositeTECWedge() __attribute__((cold))
ReferenceCountingPointer< BoundDiskSector > theBackSector
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot))
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:12
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))
string const
Definition: compareJSON.py:14
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const __attribute__((hot))
virtual const std::vector< const GeomDet * > & basicComponents() const
ReferenceCountingPointer< BoundDiskSector > theFrontSector