CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTGeometryBuilderFromDDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryBuilderFromDDD_h
2 #define DTGeometryBuilder_DTGeometryBuilderFromDDD_h
3 
15 #include <vector>
16 #include <boost/shared_ptr.hpp>
17 
18 class DTGeometry;
19 class DDCompactView;
20 class DDFilteredView;
21 class DTChamber;
22 class DTSuperLayer;
23 class DTLayer;
24 class Bounds;
25 class MuonDDDConstants;
26 
28  public:
31 
33  virtual ~DTGeometryBuilderFromDDD();
34 
35  // Operations
36  void build(boost::shared_ptr<DTGeometry> theGeometry,
37  const DDCompactView* cview,
38  const MuonDDDConstants& muonConstants);
39 
40  private:
43  const std::string& type,
44  const MuonDDDConstants& muonConstants) const;
45 
48  DTChamber* chamber,
49  const std::string& type,
50  const MuonDDDConstants& muonConstants) const;
51 
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,
64  const Bounds& bounds) const ;
65 
66  void buildGeometry(boost::shared_ptr<DTGeometry> theGeometry,
67  DDFilteredView& fv,
68  const MuonDDDConstants& muonConstants) const;
69 
70 };
71 #endif
72 
type
Definition: HCALResponse.h:22
virtual ~DTGeometryBuilderFromDDD()
Destructor.
void buildGeometry(boost::shared_ptr< DTGeometry > theGeometry, DDFilteredView &fv, const MuonDDDConstants &muonConstants) const
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:77
RCPPlane plane(const DDFilteredView &fv, const Bounds &bounds) const
DTChamber * buildChamber(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants) const
create the chamber
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.
void build(boost::shared_ptr< DTGeometry > theGeometry, const DDCompactView *cview, const MuonDDDConstants &muonConstants)
ReferenceCountingPointer< BoundPlane > RCPPlane
Definition: Bounds.h:18