20 #include "G4VPhysicalVolume.hh" 21 #include "G4VTouchable.hh" 35 G4VPhysicalVolume* physVol;
37 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
40 for (
int ii = 0;
ii < touch->GetHistoryDepth();
ii++) {
41 physVol = touch->GetVolume(
ii);
42 LogDebug(
"ForwardSim") <<
"physVol=" << physVol->GetName() <<
", level=" <<
ii 43 <<
", physVol->GetCopyNo()=" << physVol->GetCopyNo();
47 physVol = touch->GetVolume(0);
49 if (physVol->GetName() ==
"myRP")
50 UNITA = (touch->GetVolume(5)->GetCopyNo()) * 1111;
53 LogDebug(
"ForwardSim") <<
"\nUNITA-RP " << UNITA <<
"\n\n";
Log< level::Info, true > LogVerbatim
uint32_t getUnitID(const G4Step *aStep) const override
~TotemRPOrganization() override