CMS 3D CMS Logo

MuonOffsetFromDD.h
Go to the documentation of this file.
1 #ifndef Geometry_MuonNUmbering_MuonOffsetFromDD_h
2 #define Geometry_MuonNUmbering_MuonOffsetFromDD_h
3 
8 #include <string>
9 #include <vector>
10 
11 class DDFilteredView;
12 class MuonOffsetMap;
13 
15 public:
16  MuonOffsetFromDD(std::vector<std::string> names);
17 
18  bool build(const DDCompactView*, MuonOffsetMap&);
19  bool build(const cms::DDCompactView*, MuonOffsetMap&);
20 
21 private:
22  bool debugParameters(const MuonOffsetMap&);
23  int getNumber(const std::string&, const DDsvalues_type&);
24  const std::vector<std::string> specpars_;
25  const unsigned int nset_;
26 };
27 
28 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
const std::string names[nVars_]
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
const unsigned int nset_
const std::vector< std::string > specpars_
bool debugParameters(const MuonOffsetMap &)
int getNumber(const std::string &, const DDsvalues_type &)
bool build(const DDCompactView *, MuonOffsetMap &)
MuonOffsetFromDD(std::vector< std::string > names)