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 {
20  public:
21 
23 
25 
26  ME0Geometry* build(const DDCompactView* cview, const MuonDDDConstants& muonConstants);
27 
28  private:
29  ME0Geometry* buildGeometry(DDFilteredView& fview, const MuonDDDConstants& muonConstants);
30  std::map<ME0DetId,std::vector<ME0DetId>> chids;
31 
33 
34  ME0BoundPlane boundPlane(const DDFilteredView& fv,
35  Bounds* bounds, bool isOddChamber) const ;
36 
38 
39  ME0Layer* buildLayer(DDFilteredView& fv, ME0DetId detId) const;
40 
42 };
43 
44 #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
std::map< ME0DetId, std::vector< ME0DetId > > chids
ME0BoundPlane boundPlane(const DDFilteredView &fv, Bounds *bounds, bool isOddChamber) const
ME0Geometry * buildGeometry(DDFilteredView &fview, const MuonDDDConstants &muonConstants)
Definition: Bounds.h:22
ME0EtaPartition * buildEtaPartition(DDFilteredView &fv, ME0DetId detId) const
ME0Layer * buildLayer(DDFilteredView &fv, ME0DetId detId) const