CMS 3D CMS Logo

MuonRPCDetLayerGeometryBuilder.h
Go to the documentation of this file.
1 #ifndef MuonRPCDetLayerGeometryBuilder_h
2 #define MuonRPCDetLayerGeometryBuilder_h
3 
11 class DetLayer;
13 class MuRodBarrelLayer;
14 
17 #include <vector>
18 
20 public:
23 
26 
29  static std::pair<std::vector<DetLayer*>, std::vector<DetLayer*> > buildEndcapLayers(const RPCGeometry& geo);
30 
32  static std::vector<DetLayer*> buildBarrelLayers(const RPCGeometry& geo);
33 
34 private:
35  static void makeBarrelLayers(std::vector<const GeomDet*>& geomDets, std::vector<MuRodBarrelLayer*>& result);
36  static void makeBarrelRods(std::vector<const GeomDet*>& geomDets, std::vector<const DetRod*>& result);
37  static bool isFront(const RPCDetId& rpcId);
39  const std::vector<int>& rings,
40  int station,
41  int layer,
42  std::vector<int>& rolls,
43  const RPCGeometry& geo);
44 };
45 #endif
MuonRPCDetLayerGeometryBuilder::buildEndcapLayers
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const RPCGeometry &geo)
Definition: MuonRPCDetLayerGeometryBuilder.cc:32
MuonRPCDetLayerGeometryBuilder::~MuonRPCDetLayerGeometryBuilder
virtual ~MuonRPCDetLayerGeometryBuilder()
Destructor.
Definition: MuonRPCDetLayerGeometryBuilder.cc:29
DetLayer
Definition: DetLayer.h:21
relativeConstraints.station
station
Definition: relativeConstraints.py:67
RPCDetId
Definition: RPCDetId.h:16
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
MuonRPCDetLayerGeometryBuilder::isFront
static bool isFront(const RPCDetId &rpcId)
Definition: MuonRPCDetLayerGeometryBuilder.cc:299
MuRodBarrelLayer
Definition: MuRodBarrelLayer.h:17
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
MuonRPCDetLayerGeometryBuilder::buildLayer
static MuRingForwardDoubleLayer * buildLayer(int endcap, const std::vector< int > &rings, int station, int layer, std::vector< int > &rolls, const RPCGeometry &geo)
Definition: MuonRPCDetLayerGeometryBuilder.cc:94
MuonRPCDetLayerGeometryBuilder::MuonRPCDetLayerGeometryBuilder
MuonRPCDetLayerGeometryBuilder()
Constructor (disabled, only static access is allowed)
Definition: MuonRPCDetLayerGeometryBuilder.h:22
MuonRPCDetLayerGeometryBuilder::makeBarrelRods
static void makeBarrelRods(std::vector< const GeomDet * > &geomDets, std::vector< const DetRod * > &result)
Definition: MuonRPCDetLayerGeometryBuilder.cc:246
MuonRPCDetLayerGeometryBuilder::makeBarrelLayers
static void makeBarrelLayers(std::vector< const GeomDet * > &geomDets, std::vector< MuRodBarrelLayer * > &result)
Definition: MuonRPCDetLayerGeometryBuilder.cc:186
MuonRPCDetLayerGeometryBuilder
Definition: MuonRPCDetLayerGeometryBuilder.h:19
MuonRPCDetLayerGeometryBuilder::buildBarrelLayers
static std::vector< DetLayer * > buildBarrelLayers(const RPCGeometry &geo)
Builds the barrel layers. Result vector is sorted inside-out.
Definition: MuonRPCDetLayerGeometryBuilder.cc:150
mps_fire.result
result
Definition: mps_fire.py:311
RPCGeometry
Definition: RPCGeometry.h:20
RPCGeometry.h
MuRingForwardDoubleLayer
Definition: MuRingForwardDoubleLayer.h:19
MuDetRod.h