6 #include "G4VPhysicalVolume.hh" 7 #include "G4VTouchable.hh" 39 std::cout <<
"MuonG4Numbering configured with" << std::endl;
49 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
51 for (
int ii = 0;
ii < touch->GetHistoryDepth();
ii++) {
52 G4VPhysicalVolume* vol = touch->GetVolume(
ii);
53 int copyno = vol->GetCopyNo();
55 std::cout <<
"MuonG4Numbering: " << vol->GetName() <<
" " << copyno << std::endl
const int getCopyNoLevel(const int)
void addBase(const int level, const int super, const int base)
const int getCopyNoBaseNo(const int)
Compact representation of the geometrical detector hierarchy.
int getValue(const std::string &name) const
MuonG4Numbering(const DDCompactView &cpv)
MuonBaseNumber PhysicalVolumeToBaseNumber(const G4Step *aStep)
const bool copyNoRelevant(const int)
const int getCopyNoSuperNo(const int)