6 #include "G4VPhysicalVolume.hh"
7 #include "G4VTouchable.hh"
24 std::cout <<
"MuonDDDNumbering finds unusual base constant:"
28 std::cout <<
"MuonDDDNumbering finds unusual super constant:"
32 std::cout <<
"MuonDDDNumbering finds unusual level constant:"
36 std::cout <<
"MuonDDDNumbering finds unusual start value for copy numbers:"
42 std::cout <<
"MuonG4Numbering configured with"<<std::endl;
54 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
56 for(
int ii = 0;
ii < touch->GetHistoryDepth();
ii++ ){
57 G4VPhysicalVolume* vol = touch->GetVolume(
ii);
58 int copyno=vol->GetCopyNo();
60 std::cout <<
"MuonG4Numbering: " << vol->GetName() <<
" " << copyno
const int getCopyNoLevel(const int)
void addBase(const int level, const int super, const int base)
const int getCopyNoBaseNo(const int)
type of data representation of DDCompactView
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)