|
|
Go to the documentation of this file.
46 buildGeometry(fview, muonConstants, rig);
71 FEPos =
val.strings()[0];
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);
139 par.emplace_back(DTSuperLayerTag);
140 vector<double>
size = extractParameters(fv);
141 par.insert(par.end(),
size.begin(),
size.end());
146 rig.
insert(slId, posRot.first, posRot.second, par);
161 par.emplace_back(DTLayerTag);
162 vector<double>
size = extractParameters(fv);
163 par.insert(par.end(),
size.begin(),
size.end());
168 int firstWire = fv.
copyno();
174 vector<double> sensSize = extractParameters(fv);
176 par.emplace_back(firstWire);
177 par.emplace_back(WCounter);
178 par.emplace_back(sensSize[1]);
183 rig.
insert(layId, posRot.first, posRot.second, par);
195 par =
A.parameters();
206 std::vector<double> gtran(3);
222 std::vector<double> grmat(9);
243 return pair<std::vector<double>, std::vector<double> >(gtran, grmat);
void insertLayer(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the layer
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history) const
void insertChamber(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the chamber
DDsvalues_type mergedSpecifics() const
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
bool parent()
set the current node to the parent node ...
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
A DD Translation is currently implemented with Root Vector3D.
int getDetId(const MuonBaseNumber &num) const
constexpr auto size(const C &c) -> decltype(c.size())
DDSolidShape shape(void) const
The type of the solid.
PosRotPair plane(const DDFilteredView &fv) const
bool firstChild()
set the current node to the first child ...
void buildGeometry(DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
DTGeometryParsFromDD()
Constructor.
Compact representation of the geometrical detector hierarchy.
virtual ~DTGeometryParsFromDD()
Destructor.
bool nextSibling()
set the current node to the next sibling ...
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
std::pair< std::vector< double >, std::vector< double > > PosRotPair
void build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig)
const DDTranslation & translation() const
The absolute translation of the current node.
const std::vector< double > & parameters(void) const
Give the parameters of the solid.
A DDSolid represents the shape of a part.
const DDRotationMatrix & rotation() const
The absolute rotation of the current node.
constexpr NumType convertMmToCm(NumType millimeters)
void insertSuperLayer(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the SL
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
bool insert(DetId id, const std::vector< double > &trans, const std::vector< double > &rot, const std::vector< double > &pars)
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
int copyno() const
Copy number associated with the current node.