#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 gather_cfg::cout, dd4hep_, MuonGeometryConstants::getValue(), offMap_, theBasePart, theLevelPart, theStartCopyNo, and theSuperPart.
|
inline |
Definition at line 29 of file MuonG4Numbering.h.
|
private |
Definition at line 90 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 88 of file MuonG4Numbering.cc.
References theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 84 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 86 of file MuonG4Numbering.cc.
References theLevelPart, and theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
MuonBaseNumber MuonG4Numbering::PhysicalVolumeToBaseNumber | ( | const G4Step * | aStep | ) |
Definition at line 47 of file MuonG4Numbering.cc.
References MuonBaseNumber::addBase(), copyNoRelevant(), dd4hep_, getCopyNoBaseNo(), getCopyNoLevel(), getCopyNoSuperNo(), cuy::ii, dqmdumpme::last, MuonOffsetMap::muonMap_, mergeVDriftHistosByStation::name, pileupDistInMC::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().