43#ifndef G4Trajectory_hh
44#define G4Trajectory_hh 1
64 using G4TrajectoryPointContainer = std::vector<G4VTrajectoryPoint*>;
77 inline void*
operator new(size_t);
78 inline void operator delete(
void*);
88 {
return ParticleName; }
92 {
return PDGEncoding; }
94 {
return initialKineticEnergy; }
96 {
return initialMomentum; }
104 {
return G4int(positionRecord->size()); }
106 {
return (*positionRecord)[i]; }
111 virtual const std::map<G4String,G4AttDef>*
GetAttDefs()
const;
116 G4TrajectoryPointContainer* positionRecord =
nullptr;
119 G4int PDGEncoding = 0;
122 G4double initialKineticEnergy = 0.0;
128inline void* G4Trajectory::operator
new(size_t)
137inline void G4Trajectory::operator
delete(
void* aTrajectory)
G4TRACKING_DLL G4Allocator< G4Trajectory > *& aTrajectoryAllocator()
G4GLOB_DLL std::ostream G4cout
G4ParticleDefinition * GetParticleDefinition()
virtual G4int GetPointEntries() const
virtual G4VTrajectoryPoint * GetPoint(G4int i) const
G4double GetInitialKineticEnergy() const
virtual void ShowTrajectory(std::ostream &os=G4cout) const
G4String GetParticleName() const
virtual void AppendStep(const G4Step *aStep)
virtual void DrawTrajectory() const
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
G4double GetCharge() const
G4int operator==(const G4Trajectory &r) const
G4int GetParentID() const
G4int GetPDGEncoding() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual std::vector< G4AttValue > * CreateAttValues() const
G4ThreeVector GetInitialMomentum() const