CMS 3D CMS Logo

GeometricSearchTracker.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_GeometricSearchTracker_h
2 #define TkDetLayers_GeometricSearchTracker_h
3 
8 
9 class TrackerTopology;
10 
16 public:
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  void addDetLayerGeometry();
31 
32  void addMTDLayers(const std::vector<BarrelDetLayer const*>& btl,
33  const std::vector<ForwardDetLayer const*>& negEtl,
34  const std::vector<ForwardDetLayer const*>& posEtl);
35 
36  std::vector<DetLayer const*> const& allLayers() const { return theAllLayers; }
37 
38  std::vector<BarrelDetLayer const*> const& barrelLayers() const { return theBarrelLayers; }
39 
40  std::vector<ForwardDetLayer const*> const& forwardLayers() const { return theForwardLayers; }
41  std::vector<ForwardDetLayer const*> const& negForwardLayers() const { return theNegForwardLayers; }
42  std::vector<ForwardDetLayer const*> const& posForwardLayers() const { return thePosForwardLayers; }
43 
44  std::vector<BarrelDetLayer const*> const& pixelBarrelLayers() const { return thePixelBarrelLayers; }
45  std::vector<BarrelDetLayer const*> const& tibLayers() const { return theTibLayers; }
46  std::vector<BarrelDetLayer const*> const& tobLayers() const { return theTobLayers; }
47 
48  std::vector<ForwardDetLayer const*> const& negPixelForwardLayers() const { return theNegPixelForwardLayers; }
49  std::vector<ForwardDetLayer const*> const& negTidLayers() const { return theNegTidLayers; }
50  std::vector<ForwardDetLayer const*> const& negTecLayers() const { return theNegTecLayers; }
51 
52  std::vector<ForwardDetLayer const*> const& posPixelForwardLayers() const { return thePosPixelForwardLayers; }
53  std::vector<ForwardDetLayer const*> const& posTidLayers() const { return thePosTidLayers; }
54  std::vector<ForwardDetLayer const*> const& posTecLayers() const { return thePosTecLayers; }
55 
57  const DetLayer* idToLayer(const DetId& detId) const override;
58 
60  const DetLayer* detLayer(const DetId& id) const { return idToLayer(id); };
61 
62  //Need to make this pointer public so the tracker builder can build the MTD
64 
65 private:
66  std::vector<DetLayer const*> theAllLayers;
67  std::vector<BarrelDetLayer const*> theBarrelLayers;
68  std::vector<ForwardDetLayer const*> theForwardLayers;
69  std::vector<ForwardDetLayer const*> theNegForwardLayers;
70  std::vector<ForwardDetLayer const*> thePosForwardLayers;
71 
72  std::vector<BarrelDetLayer const*> thePixelBarrelLayers;
73  std::vector<BarrelDetLayer const*> theTibLayers;
74  std::vector<BarrelDetLayer const*> theTobLayers;
75 
76  std::vector<ForwardDetLayer const*> theNegPixelForwardLayers;
77  std::vector<ForwardDetLayer const*> theNegTidLayers;
78  std::vector<ForwardDetLayer const*> theNegTecLayers;
79  std::vector<ForwardDetLayer const*> thePosPixelForwardLayers;
80  std::vector<ForwardDetLayer const*> thePosTidLayers;
81  std::vector<ForwardDetLayer const*> thePosTecLayers;
82 
83  //MTD stuff
84  std::vector<BarrelDetLayer const*> theBTLLayers;
85  std::vector<ForwardDetLayer const*> theETLLayers;
86  std::vector<ForwardDetLayer const*> theNegETLLayers;
87  std::vector<ForwardDetLayer const*> thePosETLLayers;
88 
90 };
91 
92 #endif
GeometricSearchTracker::tobLayers
std::vector< BarrelDetLayer const * > const & tobLayers() const
Definition: GeometricSearchTracker.h:46
GeometricSearchTracker::tibLayers
std::vector< BarrelDetLayer const * > const & tibLayers() const
Definition: GeometricSearchTracker.h:45
GeometricSearchTracker::mtdDetLayerGeometry
MTDDetLayerGeometry * mtdDetLayerGeometry
Definition: GeometricSearchTracker.h:60
DetLayer
Definition: DetLayer.h:21
GeometricSearchTracker::addDetLayerGeometry
void addDetLayerGeometry()
Definition: GeometricSearchTracker.cc:132
GeometricSearchTracker::theTrkTopo
const TrackerTopology * theTrkTopo
Definition: GeometricSearchTracker.h:89
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:79
GeometricSearchTracker::theTobLayers
std::vector< BarrelDetLayer const * > theTobLayers
Definition: GeometricSearchTracker.h:74
__attribute__
float __attribute__((vector_size(8))) cms_float32x2_t
Definition: ExtVec.h:12
GeometricSearchTracker::thePixelBarrelLayers
std::vector< BarrelDetLayer const * > thePixelBarrelLayers
Definition: GeometricSearchTracker.h:72
GeometricSearchTracker::thePosTecLayers
std::vector< ForwardDetLayer const * > thePosTecLayers
Definition: GeometricSearchTracker.h:81
DetId
Definition: DetId.h:17
GeometricSearchTracker::theNegTecLayers
std::vector< ForwardDetLayer const * > theNegTecLayers
Definition: GeometricSearchTracker.h:78
GeometricSearchTracker::thePosForwardLayers
std::vector< ForwardDetLayer const * > thePosForwardLayers
Definition: GeometricSearchTracker.h:70
GeometricSearchTracker::posTecLayers
std::vector< ForwardDetLayer const * > const & posTecLayers() const
Definition: GeometricSearchTracker.h:54
GeometricSearchTracker::thePosETLLayers
std::vector< ForwardDetLayer const * > thePosETLLayers
Definition: GeometricSearchTracker.h:87
GeometricSearchTracker::theNegTidLayers
std::vector< ForwardDetLayer const * > theNegTidLayers
Definition: GeometricSearchTracker.h:77
GeometricSearchTracker::detLayer
const DetLayer * detLayer(const DetId &id) const
obsolete method. Use idToLayer() instead.
Definition: GeometricSearchTracker.h:60
GeometricSearchTracker::~GeometricSearchTracker
~GeometricSearchTracker() override __attribute__((cold))
Definition: GeometricSearchTracker.cc:72
GeometricSearchTracker::posTidLayers
std::vector< ForwardDetLayer const * > const & posTidLayers() const
Definition: GeometricSearchTracker.h:53
GeometricSearchTracker::barrelLayers
std::vector< BarrelDetLayer const * > const & barrelLayers() const
Definition: GeometricSearchTracker.h:38
GeometricSearchTracker::theNegPixelForwardLayers
std::vector< ForwardDetLayer const * > theNegPixelForwardLayers
Definition: GeometricSearchTracker.h:76
GeometricSearchTracker::thePosTidLayers
std::vector< ForwardDetLayer const * > thePosTidLayers
Definition: GeometricSearchTracker.h:80
GeometricSearchTracker::negTecLayers
std::vector< ForwardDetLayer const * > const & negTecLayers() const
Definition: GeometricSearchTracker.h:50
DetLayerGeometry.h
GeometricSearchTracker::theNegETLLayers
std::vector< ForwardDetLayer const * > theNegETLLayers
Definition: GeometricSearchTracker.h:86
GeometricSearchTracker::posPixelForwardLayers
std::vector< ForwardDetLayer const * > const & posPixelForwardLayers() const
Definition: GeometricSearchTracker.h:52
GeometricSearchTracker::theBTLLayers
std::vector< BarrelDetLayer const * > theBTLLayers
Definition: GeometricSearchTracker.h:84
GeometricSearchTracker::theETLLayers
std::vector< ForwardDetLayer const * > theETLLayers
Definition: GeometricSearchTracker.h:85
GeometricSearchTracker::theAllLayers
std::vector< DetLayer const * > theAllLayers
Definition: GeometricSearchTracker.h:66
DetLayerGeometry
Definition: DetLayerGeometry.h:18
BarrelDetLayer.h
GeometricSearchTracker::theBarrelLayers
std::vector< BarrelDetLayer const * > theBarrelLayers
Definition: GeometricSearchTracker.h:67
MTDDetLayerGeometry
Definition: MTDDetLayerGeometry.h:22
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:41
MTDDetLayerGeometry.h
GeometricSearchTracker::theTibLayers
std::vector< BarrelDetLayer const * > theTibLayers
Definition: GeometricSearchTracker.h:73
GeometricSearchTracker::negPixelForwardLayers
std::vector< ForwardDetLayer const * > const & negPixelForwardLayers() const
Definition: GeometricSearchTracker.h:48
GeometricSearchTracker::addMTDLayers
void addMTDLayers(const std::vector< BarrelDetLayer const * > &btl, const std::vector< ForwardDetLayer const * > &negEtl, const std::vector< ForwardDetLayer const * > &posEtl)
Definition: GeometricSearchTracker.cc:134
ForwardDetLayer.h
GeometricSearchTracker
Definition: GeometricSearchTracker.h:15
GeometricSearchTracker::posForwardLayers
std::vector< ForwardDetLayer const * > const & posForwardLayers() const
Definition: GeometricSearchTracker.h:42
GeometricSearchTracker::forwardLayers
std::vector< ForwardDetLayer const * > const & forwardLayers() const
Definition: GeometricSearchTracker.h:40
GeometricSearchTracker::theForwardLayers
std::vector< ForwardDetLayer const * > theForwardLayers
Definition: GeometricSearchTracker.h:68
GeometricSearchTracker::theNegForwardLayers
std::vector< ForwardDetLayer const * > theNegForwardLayers
Definition: GeometricSearchTracker.h:69
GeometricSearchTracker::allLayers
std::vector< DetLayer const * > const & allLayers() const
Definition: GeometricSearchTracker.h:36
GeometricSearchTracker::negTidLayers
std::vector< ForwardDetLayer const * > const & negTidLayers() const
Definition: GeometricSearchTracker.h:49
GeometricSearchTracker::pixelBarrelLayers
std::vector< BarrelDetLayer const * > const & pixelBarrelLayers() const
Definition: GeometricSearchTracker.h:44