17 DDValue val(attribute, value, 0.0);
30 parseGeometry(fview, muonConstants, theLayerIdWiresMap);
33 std::cerr <<
"DTGeometryParserFromDDD::build() : DDD Exception: something went wrong during XML parsing!" << std::endl
34 <<
" Message: " << e << std::endl
35 <<
" Terminating execution ... " << std::endl;
39 std::cerr <<
"DTGeometryParserFromDDD::build() : an unexpected exception occured: " << e.what() << std::endl;
43 std::cerr <<
"DTGeometryParserFromDDD::build() : An unexpected exception occured!" << std::endl
44 <<
" Terminating execution ... " << std::endl;
73 buildLayer(fv, muonConstants, theLayerIdWiresMap);
91 map<
DTLayerId,std::pair<unsigned int,unsigned int> > &theLayerIdWiresMap ) {
100 int firstWire=fv.
copyno();
105 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)
void addFilter(const DDFilter &, DDLogOp op=DDLogOp::AND)
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.
type of data representation of DDCompactView
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)
void setCriteria(const DDValue &nameVal, DDCompOp, DDLogOp l=DDLogOp::AND, bool asString=true, bool merged=true)
~DTGeometryParserFromDDD()
Destructor.
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.