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 
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
void build(const DDCompactView *, const MuonGeometryConstants &, RecoIdealGeometry &)
void buildEtaPartition(DDFilteredView &fv, ME0DetId detId, RecoIdealGeometry &rgeo)
std::vector< double > getDimension(DDFilteredView &fv)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
void buildChamber(DDFilteredView &fv, ME0DetId detId, RecoIdealGeometry &rgeo)
std::vector< double > getRotation(DDFilteredView &fv)
Namespace of DDCMS conversion namespace.
void buildLayer(DDFilteredView &fv, ME0DetId detId, RecoIdealGeometry &rgeo)
std::vector< double > getTranslation(DDFilteredView &fv)
void buildGeometry(DDFilteredView &, const MuonGeometryConstants &, RecoIdealGeometry &)