|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4LocatorChangeRecord records the changes in an endpoint of a locator. Its key use is in playing these back in case of a problem. More...
#include <G4LocatorChangeRecord.hh>
Public Types | |
| enum | EChangeLocation { kInvalidCL = 0 , kUnknownCL = 1 , kInitialisingCL , kIntersectsAF , kIntersectsFB , kNoIntersectAForFB , kRecalculatedB , kInsertingMidPoint , kRecalculatedBagn , kLevelPop } |
Public Member Functions | |
| G4LocatorChangeRecord (EChangeLocation codeLocation, G4int iter, unsigned int count, const G4FieldTrack &fieldTrack) | |
| G4LocatorChangeRecord (const G4LocatorChangeRecord &)=default | |
| G4LocatorChangeRecord (G4LocatorChangeRecord &&)=default | |
| EChangeLocation | GetLocation () const |
| unsigned int | GetCount () const |
| G4int | GetIteration () const |
| G4double | GetLength () const |
| std::ostream & | StreamInfo (std::ostream &os) const |
Static Public Member Functions | |
| static std::ostream & | ReportVector (std::ostream &os, const std::string &nameOfRecord, const std::vector< G4LocatorChangeRecord > &lcr) |
| static std::ostream & | ReportEndChanges (std::ostream &os, const std::vector< G4LocatorChangeRecord > &startA, const std::vector< G4LocatorChangeRecord > &endB) |
| static const char * | GetNameChangeLocation (EChangeLocation) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const G4LocatorChangeRecord &r) |
| std::ostream & | operator<< (std::ostream &os, const std::vector< G4LocatorChangeRecord > &vecR) |
G4LocatorChangeRecord records the changes in an endpoint of a locator. Its key use is in playing these back in case of a problem.
Definition at line 46 of file G4LocatorChangeRecord.hh.
| Enumerator | |
|---|---|
| kInvalidCL | |
| kUnknownCL | |
| kInitialisingCL | |
| kIntersectsAF | |
| kIntersectsFB | |
| kNoIntersectAForFB | |
| kRecalculatedB | |
| kInsertingMidPoint | |
| kRecalculatedBagn | |
| kLevelPop | |
Definition at line 50 of file G4LocatorChangeRecord.hh.
| G4LocatorChangeRecord::G4LocatorChangeRecord | ( | EChangeLocation | codeLocation, |
| G4int | iter, | ||
| unsigned int | count, | ||
| const G4FieldTrack & | fieldTrack ) |
Constructor.
Definition at line 47 of file G4LocatorChangeRecord.cc.
Referenced by G4LocatorChangeRecord(), G4LocatorChangeRecord(), and operator<<.
|
default |
Default copy and move constructors.
|
default |
|
inline |
Definition at line 76 of file G4LocatorChangeRecord.hh.
|
inline |
Definition at line 77 of file G4LocatorChangeRecord.hh.
|
inline |
Definition at line 78 of file G4LocatorChangeRecord.hh.
Referenced by StreamInfo().
|
inline |
|
static |
Definition at line 294 of file G4LocatorChangeRecord.cc.
Referenced by G4LocatorChangeLogger::ReportEndChanges().
|
static |
Definition at line 112 of file G4LocatorChangeRecord.cc.
Referenced by G4MultiLevelLocator::EstimateIntersectionPoint().
|
static |
Definition at line 61 of file G4LocatorChangeRecord.cc.
Referenced by operator<<, and G4LocatorChangeLogger::StreamInfo().
| std::ostream & G4LocatorChangeRecord::StreamInfo | ( | std::ostream & | os | ) | const |
Streams object contents to an output stream.
Definition at line 271 of file G4LocatorChangeRecord.cc.
Referenced by operator<<.
|
friend |
Streaming operators, using StreamInfo().
Definition at line 263 of file G4LocatorChangeRecord.cc.
|
friend |
Definition at line 285 of file G4LocatorChangeRecord.cc.