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 #include <boost/shared_ptr.hpp>
14 
15 class DTGeometry;
16 class DDCompactView;
17 class DDFilteredView;
18 class DTChamber;
19 class DTSuperLayer;
20 class DTLayer;
21 class Bounds;
22 class MuonDDDConstants;
23 class RecoIdealGeometry;
24 
26  public:
29 
31  virtual ~DTGeometryParsFromDD();
32 
33  // Operations
34  void build(const DDCompactView* cview,
35  const MuonDDDConstants& muonConstants,
36  RecoIdealGeometry& rig) ;
37 
39  private:
41  void insertChamber(DDFilteredView& fv,
42  const std::string& type,
43  const MuonDDDConstants& muonConstants,
44  RecoIdealGeometry& rig) const;
45 
48  const std::string& type,
49  const MuonDDDConstants& muonConstants,
50  RecoIdealGeometry& rig) const;
51 
53  void insertLayer(DDFilteredView& fv,
54  const std::string& type,
55  const MuonDDDConstants& muonConstants,
56  RecoIdealGeometry& rig) const;
57 
59  std::vector<double> extractParameters(DDFilteredView& fv) const ;
60 
61  typedef std::pair<std::vector<double>, std::vector<double> > PosRotPair;
62 
63  PosRotPair plane(const DDFilteredView& fv) const ;
64 
66  const MuonDDDConstants& muonConstants,
67  RecoIdealGeometry& rig) const;
68 
69 };
70 #endif
71 
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:76
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