#include <MuonG4Numbering.h>
Public Member Functions | |
MuonG4Numbering (const MuonGeometryConstants &muonConstants, const MuonOffsetMap *offMap, bool dd4hep) | |
MuonBaseNumber | PhysicalVolumeToBaseNumber (const G4Step *aStep) |
~MuonG4Numbering () | |
Private Member Functions | |
const bool | copyNoRelevant (const int) |
const int | getCopyNoBaseNo (const int) |
const int | getCopyNoLevel (const int) |
const int | getCopyNoSuperNo (const int) |
Private Attributes | |
const bool | dd4hep_ |
const MuonOffsetMap * | offMap_ |
int | theBasePart |
int | theLevelPart |
int | theStartCopyNo |
int | theSuperPart |
class to handle the conversion to MuonBaseNumber from tree of G4 copy numbers extracted from G4VPhysicalVolume; needs DDD compatible format of G4 copy numbers; the format itself may in a later version also be defined by DDD constants
in the xml muon constant section one has to define level, super and base constants (eg. 1000,100,1) and the start value of the copy numbers (0 or 1)
Modification:
Definition at line 26 of file MuonG4Numbering.h.
MuonG4Numbering::MuonG4Numbering | ( | const MuonGeometryConstants & | muonConstants, |
const MuonOffsetMap * | offMap, | ||
bool | dd4hep | ||
) |
Definition at line 16 of file MuonG4Numbering.cc.
References dd4hep_, MuonGeometryConstants::getValue(), offMap_, theBasePart, theLevelPart, theStartCopyNo, and theSuperPart.
|
inline |
Definition at line 29 of file MuonG4Numbering.h.
|
private |
Definition at line 91 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 89 of file MuonG4Numbering.cc.
References theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 85 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 87 of file MuonG4Numbering.cc.
References theLevelPart, and theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
MuonBaseNumber MuonG4Numbering::PhysicalVolumeToBaseNumber | ( | const G4Step * | aStep | ) |
Definition at line 48 of file MuonG4Numbering.cc.
References copyNoRelevant(), dd4hep_, getCopyNoBaseNo(), getCopyNoLevel(), getCopyNoSuperNo(), cuy::ii, dqmdumpme::last, MuonOffsetMap::muonMap_, Skims_PA_cff::name, DD4hep2DDDName::noNameSpace(), EgammaValidation_cff::num, offMap_, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, theLevelPart, theStartCopyNo, and theSuperPart.
Referenced by MuonSensitiveDetector::setDetUnitId(), and MuonRPCFrameRotation::transformPoint().
|
private |
Definition at line 40 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 39 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 43 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering().
|
private |
Definition at line 41 of file MuonG4Numbering.h.
Referenced by copyNoRelevant(), getCopyNoLevel(), getCopyNoSuperNo(), MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 44 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 42 of file MuonG4Numbering.h.
Referenced by getCopyNoBaseNo(), getCopyNoSuperNo(), MuonG4Numbering(), and PhysicalVolumeToBaseNumber().