42 #include "DD4hep/Detector.h" 47 #include <string_view> 66 bool doLayers = fview.
sibling();
85 const Double_t* tr = fview.
trans();
86 const Double_t*
rot = fview.
rot();
102 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(1) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
103 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
124 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(2) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
125 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
148 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(3) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
149 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
156 int firstWire = fview.
volume()->GetNumber();
158 float wireLength = wpar[1] / dd4hep::cm;
160 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(4) detId: " << rawid <<
" wpar[1]: " << wpar[1] / dd4hep::cm
161 <<
" firstWire: " << firstWire;
170 DTTopology topology(firstWire, WCounter, wireLength);
174 DTLayer* layer =
new DTLayer(layId, surf, topology, layerType, sl);
183 const dd4hep::SpecParRefs& refs) {
187 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 add(DTLayer *l)
Add layer to the SL which owns it.
bool sibling()
set the current node to the next sub sibling
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
const ExpandedNodes & history()
The numbering history of the current node.
bool parent()
set the current node to the parent node ...
bool firstChild()
set the current node to the first child
Namespace of DDCMS conversion namespace.
dd4hep::Volume worldVolume() const
Handle to the world volume containing everything.
const PlacedVolume volume() const
The physical volume of the current node.
bool checkChild()
count the number of children matching selection
const std::vector< double > parameters() const
extract shape parameters
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history) const