50 buildGeometry(theGeometry, fview, muonConstants);
73 FEPos =
val.strings()[0];
89 DTLayer* layer = buildLayer(fv, sl,
type, muonConstants);
90 theGeometry.
add(layer);
116 vector<double> par = extractParameters(fv);
123 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(1) detId: " << rawid <<
" par[0]: " << par[0] <<
" par[1]: " << par[1]
124 <<
" par[2]: " << par[2];
143 vector<double> par = extractParameters(fv);
145 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(2) detId: " << rawid <<
" par[0]: " << par[0] <<
" par[1]: " << par[1]
146 <<
" par[2]: " << par[2];
175 vector<double> par = extractParameters(fv);
182 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(3) detId: " << rawid <<
" par[0]: " << par[0] <<
" par[1]: " << par[1]
183 <<
" par[2]: " << par[2];
188 int firstWire = fv.
copyno();
189 par = extractParameters(fv);
193 <<
" wireLenght in ddd, wpar[1] in dd4hep: " << wireLength
194 <<
" firstWire: " << firstWire;
201 DTTopology topology(firstWire, WCounter, wireLength);
205 DTLayer* layer =
new DTLayer(layId, surf, topology, layerType, sl);
220 par =
A.parameters();
233 LogTrace(
"DTGeometryBuilderFromDDD") <<
"DTGeometryBuilderFromDDD::plane " 234 <<
" posResult: " << posResult << std::endl;
Log< level::Info, true > LogVerbatim
virtual ~DTGeometryBuilderFromDDD()
Destructor.
void buildGeometry(DTGeometry &theGeometry, DDFilteredView &fv, const MuonGeometryConstants &muonConstants) const
bool parent()
set the current node to the parent node ...
RectangularPlaneBounds * getRecPlaneBounds(const std::vector< double >::const_iterator &shapeStart)
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
bool nextSibling()
set the current node to the next sibling ...
void build(DTGeometry &theGeometry, const DDCompactView *cview, const MuonGeometryConstants &muonConstants)
void add(DTLayer *l)
Add layer to the SL which owns it.
const std::vector< double > & parameters(void) const
Give the parameters of the solid.
Compact representation of the geometrical detector hierarchy.
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
A DDSolid represents the shape of a part.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
RCPPlane plane(const DDFilteredView &fv, Bounds *bounds) const
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
int getDetId(const MuonBaseNumber &num) const
DTChamber * buildChamber(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants) const
create the chamber
DDSolidShape shape(void) const
The type of the solid.
DDsvalues_type mergedSpecifics() const
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
constexpr NumType convertMmToCm(NumType millimeters)
int copyno() const
Copy number associated with the current node.
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
DTSuperLayer * buildSuperLayer(DDFilteredView &fv, DTChamber *chamber, const std::string &type, const MuonGeometryConstants &muonConstants) const
create the SL
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
const DDRotationMatrix & rotation() const
The absolute rotation of the current node.
DTLayer * buildLayer(DDFilteredView &fv, DTSuperLayer *sl, const std::string &type, const MuonGeometryConstants &muonConstants) const
create the layer
DTGeometryBuilderFromDDD()
Constructor.
bool firstChild()
set the current node to the first child ...
const DDTranslation & translation() const
The absolute translation of the current node.
void add(DTChamber *ch)
Add a DTChamber to Geometry.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history) const