CMS 3D CMS Logo

DTGeometryBuilderFromDDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryBuilderFromDDD_h
2 #define DTGeometryBuilder_DTGeometryBuilderFromDDD_h
3 
13 #include <memory>
14 #include <vector>
15 
16 class DTGeometry;
17 class DDCompactView;
18 class DDFilteredView;
19 class DTChamber;
20 class DTSuperLayer;
21 class DTLayer;
22 class Bounds;
23 class MuonDDDConstants;
24 
26  public:
29 
31  virtual ~DTGeometryBuilderFromDDD();
32 
33  // Operations
34  void build(std::shared_ptr<DTGeometry> theGeometry,
35  const DDCompactView* cview,
36  const MuonDDDConstants& muonConstants);
37 
38  private:
41  const std::string& type,
42  const MuonDDDConstants& muonConstants) const;
43 
47  const std::string& type,
48  const MuonDDDConstants& muonConstants) const;
49 
52  DTSuperLayer* sl,
53  const std::string& type,
54  const MuonDDDConstants& muonConstants) const;
55 
57  std::vector<double> extractParameters(DDFilteredView& fv) const ;
58 
60 
61  RCPPlane plane(const DDFilteredView& fv,
62  Bounds * bounds) const ;
63 
64  void buildGeometry(std::shared_ptr<DTGeometry> theGeometry,
65  DDFilteredView& fv,
66  const MuonDDDConstants& muonConstants) const;
67 
68 };
69 #endif
70 
type
Definition: HCALResponse.h:21
virtual ~DTGeometryBuilderFromDDD()
Destructor.
DTLayer * buildLayer(DDFilteredView &fv, DTSuperLayer *sl, const std::string &type, const MuonDDDConstants &muonConstants) const
create the layer
type of data representation of DDCompactView
Definition: DDCompactView.h:90
DTChamber * buildChamber(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants) const
create the chamber
void buildGeometry(std::shared_ptr< DTGeometry > theGeometry, DDFilteredView &fv, const MuonDDDConstants &muonConstants) const
DTSuperLayer * buildSuperLayer(DDFilteredView &fv, DTChamber *chamber, const std::string &type, const MuonDDDConstants &muonConstants) const
create the SL
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
RCPPlane plane(const DDFilteredView &fv, Bounds *bounds) const
void build(std::shared_ptr< DTGeometry > theGeometry, const DDCompactView *cview, const MuonDDDConstants &muonConstants)
ReferenceCountingPointer< Plane > RCPPlane
Definition: Bounds.h:22