CMS 3D CMS Logo

DTGeometryParsFromDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryParsFromDD_h
2 #define DTGeometryBuilder_DTGeometryParsFromDD_h
3 
13 #include <vector>
14 
15 class DTGeometry;
16 class DDCompactView;
17 class DDFilteredView;
18 namespace cms { // DD4Hep
19  class DDFilteredView;
20  class DDCompactView;
21 } // namespace cms
22 class DTChamber;
23 class DTSuperLayer;
24 class DTLayer;
25 class Bounds;
27 class RecoIdealGeometry;
28 
30 public:
33 
35  virtual ~DTGeometryParsFromDD();
36 
37  // DD
38  void build(const DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig);
39 
40  // DD4Hep
41  void build(const cms::DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
42 
44 
45 private:
46  // DD
49  const std::string& type,
50  const MuonGeometryConstants& muonConstants,
51  RecoIdealGeometry& rig) const;
52 
55  const std::string& type,
56  const MuonGeometryConstants& muonConstants,
57  RecoIdealGeometry& rig) const;
58 
60  void insertLayer(DDFilteredView& fv,
61  const std::string& type,
62  const MuonGeometryConstants& muonConstants,
63  RecoIdealGeometry& rig) const;
64 
66  std::vector<double> extractParameters(DDFilteredView& fv) const;
67 
68  typedef std::pair<std::vector<double>, std::vector<double> > PosRotPair;
69 
70  PosRotPair plane(const DDFilteredView& fv) const;
71 
72  void buildGeometry(DDFilteredView& fv, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig) const;
73 
74  // DD4Hep
75 
76  void buildGeometry(cms::DDFilteredView& fv, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig) const;
77 
79  void insertChamber(cms::DDFilteredView& fv, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig) const;
80 
83  const MuonGeometryConstants& muonConstants,
84  RecoIdealGeometry& rig) const;
85 
87  void insertLayer(cms::DDFilteredView& fv, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig) const;
88 
89  PosRotPair plane(const cms::DDFilteredView& fv) const;
90 };
91 #endif
DTGeometry
Definition: DTGeometry.h:28
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
DTGeometryParsFromDD::insertLayer
void insertLayer(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the layer
Definition: DTGeometryParsFromDD.cc:173
DTGeometryParsFromDD::insertChamber
void insertChamber(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the chamber
DTChamber
Definition: DTChamber.h:24
DTGeometryParsFromDD::DTChamberTag
Definition: DTGeometryParsFromDD.h:43
Bounds
Definition: Bounds.h:18
DTSuperLayer
Definition: DTSuperLayer.h:24
cms::DDFilteredView
Definition: DDFilteredView.h:70
DTGeometryParsFromDD::plane
PosRotPair plane(const DDFilteredView &fv) const
Definition: DTGeometryParsFromDD.cc:229
DTGeometryParsFromDD::buildGeometry
void buildGeometry(DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
Definition: DTGeometryParsFromDD.cc:72
DTGeometryParsFromDD::DTGeometryParsFromDD
DTGeometryParsFromDD()
Constructor.
Definition: DTGeometryParsFromDD.cc:37
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DTGeometryParsFromDD::~DTGeometryParsFromDD
virtual ~DTGeometryParsFromDD()
Destructor.
Definition: DTGeometryParsFromDD.cc:39
DTGeometryParsFromDD::DTSuperLayerTag
Definition: DTGeometryParsFromDD.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTGeometryParsFromDD
Definition: DTGeometryParsFromDD.h:29
DTGeometryParsFromDD::DTDetTag
DTDetTag
Definition: DTGeometryParsFromDD.h:43
DTGeometryParsFromDD::extractParameters
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
Definition: DTGeometryParsFromDD.cc:213
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
DTLayer
Definition: DTLayer.h:25
DTGeometryParsFromDD::PosRotPair
std::pair< std::vector< double >, std::vector< double > > PosRotPair
Definition: DTGeometryParsFromDD.h:68
DTGeometryParsFromDD::build
void build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig)
Definition: DTGeometryParsFromDD.cc:42
DTGeometryParsFromDD::DTLayerTag
Definition: DTGeometryParsFromDD.h:43
cms::DDCompactView
Definition: DDCompactView.h:31
BoundPlane.h
DDFilteredView
Definition: DDFilteredView.h:20
DTGeometryParsFromDD::insertSuperLayer
void insertSuperLayer(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the SL
Definition: DTGeometryParsFromDD.cc:151
RecoIdealGeometry
Definition: RecoIdealGeometry.h:28
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21