47 buildGeometry(fview, muonConstants, rig);
72 insertChamber(fv,type, muonConstants,rig);
79 insertSuperLayer(fv, type, muonConstants,rig);
86 insertLayer(fv, type, muonConstants, rig);
113 par.emplace_back(DTChamberTag);
114 vector<double>
size= extractParameters(fv);
115 par.insert(par.end(), size.begin(), size.end());
124 rig.
insert(rawid, posRot.first, posRot.second, par);
140 par.emplace_back(DTSuperLayerTag);
141 vector<double>
size= extractParameters(fv);
142 par.insert(par.end(), size.begin(), size.end());
147 rig.
insert(slId, posRot.first, posRot.second, par);
163 par.emplace_back(DTLayerTag);
164 vector<double>
size= extractParameters(fv);
165 par.insert(par.end(), size.begin(), size.end());
170 int firstWire=fv.
copyno();
176 vector<double> sensSize= extractParameters(fv);
178 par.emplace_back(firstWire);
179 par.emplace_back(WCounter);
180 par.emplace_back(sensSize[1]);
185 rig.
insert(layId, posRot.first, posRot.second, par);
211 std::vector<double> gtran( 3 );
220 rotation.GetComponents(x,y,z);
227 std::vector<double> grmat( 9 );
248 return pair<std::vector<double>, std::vector<double> >(gtran, grmat);
const std::vector< double > & parameters(void) const
Give the parameters of the solid.
bool parent()
set the current node to the parent node ...
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
bool nextSibling()
set the current node to the next sibling ...
const DDRotationMatrix & rotation() const
The absolute rotation of the current node.
bool insert(DetId id, const std::vector< double > &trans, const std::vector< double > &rot, const std::vector< double > &pars)
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
void insertChamber(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
create the chamber
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
Compact representation of the geometrical detector hierarchy.
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
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 > > DDTranslation
int copyno() const
Copy number associated with the current node.
virtual ~DTGeometryParsFromDD()
Destructor.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
A DD Translation is currently implemented with Root Vector3D.
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
void insertLayer(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
create the layer
DDSolidShape shape(void) const
The type of the solid.
const std::vector< std::string > & strings() const
a reference to the std::string-valued values stored in the given instance of DDValue ...
DTGeometryParsFromDD()
Constructor.
DDSolid solidA(void) const
std::pair< std::vector< double >, std::vector< double > > PosRotPair
DDsvalues_type mergedSpecifics() const
void buildGeometry(DDFilteredView &fv, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
int getDetId(const MuonBaseNumber &num) const
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
bool firstChild()
set the current node to the first child ...
constexpr NumType convertMmToCm(NumType millimeters)
const DDTranslation & translation() const
The absolute translation of the current node.
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history)
void insertSuperLayer(DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const
create the SL
void build(const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig)
PosRotPair plane(const DDFilteredView &fv) const