40 const G4String& requiredPhysicalVolumeName,
44 fRequiredPhysicalVolumeName (requiredPhysicalVolumeName),
45 fRequiredCopyNo (requiredCopyNo),
48 fVerbosity (verbosity),
49 fMultipleOccurrence (false)
70 typedef std::vector<PVNodeID> PVPath;
85 G4cout <<
"G4PhysicalVolumeSearchScene::FindVolume:"
86 <<
"\n Required volume \""
92 G4cout <<
" found more than once."
93 "\n This function is not smart enough to distinguish identical"
94 "\n physical volumes which have different parentage. It is"
95 "\n tricky to specify in general. This function gives you access"
96 "\n to the first occurrence only."
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * GetCurrentPV() const
const std::vector< G4PhysicalVolumeNodeID > & GetFullPVPath() const
G4int GetCurrentDepth() const
G4VPhysicalVolume * fpFoundPV
std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > fFoundFullPVPath
G4PhysicalVolumeSearchScene(G4PhysicalVolumeModel *, const G4String &requiredPhysicalVolumeName, G4int requiredCopyNo, G4int verbosity=99)
G4bool fMultipleOccurrence
G4Transform3D fFoundObjectTransformation
G4String fRequiredPhysicalVolumeName
virtual ~G4PhysicalVolumeSearchScene()
void ProcessVolume(const G4VSolid &)
const G4PhysicalVolumeModel * fpPVModel
const G4Transform3D * fpCurrentObjectTransformation
const char * name(G4int ptype)