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
MuonOffsetFromDD::getNumber
int getNumber(const std::string &, const DDsvalues_type &)
Definition: MuonOffsetFromDD.cc:83
MuonOffsetFromDD::specpars_
const std::vector< std::string > specpars_
Definition: MuonOffsetFromDD.h:24
MessageLogger.h
MuonOffsetFromDD::build
bool build(const DDCompactView *, MuonOffsetMap &)
Definition: MuonOffsetFromDD.cc:19
MuonOffsetFromDD::debugParameters
bool debugParameters(const MuonOffsetMap &)
Definition: MuonOffsetFromDD.cc:71
DDCompactView.h
MuonOffsetFromDD::nset_
const unsigned int nset_
Definition: MuonOffsetFromDD.h:25
MuonOffsetMap
Definition: MuonOffsetMap.h:9
names
const std::string names[nVars_]
Definition: PhotonIDValueMapProducer.cc:124
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDCompactView.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonOffsetFromDD
Definition: MuonOffsetFromDD.h:14
MuonOffsetFromDD::MuonOffsetFromDD
MuonOffsetFromDD(std::vector< std::string > names)
Definition: MuonOffsetFromDD.cc:13
cms::DDCompactView
Definition: DDCompactView.h:31
DDsvalues.h
DDFilteredView
Definition: DDFilteredView.h:20
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12