File indexing completed on 2024-09-07 04:36:33
0001 #ifndef Geometry_MuonNumbering_MuonGeometryNumbering_h
0002 #define Geometry_MuonNumbering_MuonGeometryNumbering_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include "DetectorDescription/Core/interface/DDExpandedNode.h"
0018 #include "DetectorDescription/DDCMS/interface/ExpandedNodes.h"
0019 #include "DetectorDescription/Core/interface/DDLogicalPart.h"
0020
0021 class MuonBaseNumber;
0022 class MuonGeometryConstants;
0023
0024 class MuonGeometryNumbering {
0025 public:
0026 MuonGeometryNumbering(const MuonGeometryConstants& muonConstants);
0027 ~MuonGeometryNumbering() {}
0028
0029 MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory& history) const;
0030 MuonBaseNumber geoHistoryToBaseNumber(const cms::ExpandedNodes&) const;
0031
0032 private:
0033 int getInt(const std::string& s, const DDLogicalPart& part) const;
0034
0035 int theLevelPart;
0036 int theSuperPart;
0037 int theBasePart;
0038 int theStartCopyNo;
0039 };
0040
0041 #endif