Go to the documentation of this file.
14 map<
DTLayerId, std::pair<unsigned int, unsigned int> >& theLayerIdWiresMap) {
23 parseGeometry(fview, muonConstants, theLayerIdWiresMap);
25 std::cerr <<
"DTGeometryParserFromDDD::build() : DDD Exception: something went wrong during XML parsing!"
27 <<
" Message: " <<
e << std::endl
28 <<
" Terminating execution ... " << std::endl;
31 std::cerr <<
"DTGeometryParserFromDDD::build() : an unexpected exception occured: " <<
e.what() << std::endl;
34 std::cerr <<
"DTGeometryParserFromDDD::build() : An unexpected exception occured!" << std::endl
35 <<
" Terminating execution ... " << std::endl;
44 map<
DTLayerId, std::pair<unsigned int, unsigned int> >& theLayerIdWiresMap) {
64 buildLayer(fv, muonConstants, theLayerIdWiresMap);
81 map<
DTLayerId, std::pair<unsigned int, unsigned int> >& theLayerIdWiresMap) {
90 int firstWire = fv.
copyno();
95 theLayerIdWiresMap[layId] = (make_pair(firstWire, WCounter));
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history) const
bool parent()
set the current node to the parent node ...
int getDetId(const MuonBaseNumber &num) const
bool firstChild()
set the current node to the first child ...
Compact representation of the geometrical detector hierarchy.
bool nextSibling()
set the current node to the next sibling ...
void parseGeometry(DDFilteredView &fv, const MuonGeometryConstants &muonConstants, std::map< DTLayerId, std::pair< unsigned int, unsigned int > > &theLayerIdWiresMap)
void buildLayer(DDFilteredView &fv, const MuonGeometryConstants &muonConstants, std::map< DTLayerId, std::pair< unsigned int, unsigned int > > &theLayerIdWiresMap)
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
DTGeometryParserFromDDD(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, std::map< DTLayerId, std::pair< unsigned int, unsigned int > > &theLayerIdWiresMap)
Constructor.
~DTGeometryParserFromDDD()
Destructor.
int copyno() const
Copy number associated with the current node.