File indexing completed on 2024-09-10 02:59:07
0001 #ifndef SimG4CMS_Muon_MuonG4Numbering_h
0002 #define SimG4CMS_Muon_MuonG4Numbering_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 class G4Step;
0022 class MuonBaseNumber;
0023 class MuonGeometryConstants;
0024 class MuonOffsetMap;
0025
0026 class MuonG4Numbering {
0027 public:
0028 MuonG4Numbering(const MuonGeometryConstants& muonConstants, const MuonOffsetMap* offMap, bool dd4hep);
0029 ~MuonG4Numbering() {}
0030
0031 MuonBaseNumber PhysicalVolumeToBaseNumber(const G4Step* aStep);
0032
0033 private:
0034 const int getCopyNoLevel(const int);
0035 const int getCopyNoSuperNo(const int);
0036 const int getCopyNoBaseNo(const int);
0037 const bool copyNoRelevant(const int);
0038
0039 const MuonOffsetMap* offMap_;
0040 const bool dd4hep_;
0041 int theLevelPart;
0042 int theSuperPart;
0043 int theBasePart;
0044 int theStartCopyNo;
0045 };
0046
0047 #endif