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 addFilter(const DDFilter &, log_op op=AND)
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.
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 ...
void setCriteria(const DDValue &nameVal, comp_op, log_op l=AND, bool asString=true, bool merged=true)
MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory &history)
void buildLayer(DDFilteredView &fv, const MuonDDDConstants &muonConstants, std::map< DTLayerId, std::pair< unsigned int, unsigned int > > &theLayerIdWiresMap)
~DTGeometryParserFromDDD()
Destructor.
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.