35#ifndef G4LOCATOR_CHANGE_RECORD_HH
36#define G4LOCATOR_CHANGE_RECORD_HH
58 : fCodeLocation( codeLocation), fIteration(iter), fEventCount(count),
59 fFieldTrack( fieldTrack ) {}
70 inline unsigned int GetCount()
const {
return fEventCount; }
74 friend std::ostream&
operator<< ( std::ostream& os,
78 friend std::ostream&
operator<< ( std::ostream& os,
79 const std::vector<G4LocatorChangeRecord> & vecR );
81 std::ostream&
StreamInfo(std::ostream& os)
const;
84 const std::string & nameOfRecord,
85 const std::vector<G4LocatorChangeRecord> & lcr );
88 const std::vector<G4LocatorChangeRecord> & startA,
89 const std::vector<G4LocatorChangeRecord> & endB );
94 G4int fIteration = -1;
95 unsigned int fEventCount = 0;
G4double GetCurveLength() const
G4LocatorChangeRecord(EChangeLocation codeLocation, G4int iter, unsigned int count, const G4FieldTrack &fieldTrack)
friend std::ostream & operator<<(std::ostream &os, const G4LocatorChangeRecord &r)
static const char * fNameChangeLocation[]
static const char * GetNameChangeLocation(EChangeLocation)
G4double GetLength() const
static std::ostream & ReportEndChanges(std::ostream &os, const std::vector< G4LocatorChangeRecord > &startA, const std::vector< G4LocatorChangeRecord > &endB)
EChangeLocation GetLocation() const
std::ostream & StreamInfo(std::ostream &os) const
G4LocatorChangeRecord(G4LocatorChangeRecord &&)=default
static std::ostream & ReportVector(std::ostream &os, const std::string &nameOfRecord, const std::vector< G4LocatorChangeRecord > &lcr)
unsigned int GetCount() const
G4LocatorChangeRecord(const G4LocatorChangeRecord &)=default
G4int GetIteration() const