CMS 3D CMS Logo

GeometricSearchTracker.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_GeometricSearchTracker_h
2 #define TkDetLayers_GeometricSearchTracker_h
3 
7 
8 class TrackerTopology;
9 
15  public:
16 
17  GeometricSearchTracker(const std::vector<BarrelDetLayer const*>& pxlBar,
18  const std::vector<BarrelDetLayer const*>& tib,
19  const std::vector<BarrelDetLayer const*>& tob,
20  const std::vector<ForwardDetLayer const*>& negPxlFwd,
21  const std::vector<ForwardDetLayer const*>& negTid,
22  const std::vector<ForwardDetLayer const*>& negTec,
23  const std::vector<ForwardDetLayer const*>& posPxlFwd,
24  const std::vector<ForwardDetLayer const*>& posTid,
25  const std::vector<ForwardDetLayer const*>& posTec,
26  const TrackerTopology* tTopo) __attribute__ ((cold));
27 
28  ~GeometricSearchTracker() override __attribute__ ((cold));
29 
30  std::vector<DetLayer const*> const & allLayers() const {return theAllLayers;}
31 
32  std::vector<BarrelDetLayer const*> const & barrelLayers() const {return theBarrelLayers;}
33 
34  std::vector<ForwardDetLayer const*> const & forwardLayers() const {return theForwardLayers;}
35  std::vector<ForwardDetLayer const*> const & negForwardLayers() const {return theNegForwardLayers;}
36  std::vector<ForwardDetLayer const*> const & posForwardLayers() const {return thePosForwardLayers;}
37 
38  std::vector<BarrelDetLayer const*> const & pixelBarrelLayers() const {return thePixelBarrelLayers;}
39  std::vector<BarrelDetLayer const*> const & tibLayers() const {return theTibLayers;}
40  std::vector<BarrelDetLayer const*> const & tobLayers() const {return theTobLayers;}
41 
42  std::vector<ForwardDetLayer const*> const & negPixelForwardLayers() const {return theNegPixelForwardLayers;}
43  std::vector<ForwardDetLayer const*> const & negTidLayers() const {return theNegTidLayers;}
44  std::vector<ForwardDetLayer const*> const & negTecLayers() const {return theNegTecLayers;}
45 
46  std::vector<ForwardDetLayer const*> const & posPixelForwardLayers() const {return thePosPixelForwardLayers;}
47  std::vector<ForwardDetLayer const*> const & posTidLayers() const {return thePosTidLayers;}
48  std::vector<ForwardDetLayer const*> const & posTecLayers() const {return thePosTecLayers;}
49 
50 
52  const DetLayer* idToLayer(const DetId& detId) const override;
53 
55  const DetLayer* detLayer( const DetId& id) const {return idToLayer(id);};
56 
57  private:
58  std::vector<DetLayer const*> theAllLayers;
59  std::vector<BarrelDetLayer const*> theBarrelLayers;
60  std::vector<ForwardDetLayer const*> theForwardLayers;
61  std::vector<ForwardDetLayer const*> theNegForwardLayers;
62  std::vector<ForwardDetLayer const*> thePosForwardLayers;
63 
64  std::vector<BarrelDetLayer const*> thePixelBarrelLayers;
65  std::vector<BarrelDetLayer const*> theTibLayers;
66  std::vector<BarrelDetLayer const*> theTobLayers;
67 
68  std::vector<ForwardDetLayer const*> theNegPixelForwardLayers;
69  std::vector<ForwardDetLayer const*> theNegTidLayers;
70  std::vector<ForwardDetLayer const*> theNegTecLayers;
71  std::vector<ForwardDetLayer const*> thePosPixelForwardLayers;
72  std::vector<ForwardDetLayer const*> thePosTidLayers;
73  std::vector<ForwardDetLayer const*> thePosTecLayers;
74 
76 };
77 
78 
79 #endif
std::vector< BarrelDetLayer const * > theBarrelLayers
std::vector< ForwardDetLayer const * > theNegTidLayers
std::vector< ForwardDetLayer const * > theForwardLayers
std::vector< ForwardDetLayer const * > const & posForwardLayers() const
std::vector< DetLayer const * > const & allLayers() const
std::vector< ForwardDetLayer const * > const & posPixelForwardLayers() const
std::vector< ForwardDetLayer const * > const & forwardLayers() const
float __attribute__((vector_size(8))) cms_float32x2_t
Definition: ExtVec.h:12
std::vector< ForwardDetLayer const * > thePosTidLayers
std::vector< BarrelDetLayer const * > const & tobLayers() const
std::vector< DetLayer const * > theAllLayers
std::vector< ForwardDetLayer const * > const & negPixelForwardLayers() const
std::vector< ForwardDetLayer const * > thePosPixelForwardLayers
std::vector< BarrelDetLayer const * > thePixelBarrelLayers
std::vector< ForwardDetLayer const * > const & negForwardLayers() const
std::vector< BarrelDetLayer const * > theTibLayers
const DetLayer * detLayer(const DetId &id) const
obsolete method. Use idToLayer() instead.
GeometricSearchTracker(const std::vector< BarrelDetLayer const * > &pxlBar, const std::vector< BarrelDetLayer const * > &tib, const std::vector< BarrelDetLayer const * > &tob, const std::vector< ForwardDetLayer const * > &negPxlFwd, const std::vector< ForwardDetLayer const * > &negTid, const std::vector< ForwardDetLayer const * > &negTec, const std::vector< ForwardDetLayer const * > &posPxlFwd, const std::vector< ForwardDetLayer const * > &posTid, const std::vector< ForwardDetLayer const * > &posTec, const TrackerTopology *tTopo) __attribute__((cold))
std::vector< BarrelDetLayer const * > const & pixelBarrelLayers() const
std::vector< ForwardDetLayer const * > theNegForwardLayers
std::vector< ForwardDetLayer const * > thePosTecLayers
Definition: DetId.h:18
std::vector< BarrelDetLayer const * > const & tibLayers() const
~GeometricSearchTracker() override __attribute__((cold))
std::vector< ForwardDetLayer const * > const & posTecLayers() const
std::vector< ForwardDetLayer const * > const & negTidLayers() const
const TrackerTopology * theTrkTopo
std::vector< ForwardDetLayer const * > const & posTidLayers() const
std::vector< ForwardDetLayer const * > theNegPixelForwardLayers
const DetLayer * idToLayer(const DetId &detId) const override
Give the DetId of a module, returns the pointer to the corresponding DetLayer.
std::vector< ForwardDetLayer const * > const & negTecLayers() const
std::vector< BarrelDetLayer const * > theTobLayers
std::vector< BarrelDetLayer const * > const & barrelLayers() const
std::vector< ForwardDetLayer const * > theNegTecLayers
std::vector< ForwardDetLayer const * > thePosForwardLayers