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