CMS 3D CMS Logo

ETLDetLayerGeometryBuilder.h
Go to the documentation of this file.
1 #ifndef ETLDetLayerGeometryBuilder_h
2 #define ETLDetLayerGeometryBuilder_h
3 
13 #include <vector>
14 
15 class DetLayer;
17 class MTDDetRing;
19 class MTDDetSector;
20 
22 public:
25  static std::pair<std::vector<DetLayer*>, std::vector<DetLayer*> > buildLayers(const MTDGeometry& geo,
26  const MTDTopology& topo);
27 
28 private:
29  // Disable constructor - only static access is allowed.
31 
33  int layer,
34  std::vector<unsigned>& rings,
35  const MTDGeometry& geo);
36 
38  int endcap, int layer, std::vector<unsigned>& sectors, const MTDGeometry& geo, const MTDTopology& topo);
39 
40  static MTDDetRing* makeDetRing(std::vector<const GeomDet*>& geomDets);
41  static bool isFront(int layer, int ring, int module);
42  static MTDDetSector* makeDetSector(std::vector<const GeomDet*>& geomDets, const MTDTopology& topo);
43 };
44 #endif
MTDRingForwardDoubleLayer
Definition: MTDRingForwardDoubleLayer.h:19
DetLayer
Definition: DetLayer.h:21
ETLDetLayerGeometryBuilder::ETLDetLayerGeometryBuilder
ETLDetLayerGeometryBuilder()
Definition: ETLDetLayerGeometryBuilder.h:30
ETLDetLayerGeometryBuilder::makeDetSector
static MTDDetSector * makeDetSector(std::vector< const GeomDet * > &geomDets, const MTDTopology &topo)
Definition: ETLDetLayerGeometryBuilder.cc:207
MTDGeometry.h
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
ETLDetLayerGeometryBuilder
Definition: ETLDetLayerGeometryBuilder.h:21
ETLDetLayerGeometryBuilder::buildLayer
static MTDRingForwardDoubleLayer * buildLayer(int endcap, int layer, std::vector< unsigned > &rings, const MTDGeometry &geo)
Definition: ETLDetLayerGeometryBuilder.cc:77
ETLDetLayerGeometryBuilder::buildLayerNew
static MTDSectorForwardDoubleLayer * buildLayerNew(int endcap, int layer, std::vector< unsigned > &sectors, const MTDGeometry &geo, const MTDTopology &topo)
Definition: ETLDetLayerGeometryBuilder.cc:140
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
MTDTopology
Definition: MTDTopology.h:13
MTDSectorForwardDoubleLayer
Definition: MTDSectorForwardDoubleLayer.h:11
ETLDetLayerGeometryBuilder::makeDetRing
static MTDDetRing * makeDetRing(std::vector< const GeomDet * > &geomDets)
Definition: ETLDetLayerGeometryBuilder.cc:130
MTDGeometry
Definition: MTDGeometry.h:14
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
ETLDetLayerGeometryBuilder::isFront
static bool isFront(int layer, int ring, int module)
Definition: ETLDetLayerGeometryBuilder.cc:128
MTDDetSector
Definition: MTDDetSector.h:12
volumeBasedMagneticField_160812_cfi.sectors
sectors
Definition: volumeBasedMagneticField_160812_cfi.py:59
ETLDetLayerGeometryBuilder::buildLayers
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildLayers(const MTDGeometry &geo, const MTDTopology &topo)
Definition: ETLDetLayerGeometryBuilder.cc:21
MTDDetRing
Definition: MTDDetRing.h:16
MTDTopology.h