|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4LocatorChangeLogger aggregates the records of changes in an endpoint of a locator. Its key use is in playing these back in case of a problem. More...
#include <G4LocatorChangeLogger.hh>
Public Member Functions | |
| G4LocatorChangeLogger (const std::string &name) | |
| void | AddRecord (G4LocatorChangeRecord &&chngRecord) |
| void | AddRecord (const G4LocatorChangeRecord &chngRecord) |
| void | AddRecord (G4LocatorChangeRecord::EChangeLocation codeLocation, G4int iter, unsigned int count, const G4FieldTrack &fieldTrack) |
| std::ostream & | StreamInfo (std::ostream &os) const |
Static Public Member Functions | |
| static std::ostream & | ReportEndChanges (std::ostream &os, const G4LocatorChangeLogger &startA, const G4LocatorChangeLogger &endB) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const G4LocatorChangeLogger &logR) |
G4LocatorChangeLogger aggregates the records of changes in an endpoint of a locator. Its key use is in playing these back in case of a problem.
Definition at line 48 of file G4LocatorChangeLogger.hh.
| G4LocatorChangeLogger::G4LocatorChangeLogger | ( | const std::string & | name | ) |
Constructor.
Definition at line 40 of file G4LocatorChangeLogger.cc.
Referenced by operator<<, and ReportEndChanges().
|
inline |
Definition at line 106 of file G4LocatorChangeLogger.hh.
|
inline |
Move or add a record.
Definition at line 113 of file G4LocatorChangeLogger.hh.
|
inline |
Create a new record with full information.
Definition at line 97 of file G4LocatorChangeLogger.hh.
|
static |
Prints the changes in start, end points in columns. One event per row.
Definition at line 68 of file G4LocatorChangeLogger.cc.
Referenced by G4MultiLevelLocator::EstimateIntersectionPoint().
| std::ostream & G4LocatorChangeLogger::StreamInfo | ( | std::ostream & | os | ) | const |
Streams object contents to an output stream.
Definition at line 57 of file G4LocatorChangeLogger.cc.
Referenced by operator<<.
|
friend |
Streaming operator dumping record.
Definition at line 48 of file G4LocatorChangeLogger.cc.