CMS 3D CMS Logo

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