#include <MuonG4Numbering.h>
Public Member Functions | |
MuonG4Numbering (const DDCompactView &cpv) | |
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 | |
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 25 of file MuonG4Numbering.h.
MuonG4Numbering::MuonG4Numbering | ( | const DDCompactView & | cpv | ) |
Definition at line 14 of file MuonG4Numbering.cc.
References gather_cfg::cout, MuonDDDConstants::getValue(), theBasePart, theLevelPart, theStartCopyNo, and theSuperPart.
|
inline |
Definition at line 29 of file MuonG4Numbering.h.
|
private |
Definition at line 93 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 81 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber().
|
private |
Definition at line 85 of file MuonG4Numbering.cc.
References theLevelPart, and theSuperPart.
Referenced by PhysicalVolumeToBaseNumber().
MuonBaseNumber MuonG4Numbering::PhysicalVolumeToBaseNumber | ( | const G4Step * | aStep | ) |
Definition at line 50 of file MuonG4Numbering.cc.
References MuonBaseNumber::addBase(), copyNoRelevant(), gather_cfg::cout, getCopyNoBaseNo(), getCopyNoLevel(), getCopyNoSuperNo(), cuy::ii, pileupDistInMC::num, and theStartCopyNo.
Referenced by MuonSensitiveDetector::setDetUnitId(), and MuonRPCFrameRotation::transformPoint().
|
private |
Definition at line 42 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering().
|
private |
Definition at line 40 of file MuonG4Numbering.h.
Referenced by copyNoRelevant(), getCopyNoLevel(), getCopyNoSuperNo(), and MuonG4Numbering().
|
private |
Definition at line 43 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 41 of file MuonG4Numbering.h.
Referenced by getCopyNoBaseNo(), getCopyNoSuperNo(), and MuonG4Numbering().