39 #include "DD4hep/Detector.h" 44 #include <string_view> 64 bool doLayers = fview.
sibling();
84 const Double_t* tr = fview.
trans();
85 const Double_t*
rot = fview.
rot();
105 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(1) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
106 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
127 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(2) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
128 <<
" par[1]: " << par[1] / dd4hep::cm <<
" par[2]: " << par[2] / dd4hep::cm;
151 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(3) detId: " << rawid <<
" par[0]: " << par[0] / dd4hep::cm
152 <<
" 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;
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 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