CMS 3D CMS Logo

DTGeometryBuilderFromDDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryBuilderFromDDD_h
2 #define DTGeometryBuilder_DTGeometryBuilderFromDDD_h
3 
14 
15 #include <vector>
16 
17 class DTGeometry;
18 class DDCompactView;
19 class DDFilteredView;
20 class DTChamber;
21 class DTSuperLayer;
22 class DTLayer;
23 class Bounds;
24 class MuonDDDConstants;
25 
26 namespace dtGeometryBuilder {
27  // Helper function from DTGeometryBuilderFromCondDB.cc
28  RectangularPlaneBounds* getRecPlaneBounds( const std::vector<double>::const_iterator &shapeStart );
29 }
30 
32  public:
35 
37  virtual ~DTGeometryBuilderFromDDD();
38 
39  // Operations
40  void build(DTGeometry& theGeometry,
41  const DDCompactView* cview,
42  const MuonDDDConstants& muonConstants);
43 
44  private:
46  DTChamber* buildChamber(DDFilteredView& fv,
47  const std::string& type,
48  const MuonDDDConstants& muonConstants) const;
49 
51  DTSuperLayer* buildSuperLayer(DDFilteredView& fv,
53  const std::string& type,
54  const MuonDDDConstants& muonConstants) const;
55 
57  DTLayer* buildLayer(DDFilteredView& fv,
58  DTSuperLayer* sl,
59  const std::string& type,
60  const MuonDDDConstants& muonConstants) const;
61 
63  std::vector<double> extractParameters(DDFilteredView& fv) const ;
64 
66 
67  RCPPlane plane(const DDFilteredView& fv,
68  Bounds * bounds) const ;
69 
70  void buildGeometry(DTGeometry& theGeometry,
71  DDFilteredView& fv,
72  const MuonDDDConstants& muonConstants) const;
73 
74 };
75 #endif
76 
type
Definition: HCALResponse.h:21
RectangularPlaneBounds * getRecPlaneBounds(const std::vector< double >::const_iterator &shapeStart)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
ReferenceCountingPointer< Plane > RCPPlane
Definition: Bounds.h:22