63 : positionRecord(0), fTrackID(0), fParentID(0),
64 PDGEncoding( 0 ), PDGCharge(0.0), ParticleName(
""),
65 initialKineticEnergy( 0. ), initialMomentum(
G4ThreeVector() )
112 delete (*positionRecord)[i];
136 std::map<G4String,G4AttDef>* store
141 (*store)[ID] =
G4AttDef(ID,
"Track ID",
"Physics",
"",
"G4int");
144 (*store)[PID] =
G4AttDef(PID,
"Parent ID",
"Physics",
"",
"G4int");
147 (*store)[PN] =
G4AttDef(PN,
"Particle Name",
"Physics",
"",
"G4String");
150 (*store)[Ch] =
G4AttDef(Ch,
"Charge",
"Physics",
"e+",
"G4double");
153 (*store)[PDG] =
G4AttDef(PDG,
"PDG Encoding",
"Physics",
"",
"G4int");
157 G4AttDef(IKE,
"Initial kinetic energy",
158 "Physics",
"G4BestUnit",
"G4double");
161 (*store)[IMom] =
G4AttDef(IMom,
"Initial momentum",
162 "Physics",
"G4BestUnit",
"G4ThreeVector");
166 (IMag,
"Initial momentum magnitude",
167 "Physics",
"G4BestUnit",
"G4double");
170 (*store)[NTP] =
G4AttDef(NTP,
"No. of points",
"Physics",
"",
"G4int");
179 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
228 if(!secondTrajectory)
return;
232 for(
G4int i=1;i<ent;i++)
G4double initialKineticEnergy
G4double GetKineticEnergy() const
static G4ParticleTable * GetParticleTable()
G4ThreeVector initialMomentum
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
const G4String & GetParticleName() const
TrajectoryPointContainer * positionRecord
virtual void ShowTrajectory(std::ostream &os=G4cout) const
G4double GetPDGCharge() const
G4ParticleDefinition * GetDefinition() const
#define G4ThreadLocalStatic
virtual void AppendStep(const G4Step *aStep)
G4TRACKING_DLL G4Allocator< G4SmoothTrajectory > *& aSmoothTrajectoryAllocator()
G4ThreeVector GetMomentum() const
const G4ThreeVector & GetPosition() const
virtual void ShowTrajectory(std::ostream &os=G4cout) const
virtual int GetPointEntries() const
G4ParticleDefinition * GetParticleDefinition()
const G4ThreeVector & GetPosition() const
virtual void DrawTrajectory() const
G4StepPoint * GetPostStepPoint() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual std::vector< G4AttValue > * CreateAttValues() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4String ConvertToString(G4bool boolVal)
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
virtual void DrawTrajectory() const
virtual ~G4SmoothTrajectory()
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
std::vector< G4ThreeVector > * GetPointerToVectorOfAuxiliaryPoints() const
std::vector< G4VTrajectoryPoint * > TrajectoryPointContainer
G4int GetParentID() const