60 : fpPointsContainer(0), fTrackID(0), fParentID(0),
61 fPDGCharge(0.0), fPDGEncoding(0), fParticleName(
""),
108 delete (*fpPointsContainer)[i];
142 if(!secondTrajectory)
return;
147 for(
G4int i=1; i<ent; ++i) {
159 std::map<G4String,G4AttDef>* store
165 (*store)[ID] =
G4AttDef(ID,
"Track ID",
"Bookkeeping",
"",
"G4int");
168 (*store)[PID] =
G4AttDef(PID,
"Parent ID",
"Bookkeeping",
"",
"G4int");
171 (*store)[PN] =
G4AttDef(PN,
"Particle Name",
"Physics",
"",
"G4String");
174 (*store)[Ch] =
G4AttDef(Ch,
"Charge",
"Physics",
"e+",
"G4double");
177 (*store)[PDG] =
G4AttDef(PDG,
"PDG Encoding",
"Physics",
"",
"G4int");
181 "Momentum of track at start of trajectory",
182 "Physics",
"G4BestUnit",
"G4ThreeVector");
186 "Magnitude of momentum of track at start of trajectory",
187 "Physics",
"G4BestUnit",
"G4double");
190 (*store)[NTP] =
G4AttDef(NTP,
"No. of points",
"Bookkeeping",
"",
"G4int");
200 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
static G4ParticleTable * GetParticleTable()
std::vector< G4VTrajectoryPoint * > WLSTrajectoryPointContainer
G4ParticleDefinition * fParticleDefinition
const G4String & GetParticleName() const
virtual void ShowTrajectory(std::ostream &os=G4cout) const
G4double GetPDGCharge() const
static constexpr double second
G4ParticleDefinition * GetDefinition() const
G4ThreadLocal G4Allocator< WLSTrajectory > * WLSTrajectoryAllocator
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
G4ParticleDefinition * GetParticleDefinition()
G4ThreeVector GetMomentum() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
Definition of the WLSTrajectoryPoint class.
virtual void ShowTrajectory(std::ostream &os=G4cout) 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 std::vector< G4AttValue > * CreateAttValues() const
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
virtual void AppendStep(const G4Step *aStep)
WLSTrajectoryPointContainer * fpPointsContainer
G4ThreeVector fInitialMomentum
Definition of the WLSTrajectory class.
G4int GetParentID() const
virtual int GetPointEntries() const