CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonRPCDetLayerGeometryBuilder.h
Go to the documentation of this file.
1 #ifndef MuonRPCDetLayerGeometryBuilder_h
2 #define MuonRPCDetLayerGeometryBuilder_h
3 
13 class DetLayer;
15 class MuRodBarrelLayer;
16 
17 
20 #include <vector>
21 
23  public:
26 
29 
32  static std::pair<std::vector<DetLayer*>, std::vector<DetLayer*> > buildEndcapLayers(const RPCGeometry& geo);
33 
35  static std::vector<DetLayer*> buildBarrelLayers(const RPCGeometry& geo);
36 
37  private:
38  static void makeBarrelLayers(std::vector<const GeomDet *> & geomDets,
39  std::vector<MuRodBarrelLayer*> & result);
40  static void makeBarrelRods(std::vector<const GeomDet *> & geomDets,
41  std::vector<const DetRod*> & result);
42  static bool isFront(const RPCDetId & rpcId);
43  static MuRingForwardDoubleLayer* buildLayer(int endcap,std::vector<int> rings, int station,int layer, std::vector<int>& rolls,const RPCGeometry& geo);
44 
45 };
46 #endif
47 
MuonRPCDetLayerGeometryBuilder()
Constructor (disabled, only static access is allowed)
static MuRingForwardDoubleLayer * buildLayer(int endcap, std::vector< int > rings, int station, int layer, std::vector< int > &rolls, const RPCGeometry &geo)
tuple result
Definition: query.py:137
static bool isFront(const RPCDetId &rpcId)
static void makeBarrelRods(std::vector< const GeomDet * > &geomDets, std::vector< const DetRod * > &result)
static void makeBarrelLayers(std::vector< const GeomDet * > &geomDets, std::vector< MuRodBarrelLayer * > &result)
static std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > buildEndcapLayers(const RPCGeometry &geo)
static std::vector< DetLayer * > buildBarrelLayers(const RPCGeometry &geo)
Builds the barrel layers. Result vector is sorted inside-out.