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;
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 MuonGeometryConstants& muonConstants);
41 
42 private:
45  const std::string& type,
46  const MuonGeometryConstants& muonConstants) const;
47 
51  const std::string& type,
52  const MuonGeometryConstants& muonConstants) const;
53 
56  DTSuperLayer* sl,
57  const std::string& type,
58  const MuonGeometryConstants& muonConstants) const;
59 
61  std::vector<double> extractParameters(DDFilteredView& fv) const;
62 
64 
65  RCPPlane plane(const DDFilteredView& fv, Bounds* bounds) const;
66 
67  void buildGeometry(DTGeometry& theGeometry, DDFilteredView& fv, const MuonGeometryConstants& muonConstants) const;
68 };
69 #endif
DTGeometry
Definition: DTGeometry.h:28
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
dtGeometryBuilder::getRecPlaneBounds
RectangularPlaneBounds * getRecPlaneBounds(const std::vector< double >::const_iterator &shapeStart)
Definition: DTGeometryBuilderFromCondDB.cc:80
DTGeometryBuilderFromDDD
Definition: DTGeometryBuilderFromDDD.h:31
DTChamber
Definition: DTChamber.h:24
Bounds
Definition: Bounds.h:18
ReferenceCountingPointer< Plane >
DTSuperLayer
Definition: DTSuperLayer.h:24
DTGeometryBuilderFromDDD::plane
RCPPlane plane(const DDFilteredView &fv, Bounds *bounds) const
Definition: DTGeometryBuilderFromDDD.cc:212
Plane.h
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DTGeometryBuilderFromDDD::build
void build(DTGeometry &theGeometry, const DDCompactView *cview, const MuonGeometryConstants &muonConstants)
Definition: DTGeometryBuilderFromDDD.cc:37
RectangularPlaneBounds.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTGeometryBuilderFromDDD::buildSuperLayer
DTSuperLayer * buildSuperLayer(DDFilteredView &fv, DTChamber *chamber, const std::string &type, const MuonGeometryConstants &muonConstants) const
create the SL
Definition: DTGeometryBuilderFromDDD.cc:129
DTGeometryBuilderFromDDD::buildLayer
DTLayer * buildLayer(DDFilteredView &fv, DTSuperLayer *sl, const std::string &type, const MuonGeometryConstants &muonConstants) const
create the layer
Definition: DTGeometryBuilderFromDDD.cc:158
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
DTGeometryBuilderFromDDD::RCPPlane
ReferenceCountingPointer< Plane > RCPPlane
Definition: DTGeometryBuilderFromDDD.h:63
DTLayer
Definition: DTLayer.h:25
RectangularPlaneBounds
Definition: RectangularPlaneBounds.h:12
DTGeometryBuilderFromDDD::buildChamber
DTChamber * buildChamber(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants) const
create the chamber
Definition: DTGeometryBuilderFromDDD.cc:105
DTGeometryBuilderFromDDD::~DTGeometryBuilderFromDDD
virtual ~DTGeometryBuilderFromDDD()
Destructor.
Definition: DTGeometryBuilderFromDDD.cc:35
DTGeometryBuilderFromDDD::buildGeometry
void buildGeometry(DTGeometry &theGeometry, DDFilteredView &fv, const MuonGeometryConstants &muonConstants) const
Definition: DTGeometryBuilderFromDDD.cc:54
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
dtGeometryBuilder
Definition: DTGeometryBuilderFromCondDB.h:32
DDFilteredView
Definition: DDFilteredView.h:20
DTGeometryBuilderFromDDD::extractParameters
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
Definition: DTGeometryBuilderFromDDD.cc:196
DTGeometryBuilderFromDDD::DTGeometryBuilderFromDDD
DTGeometryBuilderFromDDD()
Constructor.
Definition: DTGeometryBuilderFromDDD.cc:33