57 soughtPVName = item.
first;
62 std::vector<G4AttValue>::const_iterator iAtt;
63 for (iAtt = attValues->begin(); iAtt != attValues->end(); ++iAtt) {
64 if (iAtt->GetName() ==
"PostVPath" &&
65 iAtt->GetValue().contains(soughtPVName))
break;
67 if (iAtt != attValues->end()) {
80 <<
"G4TrajectoryDrawByEncounteredVolume drawer named " <<
Name()
81 <<
", drawing trajectory touching physical volume " << soughtPVName
82 <<
", with configuration:" <<
G4endl;
90 catch (
const std::bad_cast&)
93 ed <<
"Requires G4RichTrajectory - \"/vis/scene/add/trajectories rich\"";
95 (
"G4TrajectoryDrawByEncounteredVolume::Draw(const G4VTrajectory& traj,...",
110 ed <<
"G4Colour with key "<<colour<<
" does not exist ";
112 (
"G4TrajectoryDrawByEncounteredParticleID::SetDefault(const G4String& colour)",
135 fMap[pvname] = colour;
142 <<
"G4TrajectoryDrawByEncounteredVolume model "<<
Name()
143 <<
", colour scheme: "
149 ostr <<
"Default configuration:" << std::endl;