50 fPositionRecord(0), fTrackID(0), fParentID(0),
51 fPDGEncoding( 0 ), fPDGCharge(0.0), fParticleName(
""),
52 fInitialKineticEnergy( 0. ), fInitialMomentum(
G4ThreeVector() )
99 delete (*fPositionRecord)[i];
126 std::map<G4String,G4AttDef>* store
131 (*store)[id] =
G4AttDef(
id,
"Track ID",
"Physics",
"",
"G4int");
134 (*store)[pid] =
G4AttDef(pid,
"Parent ID",
"Physics",
"",
"G4int");
137 (*store)[
pn] =
G4AttDef(pn,
"Particle Name",
"Physics",
"",
"G4String");
140 (*store)[ch] =
G4AttDef(ch,
"Charge",
"Physics",
"e+",
"G4double");
143 (*store)[pdg] =
G4AttDef(pdg,
"PDG Encoding",
"Physics",
"",
"G4int");
147 G4AttDef(ike,
"Initial kinetic energy",
148 "Physics",
"G4BestUnit",
"G4double");
151 (*store)[iMom] =
G4AttDef(iMom,
"Initial momentum",
152 "Physics",
"G4BestUnit",
"G4ThreeVector");
156 G4AttDef(iMag,
"Initial momentum magnitude",
157 "Physics",
"G4BestUnit",
"G4double");
160 (*store)[ntp] =
G4AttDef(ntp,
"No. of points",
"Physics",
"",
"G4int");
169 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
221 if(!secondTrajectory)
return;
225 for(
G4int i=1;i<ent;i++)
G4double GetKineticEnergy() const
virtual void DrawTrajectory() const
Definition of the RE04Trajectory class.
static G4ParticleTable * GetParticleTable()
G4StepPoint * GetPreStepPoint() const
const G4String & GetParticleName() const
virtual void ShowTrajectory(std::ostream &os=G4cout) const
G4ParticleDefinition * GetParticleDefinition()
G4double GetPDGCharge() const
virtual ~RE04Trajectory()
G4ParticleDefinition * GetDefinition() const
G4ThreeVector GetMomentum() const
G4Material * GetMaterial() const
G4ThreadLocal G4Allocator< RE04Trajectory > * faTrajAllocator
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
const G4ThreeVector & GetPosition() const
G4double fInitialKineticEnergy
virtual int GetPointEntries() const
const G4ThreeVector & GetPosition() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
G4StepPoint * GetPostStepPoint() const
G4Material * GetMaterial() 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 std::vector< G4AttValue > * CreateAttValues() const
virtual void AppendStep(const G4Step *aStep)
G4int GetPDGEncoding() const
G4GLOB_DLL std::ostream G4cout
Definition of the RE04TrajectoryPoint class.
virtual void ShowTrajectory(std::ostream &os=G4cout) const
std::vector< G4VTrajectoryPoint * > TrajectoryPointContainer
TrajectoryPointContainer * fPositionRecord
G4ThreeVector fInitialMomentum
G4int GetParentID() const