File indexing completed on 2023-03-17 13:03:49
0001 #ifndef Geometry_MuonNUmbering_MuonOffsetFromDD_h
0002 #define Geometry_MuonNUmbering_MuonOffsetFromDD_h
0003
0004 #include "DetectorDescription/Core/interface/DDsvalues.h"
0005 #include "DetectorDescription/Core/interface/DDCompactView.h"
0006 #include "DetectorDescription/DDCMS/interface/DDCompactView.h"
0007 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0008 #include <string>
0009 #include <vector>
0010
0011 class DDFilteredView;
0012 class MuonOffsetMap;
0013
0014 class MuonOffsetFromDD {
0015 public:
0016 MuonOffsetFromDD(std::vector<std::string> names);
0017
0018 bool build(const DDCompactView*, MuonOffsetMap&);
0019 bool build(const cms::DDCompactView*, MuonOffsetMap&);
0020
0021 private:
0022 bool debugParameters(const MuonOffsetMap&);
0023 int getNumber(const std::string&, const DDsvalues_type&);
0024 const std::vector<std::string> specpars_;
0025 const unsigned int nset_;
0026 };
0027
0028 #endif