|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4VCurvedTrajectoryFilter defines a filter for deciding which intermediate points on a curved trajectory merit being stored. It defines the compromise between accuracy of representation of the curved trajectory and memory use. Derived classes should implement the filtering algorithm. More...
#include <G4VCurvedTrajectoryFilter.hh>
Public Member Functions | |
| G4VCurvedTrajectoryFilter ()=default | |
| virtual | ~G4VCurvedTrajectoryFilter ()=default |
| void | CreateNewTrajectorySegment () |
| virtual void | TakeIntermediatePoint (G4ThreeVector newPoint)=0 |
| std::vector< G4ThreeVector > * | GimmeThePointsAndForgetThem () |
Protected Attributes | |
| std::vector< G4ThreeVector > * | fpFilteredPoints = nullptr |
G4VCurvedTrajectoryFilter defines a filter for deciding which intermediate points on a curved trajectory merit being stored. It defines the compromise between accuracy of representation of the curved trajectory and memory use. Derived classes should implement the filtering algorithm.
Definition at line 57 of file G4VCurvedTrajectoryFilter.hh.
|
default |
Default Constructor & Destructor.
|
virtualdefault |
| void G4VCurvedTrajectoryFilter::CreateNewTrajectorySegment | ( | ) |
Each segment stores the auxiliary points of a single step.
Definition at line 50 of file G4VCurvedTrajectoryFilter.cc.
| std::vector< G4ThreeVector > * G4VCurvedTrajectoryFilter::GimmeThePointsAndForgetThem | ( | ) |
Returns the vector of points, transferring the ownership.
Definition at line 34 of file G4VCurvedTrajectoryFilter.cc.
|
pure virtual |
Submits intermediate points for the filter to consider keeping or rejecting. Derived classes should implement the filtering algorithm in this method.
Implemented in G4IdentityTrajectoryFilter.
|
protected |
Definition at line 89 of file G4VCurvedTrajectoryFilter.hh.
Referenced by CreateNewTrajectorySegment(), GimmeThePointsAndForgetThem(), and G4IdentityTrajectoryFilter::TakeIntermediatePoint().