CMS 3D CMS Logo

GEMGeometryParsFromDD.cc
Go to the documentation of this file.
1 /* Implementation of the GEMGeometryParsFromDD Class
2  * Build the GEMGeometry from the DDD and DD4Hep description
3  *
4  * DD4hep part added to the original old file (DD version) made by M. Maggi (INFN Bari)
5  * Author: Sergio Lo Meo (sergio.lo.meo@cern.ch)
6  * Created: Mon, 15 Feb 2021
7  *
8  */
11 
16 
21 
23 
27 
28 #include <iostream>
29 #include <algorithm>
30 
32 
34 
35 // DDD
36 
38  const MuonGeometryConstants& muonConstants,
39  RecoIdealGeometry& rgeo) {
40  std::string attribute = "MuStructure";
41  std::string value = "MuonEndCapGEM";
42 
43  // Asking only for the MuonGEM's
45  DDFilteredView fv(*cview, filter);
46 
47  this->buildGeometry(fv, muonConstants, rgeo);
48 }
49 
51  const MuonGeometryConstants& muonConstants,
52  RecoIdealGeometry& rgeo) {
53  LogDebug("GEMGeometryParsFromDD") << "Building the geometry service";
54  LogDebug("GEMGeometryParsFromDD") << "About to run through the GEM structure\n"
55  << " First logical part " << fv.logicalPart().name().name();
56 
57  edm::LogVerbatim("GEMGeometryParsFromDD") << "(0) GEMGeometryParsFromDD - DDD ";
58  MuonGeometryNumbering muonDDDNumbering(muonConstants);
59  GEMNumberingScheme gemNumbering(muonConstants);
60 
61  bool doSuper = fv.firstChild();
62 
63  LogDebug("GEMGeometryParsFromDD") << "doSuperChamber = " << doSuper;
64  // loop over superchambers
65  while (doSuper) {
66  // getting chamber id from eta partitions
67  fv.firstChild();
68  fv.firstChild();
69  GEMDetId detIdCh =
70  GEMDetId(gemNumbering.baseNumberToUnitNumber(muonDDDNumbering.geoHistoryToBaseNumber(fv.geoHistory())));
71  // back to chambers
72  fv.parent();
73  fv.parent();
74 
75  // currently there is no superchamber in the geometry
76  // only 2 chambers are present separated by a gap.
77  // making superchamber out of the first chamber layer including the gap between chambers
78  if (detIdCh.layer() == 1) { // only make superChambers when doing layer 1
79  buildSuperChamber(fv, detIdCh, rgeo);
80  }
81  buildChamber(fv, detIdCh, rgeo);
82 
83  // loop over chambers
84  // only 1 chamber
85  bool doChambers = fv.firstChild();
86  while (doChambers) {
87  // loop over GEMEtaPartitions
88  bool doEtaPart = fv.firstChild();
89  while (doEtaPart) {
90  GEMDetId detId =
91  GEMDetId(gemNumbering.baseNumberToUnitNumber(muonDDDNumbering.geoHistoryToBaseNumber(fv.geoHistory())));
92  buildEtaPartition(fv, detId, rgeo);
93 
94  doEtaPart = fv.nextSibling();
95  }
96  fv.parent();
97  doChambers = fv.nextSibling();
98  }
99  fv.parent();
100  doSuper = fv.nextSibling();
101  }
102 }
103 
105  LogDebug("GEMGeometryParsFromDD") << "buildSuperChamber " << fv.logicalPart().name().name() << " " << detId
106  << std::endl;
107 
109  std::vector<double> dpar = solid.solidA().parameters();
110 
111  GEMDetId gemid = detId.superChamberId();
112 
113  double dy = dpar[0]; //length is along local Y
114  double dz = dpar[3]; // thickness is long local Z
115  double dx1 = dpar[4]; // bottom width is along local X
116  double dx2 = dpar[8]; // top width is along local X
117  dpar = solid.solidB().parameters();
118 
119  dz += dpar[3]; // chamber thickness
120  dz *= 2; // 2 chambers in superchamber
121  dz += 2.105; // gap between chambers
122 
123  std::vector<double> pars{dx1, dx2, dy, dz};
124  std::vector<double> vtra = getTranslation(fv);
125  std::vector<double> vrot = getRotation(fv);
126 
127  LogDebug("GEMGeometryParsFromDD") << "dimension dx1 " << dx1 << ", dx2 " << dx2 << ", dy " << dy << ", dz " << dz;
128  edm::LogVerbatim("GEMGeometryParsFromDD")
129  << "(3) DDD, SuperChamber DetID " << gemid.rawId() << " Name " << fv.logicalPart().name().name() << " dx1 " << dx1
130  << " dx2 " << dx2 << " dy " << dy << " dz " << dz;
131  rgeo.insert(gemid.rawId(), vtra, vrot, pars, {fv.logicalPart().name().name()});
132 }
133 
135  LogDebug("GEMGeometryParsFromDD") << "buildChamber " << fv.logicalPart().name().name() << " " << detId << std::endl;
136 
138  std::vector<double> dpar = solid.solidA().parameters();
139 
140  double dy = dpar[0]; //length is along local Y
141  double dz = dpar[3]; // thickness is long local Z
142  double dx1 = dpar[4]; // bottom width is along local X
143  double dx2 = dpar[8]; // top width is along local X
144  dpar = solid.solidB().parameters();
145  dz += dpar[3]; // chamber thickness
146 
147  GEMDetId gemid = detId.chamberId();
148 
149  std::vector<double> pars{dx1, dx2, dy, dz};
150  std::vector<double> vtra = getTranslation(fv);
151  std::vector<double> vrot = getRotation(fv);
152 
153  LogDebug("GEMGeometryParsFromDD") << "dimension dx1 " << dx1 << ", dx2 " << dx2 << ", dy " << dy << ", dz " << dz;
154  edm::LogVerbatim("GEMGeometryParsFromDD")
155  << "(4) DDD, Chamber DetID " << gemid.rawId() << " Name " << fv.logicalPart().name().name() << " dx1 " << dx1
156  << " dx2 " << dx2 << " dy " << dy << " dz " << dz;
157  rgeo.insert(gemid.rawId(), vtra, vrot, pars, {fv.logicalPart().name().name()});
158 }
159 
161  LogDebug("GEMGeometryParsFromDD") << "buildEtaPartition " << fv.logicalPart().name().name() << " " << detId
162  << std::endl;
163 
164  // EtaPartition specific parameter (nstrips and npads)
165  DDValue numbOfStrips("nStrips");
166  DDValue numbOfPads("nPads");
167  DDValue delPhi("dPhi");
168  const std::vector<const DDsvalues_type*>& specs = fv.specifics();
169  double nStrips = 0., nPads = 0., dPhi = 0.;
170  for (auto const& is : specs) {
171  if (DDfetch(is, numbOfStrips))
172  nStrips = numbOfStrips.doubles()[0];
173  if (DDfetch(is, numbOfPads))
174  nPads = numbOfPads.doubles()[0];
175  if (DDfetch(is, delPhi))
176  dPhi = delPhi.doubles()[0];
177  }
178  LogDebug("GEMGeometryParsFromDD") << ((nStrips == 0.) ? ("No nStrips found!!")
179  : ("Number of strips: " + std::to_string(nStrips)));
180  LogDebug("GEMGeometryParsFromDD") << ((nPads == 0.) ? ("No nPads found!!")
181  : ("Number of pads: " + std::to_string(nPads)));
182 
183  // EtaPartition specific parameter (size)
184  std::vector<double> dpar = fv.logicalPart().solid().parameters();
185 
186  double dy = dpar[0]; //length is along local Y
187  double dz = dpar[3]; //0.4;// thickness is long local Z
188  double dx1 = dpar[4]; // bottom width is along local X
189  double dx2 = dpar[8]; // top width is along local X
190 
191  std::vector<double> pars{dx1, dx2, dy, dz, nStrips, nPads, dPhi};
192  std::vector<double> vtra = getTranslation(fv);
193  std::vector<double> vrot = getRotation(fv);
194 
195  LogDebug("GEMGeometryParsFromDD") << " dx1 " << dx1 << " dx2 " << dx2 << " dy " << dy << " dz " << dz << " nStrips "
196  << nStrips << " nPads " << nPads << " dPhi " << dPhi;
197 
198  edm::LogVerbatim("GEMGeometryParsFromDD")
199  << "(5) DDD, Eta Partion DetID " << detId.rawId() << " Name " << fv.logicalPart().name().name() << " dx1 " << dx1
200  << " dx2 " << dx2 << " dy " << dy << " dz " << dz << " nStrips " << nStrips << " nPads " << nPads << " dPhi "
201  << dPhi;
202  rgeo.insert(detId.rawId(), vtra, vrot, pars, {fv.logicalPart().name().name()});
203 }
204 
206  const DDTranslation& tran = fv.translation();
207  edm::LogVerbatim("GEMGeometryParsFromDD")
208  << "(1) DDD, tran vector " << tran.x() << " " << tran.y() << " " << tran.z();
209  return {tran.x(), tran.y(), tran.z()};
210 }
211 
213  const DDRotationMatrix& rota = fv.rotation(); //.Inverse();
214  DD3Vector x, y, z;
215  rota.GetComponents(x, y, z);
216  edm::LogVerbatim("GEMGeometryParsFromDD")
217  << "(2) DDD, rot matrix " << x.X() << " " << x.Y() << " " << x.Z() << " " << y.X() << " " << y.Y() << " "
218  << y.Z() << " " << z.X() << " " << z.Y() << " " << z.Z();
219  return {x.X(), x.Y(), x.Z(), y.X(), y.Y(), y.Z(), z.X(), z.Y(), z.Z()};
220 }
221 
222 // DD4Hep
223 
225  const MuonGeometryConstants& muonConstants,
226  RecoIdealGeometry& rgeo) {
227  std::string attribute = "MuStructure";
228  std::string value = "MuonEndCapGEM";
229 
230  const cms::DDFilter filter(attribute, value);
231  cms::DDFilteredView fv(*cview, filter);
232 
233  this->buildGeometry(fv, muonConstants, rgeo);
234 }
235 
237  const MuonGeometryConstants& muonConstants,
238  RecoIdealGeometry& rgeo) {
239  edm::LogVerbatim("GEMGeometryParsFromDD") << "(0) GEMGeometryParsFromDD - DD4HEP ";
240 
241  MuonGeometryNumbering mdddnum(muonConstants);
242  GEMNumberingScheme gemNum(muonConstants);
243  static constexpr uint32_t levelChamb = 7;
244  int chamb(0), region(0);
245  int theLevelPart = muonConstants.getValue("level");
246  int theRingLevel = muonConstants.getValue("mg_ring") / theLevelPart;
247  int theSectorLevel = muonConstants.getValue("mg_sector") / theLevelPart;
248 
249  while (fv.firstChild()) {
250  const auto& history = fv.history();
251  MuonBaseNumber num(mdddnum.geoHistoryToBaseNumber(history));
252  GEMDetId detId(gemNum.baseNumberToUnitNumber(num));
253 
254  if (detId.station() == GEMDetId::minStationId0) {
255  if (num.getLevels() == theRingLevel) {
256  if (detId.region() != region) {
257  region = detId.region();
258  chamb = 0;
259  }
260  ++chamb;
261  detId = GEMDetId(detId.region(), detId.ring(), detId.station(), detId.layer(), chamb, 0);
262  buildSuperChamber(fv, detId, rgeo);
263  } else if (num.getLevels() == theSectorLevel) {
264  buildChamber(fv, detId, rgeo);
265  } else {
266  buildEtaPartition(fv, detId, rgeo);
267  }
268  } else {
269  if (fv.level() == levelChamb) {
270  if (detId.layer() == 1) {
271  buildSuperChamber(fv, detId, rgeo);
272  }
273  buildChamber(fv, detId, rgeo);
274  } else if (num.getLevels() > theSectorLevel) {
275  buildEtaPartition(fv, detId, rgeo);
276  }
277  }
278  }
279 }
280 
282  cms::DDSolid solid(fv.solid());
283  auto solidA = solid.solidA();
284  std::vector<double> dpar = solidA.dimensions();
285 
286  double dy = dpar[3] / dd4hep::mm; //length is along local Y
287  double dz = dpar[2] / dd4hep::mm; // thickness is long local Z
288  double dx1 = dpar[0] / dd4hep::mm; // bottom width is along local X
289  double dx2 = dpar[1] / dd4hep::mm; // top width is along loc
290 
291  auto solidB = solid.solidB();
292  dpar = solidB.dimensions();
293  const int nch = 2;
294  const double chgap = 2.105;
295 
296  GEMDetId gemid = detId.superChamberId();
297  std::string_view name = fv.name();
298 
299  dz += (dpar[2] / dd4hep::mm); // chamber thickness
300  dz *= nch; // 2 chambers in superchamber
301  dz += chgap; // gap between chambers
302 
303  std::vector<double> pars{dx1, dx2, dy, dz};
304  std::vector<double> vtra = getTranslation(fv);
305  std::vector<double> vrot = getRotation(fv);
306 
307  edm::LogVerbatim("GEMGeometryParsFromDD")
308  << "(3) DD4HEP, SuperChamber DetID " << gemid.rawId() << " Name " << std::string(name) << " dx1 " << dx1
309  << " dx2 " << dx2 << " dy " << dy << " dz " << dz;
310  rgeo.insert(gemid.rawId(), vtra, vrot, pars, {std::string(name)});
311 }
312 
314  cms::DDSolid solid(fv.solid());
315  auto solidA = solid.solidA();
316  std::vector<double> dpar = solidA.dimensions();
317 
318  double dy = dpar[3] / dd4hep::mm; //length is along local Y
319  double dz = dpar[2] / dd4hep::mm; // thickness is long local Z
320  double dx1 = dpar[0] / dd4hep::mm; // bottom width is along local X
321  double dx2 = dpar[1] / dd4hep::mm; // top width is along local X
322 
323  auto solidB = solid.solidB();
324  dpar = solidB.dimensions();
325 
326  dz += (dpar[2] / dd4hep::mm); // chamber thickness
327 
328  GEMDetId gemid = detId.chamberId();
329  std::string_view name = fv.name();
330 
331  std::vector<double> pars{dx1, dx2, dy, dz};
332  std::vector<double> vtra = getTranslation(fv);
333  std::vector<double> vrot = getRotation(fv);
334 
335  edm::LogVerbatim("GEMGeometryParsFromDD")
336  << "(4) DD4HEP, Chamber DetID " << gemid.rawId() << " Name " << std::string(name) << " dx1 " << dx1 << " dx2 "
337  << dx2 << " dy " << dy << " dz " << dz;
338  rgeo.insert(gemid.rawId(), vtra, vrot, pars, {std::string(name)});
339 }
340 
342  auto nStrips = fv.get<double>("nStrips");
343  auto nPads = fv.get<double>("nPads");
344  auto dPhi = fv.get<double>("dPhi");
345 
346  std::vector<double> dpar = fv.parameters();
347  std::string_view name = fv.name();
348 
349  double dx1 = dpar[0] / dd4hep::mm;
350  double dx2 = dpar[1] / dd4hep::mm;
351  double dy = dpar[3] / dd4hep::mm;
352  double dz = dpar[2] / dd4hep::mm;
353 
354  std::vector<double> pars{dx1, dx2, dy, dz, nStrips, nPads, dPhi};
355  std::vector<double> vtra = getTranslation(fv);
356  std::vector<double> vrot = getRotation(fv);
357 
358  edm::LogVerbatim("GEMGeometryParsFromDD")
359  << "(5) DD4HEP, Eta Partion DetID " << detId.rawId() << " Name " << std::string(name) << " dx1 " << dx1 << " dx2 "
360  << dx2 << " dy " << dy << " dz " << dz << " nStrips " << nStrips << " nPads " << nPads << " dPhi " << dPhi;
361  rgeo.insert(detId.rawId(), vtra, vrot, pars, {std::string(name)});
362 }
363 
365  std::vector<double> tran(3);
366  tran[0] = static_cast<double>(fv.translation().X()) / dd4hep::mm;
367  tran[1] = static_cast<double>(fv.translation().Y()) / dd4hep::mm;
368  tran[2] = static_cast<double>(fv.translation().Z()) / dd4hep::mm;
369 
370  edm::LogVerbatim("GEMGeometryParsFromDD")
371  << "(1) DD4HEP, tran vector " << tran[0] << " " << tran[1] << " " << tran[2];
372  return {tran[0], tran[1], tran[2]};
373 }
374 
376  DDRotationMatrix rota;
377  fv.rot(rota);
378  DD3Vector x, y, z;
379  rota.GetComponents(x, y, z);
380  const std::vector<double> rot = {x.X(), x.Y(), x.Z(), y.X(), y.Y(), y.Z(), z.X(), z.Y(), z.Z()};
381  edm::LogVerbatim("GEMGeometryParsFromDD")
382  << "(2) DD4HEP, rot matrix " << rot[0] << " " << rot[1] << " " << rot[2] << " " << rot[3] << " " << rot[4]
383  << " " << rot[5] << " " << rot[6] << " " << rot[7] << " " << rot[8];
384  return {rot[0], rot[1], rot[2], rot[3], rot[4], rot[5], rot[6], rot[7], rot[8]};
385 }
cms::DDSolid
Definition: DDFilteredView.h:33
cms::DDFilteredView::rot
const Double_t * rot() const
The absolute rotation of the current node.
Definition: DDFilteredView.cc:120
DDBooleanSolid::solidB
DDSolid solidB(void) const
Definition: DDSolid.cc:468
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
DDAxes::y
GEMNumberingScheme
Definition: GEMNumberingScheme.h:9
GEMNumberingScheme::baseNumberToUnitNumber
int baseNumberToUnitNumber(const MuonBaseNumber &) const override
Definition: GEMNumberingScheme.cc:26
cms::DDFilteredView::parameters
const std::vector< double > parameters() const
extract shape parameters
Definition: DDFilteredView.cc:536
GEMDetId::layer
constexpr int layer() const
Definition: GEMDetId.h:190
GEMGeometryParsFromDD::getRotation
std::vector< double > getRotation(DDFilteredView &fv)
Definition: GEMGeometryParsFromDD.cc:212
MuonGeometryNumbering::geoHistoryToBaseNumber
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history) const
Definition: MuonGeometryNumbering.cc:38
GEMGeometryParsFromDD::~GEMGeometryParsFromDD
~GEMGeometryParsFromDD()
Definition: GEMGeometryParsFromDD.cc:33
DDFilteredView::logicalPart
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
Definition: DDFilteredView.cc:16
MuonGeometryConstants.h
HistogramManager_cfi.specs
specs
Definition: HistogramManager_cfi.py:83
Basic3DVector.h
GEMDetId::superChamberId
constexpr GEMDetId superChamberId() const
Definition: GEMDetId.h:207
MuonGeometryNumbering.h
DDAxes::x
cms::DDFilteredView
Definition: DDFilteredView.h:70
DDFilteredView::parent
bool parent()
set the current node to the parent node ...
Definition: DDFilteredView.cc:161
HLT_FULL_cff.dPhi
dPhi
Definition: HLT_FULL_cff.py:13703
cms::DDSolid::solidA
dd4hep::Solid solidA() const
Definition: DDFilteredView.cc:17
cms::DDFilteredView::name
std::string_view name() const
Definition: DDFilteredView.cc:854
cms::DDFilteredView::translation
const Translation translation() const
Definition: DDFilteredView.cc:103
DDBooleanSolid
Definition: DDSolid.h:173
cms::DDFilteredView::get
T get(const std::string &)
extract attribute value
cms::DDFilteredView::solid
dd4hep::Solid solid() const
Definition: DDFilteredView.cc:862
GEMGeometryParsFromDD::buildSuperChamber
void buildSuperChamber(DDFilteredView &fv, GEMDetId detId, RecoIdealGeometry &rgeo)
Definition: GEMGeometryParsFromDD.cc:104
DDFilteredView::firstChild
bool firstChild()
set the current node to the first child ...
Definition: DDFilteredView.cc:86
GEMNumberingScheme.h
DDFilteredView.h
cms::DDFilter
Definition: DDFilteredView.h:59
DDTranslation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
GEMDetId::minStationId0
static constexpr int32_t minStationId0
Definition: GEMDetId.h:24
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDBase::name
const N & name() const
Definition: DDBase.h:59
DDAxes::z
cms::DDFilteredView::firstChild
bool firstChild()
set the current node to the first child
Definition: DDFilteredView.cc:268
GEMGeometryParsFromDD::build
void build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo)
Definition: GEMGeometryParsFromDD.cc:37
DDSolid.h
DDFilteredView::nextSibling
bool nextSibling()
set the current node to the next sibling ...
Definition: DDFilteredView.cc:124
DDfetch
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
Definition: DDsvalues.cc:79
DDFilteredView.h
DDCompactView.h
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
RecoIdealGeometry.h
GEMGeometryParsFromDD.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DD3Vector
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
Definition: PGeometricDetBuilder.cc:19
DDSpecParRegistry.h
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
delPhi
static double delPhi(const double phi1, const double phi2)
Definition: FFTGenericScaleCalculator.cc:20
cms::DDFilteredView::level
const int level() const
get Iterator level
Definition: DDFilteredView.cc:636
MuonBaseNumber.h
GEMDetId
Definition: GEMDetId.h:18
cms::DDFilteredView::history
const ExpandedNodes & history()
The numbering history of the current node.
Definition: DDFilteredView.cc:683
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88267
DDFilter.h
value
Definition: value.py:1
DDName::name
const std::string & name() const
Returns the name.
Definition: DDName.cc:41
MuonGeometryConstants::getValue
int getValue(const std::string &name) const
Definition: MuonGeometryConstants.cc:8
PVValHelper::dy
Definition: PVValidationHelpers.h:50
DDFilteredView::geoHistory
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
Definition: DDFilteredView.cc:30
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
DDFilteredView::specifics
std::vector< const DDsvalues_type * > specifics() const
Definition: DDFilteredView.cc:32
me0TriggerPseudoDigis_cff.nStrips
nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
Definition: me0TriggerPseudoDigis_cff.py:26
MuonBaseNumber
Definition: MuonBaseNumber.h:21
GEMGeometryParsFromDD::buildEtaPartition
void buildEtaPartition(DDFilteredView &fv, GEMDetId detId, RecoIdealGeometry &rgeo)
Definition: GEMGeometryParsFromDD.cc:160
GEMDetId.h
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
DDRotationMatrix
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
Definition: DDRotationMatrix.h:8
GEMGeometryParsFromDD::buildChamber
void buildChamber(DDFilteredView &fv, GEMDetId detId, RecoIdealGeometry &rgeo)
Definition: GEMGeometryParsFromDD.cc:134
PVValHelper::dz
Definition: PVValidationHelpers.h:51
DDValue
Definition: DDValue.h:21
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
DDFilteredView::translation
const DDTranslation & translation() const
The absolute translation of the current node.
Definition: DDFilteredView.cc:26
GEMDetId::chamberId
constexpr GEMDetId chamberId() const
Definition: GEMDetId.h:204
cms::DDCompactView
Definition: DDCompactView.h:31
GEMGeometryParsFromDD::getTranslation
std::vector< double > getTranslation(DDFilteredView &fv)
Definition: GEMGeometryParsFromDD.cc:205
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
DDSolid::parameters
const std::vector< double > & parameters(void) const
Give the parameters of the solid.
Definition: DDSolid.cc:121
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
DDSpecificsMatchesValueFilter
Definition: DDFilter.h:70
DDFilteredView::rotation
const DDRotationMatrix & rotation() const
The absolute rotation of the current node.
Definition: DDFilteredView.cc:28
MuonGeometryNumbering
Definition: MuonGeometryNumbering.h:24
GEMGeometryParsFromDD::buildGeometry
void buildGeometry(DDFilteredView &fview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo)
Definition: GEMGeometryParsFromDD.cc:50
DDBooleanSolid::solidA
DDSolid solidA(void) const
Definition: DDSolid.cc:466
DDValue::doubles
const std::vector< double > & doubles() const
a reference to the double-valued values stored in the given instance of DDValue
Definition: DDValue.cc:111
DDFilteredView
Definition: DDFilteredView.h:20
RecoIdealGeometry::insert
bool insert(DetId id, const std::vector< double > &trans, const std::vector< double > &rot, const std::vector< double > &pars)
Definition: RecoIdealGeometry.h:33
DDLogicalPart::solid
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
Definition: DDLogicalPart.cc:120
RecoIdealGeometry
Definition: RecoIdealGeometry.h:28
GEMGeometryParsFromDD::GEMGeometryParsFromDD
GEMGeometryParsFromDD()
Definition: GEMGeometryParsFromDD.cc:31