40 #include "DD4hep/Detector.h" 45 #include <string_view> 65 bool doLayers = fview.
sibling();
85 const Double_t* tr = fview.
trans();
86 const Double_t*
rot = fview.
rot();
106 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(1) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
107 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
128 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(2) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
129 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
152 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(3) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
153 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
157 int firstWire = fview.
volume()->GetNumber();
159 float wireLength = wpar[1] / dd4hep::cm;
161 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(4) detId: " << rawid <<
" wpar[1]: " << wpar[1] / dd4hep::cm
162 <<
" firstWire: " << firstWire;
171 DTTopology topology(firstWire, WCounter, wireLength);
175 DTLayer* layer =
new DTLayer(layId, surf, topology, layerType, sl);
184 const dd4hep::SpecParRefs& refs) {
188 buildGeometry(fview,
geom,
num);
Log< level::Info, true > LogVerbatim
void up()
set current node to the parent node in the filtered tree
void mergedSpecifics(DDSpecParRefs const &)
User specific data.
const Double_t * rot() const
The absolute rotation of the current node.
void buildGeometry(cms::DDFilteredView &, DTGeometry &, const MuonGeometryConstants &) const
void add(DTLayer *l)
Add layer to the SL which owns it.
bool sibling()
set the current node to the next sub sibling
DTChamber * buildChamber(cms::DDFilteredView &, const MuonGeometryConstants &) const
void down()
set current node to the child node in the filtered tree
const Double_t * trans() const
The absolute translation of the current node.
int baseNumberToUnitNumber(const MuonBaseNumber &num) const override
bool nextSibling()
set the current node to the next sibling
DTLayer * buildLayer(cms::DDFilteredView &, DTSuperLayer *, const MuonGeometryConstants &) const
const ExpandedNodes & history()
The numbering history of the current node.
DTSuperLayer * buildSuperLayer(cms::DDFilteredView &, DTChamber *, const MuonGeometryConstants &) const
bool parent()
set the current node to the parent node ...
bool firstChild()
set the current node to the first child
dd4hep::Volume worldVolume() const
Handle to the world volume containing everything.
const PlacedVolume volume() const
The physical volume of the current node.
void build(DTGeometry &, const cms::DDDetector *, const MuonGeometryConstants &, const dd4hep::SpecParRefs &)
bool checkChild()
count the number of children matching selection
const std::vector< double > parameters() const
extract shape parameters
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history) const
RCPPlane plane(const cms::DDFilteredView &, Bounds *bounds) const