20 #include "G4VPhysicalVolume.hh" 21 #include "G4VTouchable.hh" 28 edm::LogInfo(
"ForwardSim") <<
"Creating TotemRPOrganization";
40 G4VPhysicalVolume* physVol;
42 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
44 for( ii = 0; ii < touch->GetHistoryDepth(); ii++ ){
45 physVol = touch->GetVolume(ii);
48 LogDebug(
"ForwardSim") <<
"physVol=" << physVol->GetName() <<
", level=" 49 << ii <<
", physVol->GetCopyNo()=" 50 << physVol->GetCopyNo();
53 physVol= touch->GetVolume(0);
55 if(physVol->GetName() ==
"myRP") UNITA=(touch->GetVolume(5)->GetCopyNo())*1111;
58 LogDebug(
"ForwardSim") <<
"\nUNITA-RP " << UNITA <<
"\n\n";
uint32_t getUnitID(const G4Step *aStep) const override
~TotemRPOrganization() override