6 #include "G4VPhysicalVolume.hh" 7 #include "G4VTouchable.hh" 26 std::cout <<
"MuonDDDNumbering finds unusual base constant:" 30 std::cout <<
"MuonDDDNumbering finds unusual super constant:" 34 std::cout <<
"MuonDDDNumbering finds unusual level constant:" 38 std::cout <<
"MuonDDDNumbering finds unusual start value for copy numbers:" 44 std::cout <<
"MuonG4Numbering configured with"<<std::endl;
56 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
58 for(
int ii = 0;
ii < touch->GetHistoryDepth();
ii++ ){
59 G4VPhysicalVolume* vol = touch->GetVolume(
ii);
60 int copyno=vol->GetCopyNo();
62 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)