53 : fpPointsContainer(0), fTrackID(0), fParentID(0),
54 fPDGCharge(0.0), fPDGEncoding(0), fParticleName(
""),
97 delete (*fpPointsContainer)[i];
140 if(!secondTrajectory)
return;
145 for(
G4int i=1; i<ent; ++i) {
157 std::map<G4String,G4AttDef>* store
163 (*store)[ID] =
G4AttDef(ID,
"Track ID",
"Bookkeeping",
"",
"G4int");
166 (*store)[PID] =
G4AttDef(PID,
"Parent ID",
"Bookkeeping",
"",
"G4int");
169 (*store)[PN] =
G4AttDef(PN,
"Particle Name",
"Physics",
"",
"G4String");
172 (*store)[Ch] =
G4AttDef(Ch,
"Charge",
"Physics",
"e+",
"G4double");
175 (*store)[PDG] =
G4AttDef(PDG,
"PDG Encoding",
"Physics",
"",
"G4int");
179 "Momentum of track at start of trajectory",
180 "Physics",
"G4BestUnit",
"G4ThreeVector");
184 "Magnitude of momentum of track at start of trajectory",
185 "Physics",
"G4BestUnit",
"G4double");
188 (*store)[NTP] =
G4AttDef(NTP,
"No. of points",
"Bookkeeping",
"",
"G4int");
198 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
TrajectoryPointContainer * fpPointsContainer
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
Definition of the F04Trajectory class.
CLHEP::Hep3Vector G4ThreeVector
std::vector< G4VTrajectoryPoint * > TrajectoryPointContainer
virtual int GetPointEntries() const
static G4String ConvertToString(G4bool boolVal)
G4ThreeVector fInitialMomentum
G4int GetPDGEncoding() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
Definition of the F04TrajectoryPoint class.
const G4String & GetParticleName() const
G4ThreadLocal G4Allocator< F04Trajectory > * F04TrajectoryAllocator
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual void DrawTrajectory() const
G4GLOB_DLL std::ostream G4cout
virtual void ShowTrajectory(std::ostream &os=G4cout) const
static const double second
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
G4ThreeVector GetMomentum() const
static G4ParticleTable * GetParticleTable()
G4ParticleDefinition * GetParticleDefinition()
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
virtual void ShowTrajectory(std::ostream &os=G4cout) const
G4double GetPDGCharge() const
virtual void DrawTrajectory() const
virtual void AppendStep(const G4Step *aStep)