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