CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTGeometryParsFromDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryParsFromDD_h
2 #define DTGeometryBuilder_DTGeometryParsFromDD_h
3 
12 #include <vector>
13 
14 class DTGeometry;
15 class DDCompactView;
16 class DDFilteredView;
17 class DTChamber;
18 class DTSuperLayer;
19 class DTLayer;
20 class Bounds;
21 class MuonDDDConstants;
22 class RecoIdealGeometry;
23 
25  public:
28 
30  virtual ~DTGeometryParsFromDD();
31 
32  // Operations
33  void build(const DDCompactView* cview,
34  const MuonDDDConstants& muonConstants,
35  RecoIdealGeometry& rig) ;
36 
38  private:
40  void insertChamber(DDFilteredView& fv,
41  const std::string& type,
42  const MuonDDDConstants& muonConstants,
43  RecoIdealGeometry& rig) const;
44 
47  const std::string& type,
48  const MuonDDDConstants& muonConstants,
49  RecoIdealGeometry& rig) const;
50 
52  void insertLayer(DDFilteredView& fv,
53  const std::string& type,
54  const MuonDDDConstants& muonConstants,
55  RecoIdealGeometry& rig) const;
56 
58  std::vector<double> extractParameters(DDFilteredView& fv) const ;
59 
60  typedef std::pair<std::vector<double>, std::vector<double> > PosRotPair;
61 
62  PosRotPair plane(const DDFilteredView& fv) const ;
63 
65  const MuonDDDConstants& muonConstants,
66  RecoIdealGeometry& rig) const;
67 
68 };
69 #endif
70 
type
Definition: HCALResponse.h:21
void insertChamber(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
create the chamber
type of data representation of DDCompactView
Definition: DDCompactView.h:90
virtual ~DTGeometryParsFromDD()
Destructor.
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
void insertLayer(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
create the layer
DTGeometryParsFromDD()
Constructor.
std::pair< std::vector< double >, std::vector< double > > PosRotPair
void buildGeometry(DDFilteredView &fv, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
Definition: Bounds.h:22
void insertSuperLayer(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
create the SL
void build(const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig)
PosRotPair plane(const DDFilteredView &fv) const