47 buildGeometry(theGeometry, fview, muonConstants);
68 FEPos =
val.strings()[0];
80 DTLayer* layer = buildLayer(fv, sl,
type, muonConstants);
81 theGeometry.
add(layer);
107 std::vector<double> par = extractParameters(fv);
114 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(1) detId: " << rawid <<
" par[0]: " << par[0] <<
" par[1]: " << par[1]
115 <<
" par[2]: " << par[2];
134 std::vector<double> par = extractParameters(fv);
136 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(2) detId: " << rawid <<
" par[0]: " << par[0] <<
" par[1]: " << par[1]
137 <<
" par[2]: " << par[2];
166 std::vector<double> par = extractParameters(fv);
173 edm::LogVerbatim(
"DTGeometryBuilder") <<
"(3) detId: " << rawid <<
" par[0]: " << par[0] <<
" par[1]: " << par[1]
174 <<
" par[2]: " << par[2];
179 int firstWire = fv.
copyno();
180 par = extractParameters(fv);
184 <<
" wireLenght in ddd, wpar[1] in dd4hep: " << wireLength
185 <<
" firstWire: " << firstWire;
203 std::vector<double> par;
211 par =
A.parameters();
224 LogTrace(
"DTGeometryBuilderFromDDD") <<
"DTGeometryBuilderFromDDD::plane posResult: " << posResult;
232 edm::LogVerbatim(
"DTGeometry") <<
"INVERSE rotation manually: " <<
x.X() <<
", " <<
x.Y() <<
", " <<
x.Z()
234 << y.X() <<
", " << y.Y() <<
", " << y.Z() << std::endl
235 << z.X() <<
", " << z.Y() <<
", " << z.Z();
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)
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
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
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