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 GCC11_FINAL : public TECWedge{
15  public:
16  CompositeTECWedge(std::vector<const GeomDet*>& innerDets,
17  std::vector<const GeomDet*>& outerDets) __attribute__ ((cold));
18 
19  ~CompositeTECWedge() __attribute__ ((cold));
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
31  groupedCompatibleDetsV( const TrajectoryStateOnSurface& startingState,
32  const Propagator& prop,
34  std::vector<DetGroup> & result) const __attribute__ ((hot));
35 
36  private:
37  // private methods for the implementation of groupedCompatibleDets()
38  SubLayerCrossings computeCrossings( const TrajectoryStateOnSurface& tsos,
39  PropagationDirection propDir) const __attribute__ ((hot));
40 
41  bool addClosest( const TrajectoryStateOnSurface& tsos,
42  const Propagator& prop,
44  const SubLayerCrossing& crossing,
45  std::vector<DetGroup>& result) const __attribute__ ((hot));
46 
47  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
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 =0
Returns basic components, if any.
std::vector< const GeomDet * > theDets
PropagationDirection
tuple result
Definition: query.py:137
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:6
string const
Definition: compareJSON.py:14
#define private
Definition: FWFileEntry.h:17
std::vector< const GeomDet * > theFrontDets
std::vector< const GeomDet * > theBackDets
Unlimited (trivial) bounds.