57 std::vector<G4AttValue>::const_iterator iAtt;
58 for (iAtt = attValues->begin(); iAtt != attValues->end(); ++iAtt) {
59 if (iAtt->GetName() ==
"PostVPath" &&
60 iAtt->GetValue().contains(pvname))
break;
62 if (iAtt != attValues->end()) {
70 catch (
const std::bad_cast&)
73 ed <<
"Requires G4RichTrajectory - \"/vis/scene/add/trajectories rich\"";
75 (
"G4TrajectoryEncounteredVolumeFilter::Evaluate(const G4VTrajectory& traj)",
91 ostr<<
"Volume names registered: "<<
G4endl;
92 std::vector<G4String>::const_iterator iter =
fVolumes.begin();
std::ostringstream G4ExceptionDescription
int GetPointEntries() const
virtual bool Evaluate(const G4VTrajectory &) const
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual ~G4TrajectoryEncounteredVolumeFilter()
G4TrajectoryEncounteredVolumeFilter(const G4String &name="Unspecified")
G4VTrajectoryPoint * GetPoint(G4int i) const
std::vector< G4String > fVolumes
void Add(const G4String &volume)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void Print(std::ostream &ostr) const