CMS 3D CMS Logo

ME0GeometryBuilderFromDDD.h
Go to the documentation of this file.
1 #ifndef Geometry_GEMGeometry_ME0GeometryBuilderFromDDD_H
2 #define Geometry_GEMGeometry_ME0GeometryBuilderFromDDD_H
3 
5 #include <string>
6 #include <map>
7 #include <vector>
8 
9 class DDCompactView;
10 class DDFilteredView;
11 class ME0Geometry;
12 class ME0DetId;
13 class ME0Chamber;
14 class ME0Layer;
15 class ME0EtaPartition;
16 class MuonDDDConstants;
17 
19 public:
21 
23 
24  ME0Geometry* build(const DDCompactView* cview, const MuonDDDConstants& muonConstants);
25 
26 private:
27  ME0Geometry* buildGeometry(DDFilteredView& fview, const MuonDDDConstants& muonConstants);
28  std::map<ME0DetId, std::vector<ME0DetId>> chids;
29 
31 
32  ME0BoundPlane boundPlane(const DDFilteredView& fv, Bounds* bounds, bool isOddChamber) const;
33 
35 
36  ME0Layer* buildLayer(DDFilteredView& fv, ME0DetId detId) const;
37 
39 };
40 
41 #endif
ReferenceCountingPointer< BoundPlane > ME0BoundPlane
ME0Geometry * build(const DDCompactView *cview, const MuonDDDConstants &muonConstants)
ME0Chamber * buildChamber(DDFilteredView &fv, ME0DetId detId) const
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
ME0BoundPlane boundPlane(const DDFilteredView &fv, Bounds *bounds, bool isOddChamber) const
ME0Geometry * buildGeometry(DDFilteredView &fview, const MuonDDDConstants &muonConstants)
std::map< ME0DetId, std::vector< ME0DetId > > chids
Definition: Bounds.h:20
ME0EtaPartition * buildEtaPartition(DDFilteredView &fv, ME0DetId detId) const
ME0Layer * buildLayer(DDFilteredView &fv, ME0DetId detId) const