#include <MuonG4Numbering.h>
Public Member Functions | |
MuonG4Numbering (const DDCompactView &cpv) | |
MuonG4Numbering (const MuonDDDConstants &muonConstants) | |
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 26 of file MuonG4Numbering.h.
MuonG4Numbering::MuonG4Numbering | ( | const DDCompactView & | cpv | ) |
Definition at line 14 of file MuonG4Numbering.cc.
MuonG4Numbering::MuonG4Numbering | ( | const MuonDDDConstants & | muonConstants | ) |
Definition at line 17 of file MuonG4Numbering.cc.
References gather_cfg::cout, MuonDDDConstants::getValue(), theBasePart, theLevelPart, theStartCopyNo, and theSuperPart.
|
inline |
Definition at line 31 of file MuonG4Numbering.h.
References copyNoRelevant(), getCopyNoBaseNo(), getCopyNoLevel(), getCopyNoSuperNo(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 96 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber(), and ~MuonG4Numbering().
|
private |
Definition at line 92 of file MuonG4Numbering.cc.
References theSuperPart.
Referenced by PhysicalVolumeToBaseNumber(), and ~MuonG4Numbering().
|
private |
Definition at line 84 of file MuonG4Numbering.cc.
References theLevelPart.
Referenced by PhysicalVolumeToBaseNumber(), and ~MuonG4Numbering().
|
private |
Definition at line 88 of file MuonG4Numbering.cc.
References theLevelPart, and theSuperPart.
Referenced by PhysicalVolumeToBaseNumber(), and ~MuonG4Numbering().
MuonBaseNumber MuonG4Numbering::PhysicalVolumeToBaseNumber | ( | const G4Step * | aStep | ) |
Definition at line 52 of file MuonG4Numbering.cc.
References MuonBaseNumber::addBase(), copyNoRelevant(), gather_cfg::cout, getCopyNoBaseNo(), getCopyNoLevel(), getCopyNoSuperNo(), cuy::ii, pileupDistInMC::num, theLevelPart, theStartCopyNo, and theSuperPart.
Referenced by MuonSensitiveDetector::setDetUnitId(), MuonRPCFrameRotation::transformPoint(), and ~MuonG4Numbering().
|
private |
Definition at line 44 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering().
|
private |
Definition at line 42 of file MuonG4Numbering.h.
Referenced by copyNoRelevant(), getCopyNoLevel(), getCopyNoSuperNo(), MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 45 of file MuonG4Numbering.h.
Referenced by MuonG4Numbering(), and PhysicalVolumeToBaseNumber().
|
private |
Definition at line 43 of file MuonG4Numbering.h.
Referenced by getCopyNoBaseNo(), getCopyNoSuperNo(), MuonG4Numbering(), and PhysicalVolumeToBaseNumber().