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