CMS 3D CMS Logo

DTGeometryParserFromDDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryParserFromDDD_H
2 #define DTGeometryParserFromDDD_H
3 
16 
17 #include <map>
18 
19 class DTLayerId;
20 
22 
23 public:
24 
26  DTGeometryParserFromDDD(const DDCompactView* cview, const MuonDDDConstants& muonConstants,
27  std::map<DTLayerId,std::pair<unsigned int,unsigned int> > &theLayerIdWiresMap);
28 
31 
32 protected:
33 
34 private:
35  //Parse the DDD
36  void parseGeometry(DDFilteredView& fv, const MuonDDDConstants& muonConstants,
37  std::map<DTLayerId,std::pair<unsigned int,unsigned int> > &theLayerIdWiresMap );
38  //Fill the map
39  void buildLayer(DDFilteredView& fv, const MuonDDDConstants& muonConstants,
40  std::map<DTLayerId,std::pair<unsigned int,unsigned int> > &theLayerIdWiresMap );
41  };
42 #endif
void parseGeometry(DDFilteredView &fv, const MuonDDDConstants &muonConstants, std::map< DTLayerId, std::pair< unsigned int, unsigned int > > &theLayerIdWiresMap)
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.
Definition: DDCompactView.h:80
void buildLayer(DDFilteredView &fv, const MuonDDDConstants &muonConstants, std::map< DTLayerId, std::pair< unsigned int, unsigned int > > &theLayerIdWiresMap)