CMS 3D CMS Logo

ME0GeometryParsFromDD.h
Go to the documentation of this file.
1 #ifndef Geometry_GEMGeometry_ME0GeometryParsFromDD_H
2 #define Geometry_GEMGeometry_ME0GeometryParsFromDD_H
3 
4 /* Implementation of the ME0GeometryParsFromDD Class
5  * Build the ME0Geometry from the DDD and DD4Hep description
6  *
7  * DD4hep part added to the original old file (DD version) made by M. Maggi (INFN Bari)
8  * Author: Sergio Lo Meo (sergio.lo.meo@cern.ch)
9  * Created: Thu, 25 Feb 2021
10  *
11  */
12 
13 #include <vector>
14 
15 class DDCompactView;
16 class DDFilteredView;
17 namespace cms { // DD4Hep
18  class DDFilteredView;
19  class DDCompactView;
20 } // namespace cms
22 class RecoIdealGeometry;
23 class ME0DetId;
24 
26 public:
28 
30  // DD
32  // DD4HEP
34 
35 private:
36  // DD
38 
39  void buildChamber(DDFilteredView& fv, ME0DetId detId, RecoIdealGeometry& rgeo);
40  void buildLayer(DDFilteredView& fv, ME0DetId detId, RecoIdealGeometry& rgeo);
42 
43  std::vector<double> getDimension(DDFilteredView& fv);
44  std::vector<double> getTranslation(DDFilteredView& fv);
45  std::vector<double> getRotation(DDFilteredView& fv);
46 
47  //DD4HEP
48 
50 
54 
55  std::vector<double> getDimension(cms::DDFilteredView& fv);
56  std::vector<double> getTranslation(cms::DDFilteredView& fv);
57  std::vector<double> getRotation(cms::DDFilteredView& fv);
58 };
59 #endif
ME0GeometryParsFromDD::buildEtaPartition
void buildEtaPartition(DDFilteredView &fv, ME0DetId detId, RecoIdealGeometry &rgeo)
Definition: ME0GeometryParsFromDD.cc:121
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
ME0GeometryParsFromDD::buildLayer
void buildLayer(DDFilteredView &fv, ME0DetId detId, RecoIdealGeometry &rgeo)
Definition: ME0GeometryParsFromDD.cc:109
ME0GeometryParsFromDD::getDimension
std::vector< double > getDimension(DDFilteredView &fv)
Definition: ME0GeometryParsFromDD.cc:154
ME0GeometryParsFromDD::buildGeometry
void buildGeometry(DDFilteredView &, const MuonGeometryConstants &, RecoIdealGeometry &)
Definition: ME0GeometryParsFromDD.cc:42
ME0GeometryParsFromDD::ME0GeometryParsFromDD
ME0GeometryParsFromDD(void)
Definition: ME0GeometryParsFromDD.h:27
cms::DDFilteredView
Definition: DDFilteredView.h:70
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
ME0GeometryParsFromDD::buildChamber
void buildChamber(DDFilteredView &fv, ME0DetId detId, RecoIdealGeometry &rgeo)
Definition: ME0GeometryParsFromDD.cc:97
ME0GeometryParsFromDD::getRotation
std::vector< double > getRotation(DDFilteredView &fv)
Definition: ME0GeometryParsFromDD.cc:174
ME0GeometryParsFromDD::~ME0GeometryParsFromDD
~ME0GeometryParsFromDD(void)
Definition: ME0GeometryParsFromDD.h:29
ME0DetId
Definition: ME0DetId.h:16
ME0GeometryParsFromDD::build
void build(const DDCompactView *, const MuonGeometryConstants &, RecoIdealGeometry &)
Definition: ME0GeometryParsFromDD.cc:29
cms::DDCompactView
Definition: DDCompactView.h:31
ME0GeometryParsFromDD
Definition: ME0GeometryParsFromDD.h:25
DDFilteredView
Definition: DDFilteredView.h:20
RecoIdealGeometry
Definition: RecoIdealGeometry.h:28
ME0GeometryParsFromDD::getTranslation
std::vector< double > getTranslation(DDFilteredView &fv)
Definition: ME0GeometryParsFromDD.cc:167
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21