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 } // namespace dtGeometryBuilder
30 
32 public:
35 
37  virtual ~DTGeometryBuilderFromDDD();
38 
39  // Operations
40  void build(DTGeometry& theGeometry, const DDCompactView* cview, const MuonDDDConstants& muonConstants);
41 
42 private:
44  DTChamber* buildChamber(DDFilteredView& fv, const std::string& type, const MuonDDDConstants& muonConstants) const;
45 
47  DTSuperLayer* buildSuperLayer(DDFilteredView& fv,
49  const std::string& type,
50  const MuonDDDConstants& muonConstants) const;
51 
53  DTLayer* buildLayer(DDFilteredView& fv,
54  DTSuperLayer* sl,
55  const std::string& type,
56  const MuonDDDConstants& muonConstants) const;
57 
59  std::vector<double> extractParameters(DDFilteredView& fv) const;
60 
62 
63  RCPPlane plane(const DDFilteredView& fv, Bounds* bounds) const;
64 
65  void buildGeometry(DTGeometry& theGeometry, DDFilteredView& fv, const MuonDDDConstants& muonConstants) const;
66 };
67 #endif
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:20