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 
13 #include <vector>
14 #include <boost/shared_ptr.hpp>
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(boost::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 
46  DTChamber* chamber,
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(boost::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.
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:76
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)
RCPPlane plane(const DDFilteredView &fv, Bounds *bounds) const
ReferenceCountingPointer< Plane > RCPPlane
Definition: Bounds.h:22