#include <Doxymodules_field.h>
Definition at line 123 of file Doxymodules_field.h.
◆ F04Trajectory() [1/3]
F04Trajectory::F04Trajectory |
( |
| ) |
|
◆ F04Trajectory() [2/3]
F04Trajectory::F04Trajectory |
( |
const G4Track * |
aTrack | ) |
|
Definition at line 56 of file F04Trajectory.cc.
57{
60 fPDGCharge = particleDefinition->GetPDGCharge();
66
68}
std::vector< G4VTrajectoryPoint * > TrajectoryPointContainer
G4ThreeVector fInitialMomentum
TrajectoryPointContainer * fpPointsContainer
◆ F04Trajectory() [3/3]
Definition at line 72 of file F04Trajectory.cc.
73{
81
82 for(
size_t i=0;i<
right.fpPointsContainer->size();++i) {
83 auto rightPoint
86 }
87}
◆ ~F04Trajectory()
F04Trajectory::~F04Trajectory |
( |
| ) |
|
|
override |
Definition at line 91 of file F04Trajectory.cc.
92{
94 delete (*fpPointsContainer)[i];
95 }
97
99}
◆ operator new()
void * F04Trajectory::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 114 of file F04Trajectory.hh.
114 {
118}
G4ThreadLocal G4Allocator< F04Trajectory > * F04TrajectoryAllocator
◆ operator delete()
void F04Trajectory::operator delete |
( |
void * |
aTrajectory | ) |
|
|
inline |
◆ operator==()
int F04Trajectory::operator== |
( |
const F04Trajectory & |
right | ) |
const |
|
inline |
◆ GetTrackID()
G4int F04Trajectory::GetTrackID |
( |
| ) |
const |
|
inlineoverride |
◆ GetParentID()
G4int F04Trajectory::GetParentID |
( |
| ) |
const |
|
inlineoverride |
◆ GetParticleName()
G4String F04Trajectory::GetParticleName |
( |
| ) |
const |
|
inlineoverride |
◆ GetCharge()
G4double F04Trajectory::GetCharge |
( |
| ) |
const |
|
inlineoverride |
◆ GetPDGEncoding()
G4int F04Trajectory::GetPDGEncoding |
( |
| ) |
const |
|
inlineoverride |
◆ GetInitialMomentum()
G4ThreeVector F04Trajectory::GetInitialMomentum |
( |
| ) |
const |
|
inlineoverride |
◆ ShowTrajectory()
void F04Trajectory::ShowTrajectory |
( |
std::ostream & |
os = G4cout | ) |
const |
|
override |
Definition at line 103 of file F04Trajectory.cc.
104{
105
106 G4VTrajectory::ShowTrajectory(os);
107
108}
◆ AppendStep()
void F04Trajectory::AppendStep |
( |
const G4Step * |
aStep | ) |
|
|
override |
◆ MergeTrajectory()
void F04Trajectory::MergeTrajectory |
( |
G4VTrajectory * |
secondTrajectory | ) |
|
|
override |
Definition at line 126 of file F04Trajectory.cc.
127{
128 if(!secondTrajectory) return;
129
131 G4int ent = second->GetPointEntries();
132
133 for(G4int i=1; i<ent; ++i) {
135 }
136 delete (*second->fpPointsContainer)[0];
137 second->fpPointsContainer->clear();
138}
◆ GetParticleDefinition()
◆ GetPointEntries()
int F04Trajectory::GetPointEntries |
( |
| ) |
const |
|
inlineoverride |
◆ GetPoint()
◆ GetAttDefs()
Definition at line 142 of file F04Trajectory.cc.
143{
144 G4bool isNew;
145 std::map<G4String,G4AttDef>* store
146 = G4AttDefStore::GetInstance("Trajectory",isNew);
147
148 if (isNew) {
149
151 (*store)[ID] =
G4AttDef(ID,
"Track ID",
"Bookkeeping",
"",
"G4int");
152
154 (*store)[PID] =
G4AttDef(PID,
"Parent ID",
"Bookkeeping",
"",
"G4int");
155
157 (*store)[PN] =
G4AttDef(PN,
"Particle Name",
"Physics",
"",
"G4String");
158
160 (*store)[Ch] =
G4AttDef(Ch,
"Charge",
"Physics",
"e+",
"G4double");
161
163 (*store)[PDG] =
G4AttDef(PDG,
"PDG Encoding",
"Physics",
"",
"G4int");
164
167 "Momentum of track at start of trajectory",
168 "Physics","G4BestUnit","G4ThreeVector");
169
172 "Magnitude of momentum of track at start of trajectory",
173 "Physics","G4BestUnit","G4double");
174
176 (*store)[NTP] =
G4AttDef(NTP,
"No. of points",
"Bookkeeping",
"",
"G4int");
177
178 }
179 return store;
180}
◆ CreateAttValues()
std::vector< G4AttValue > * F04Trajectory::CreateAttValues |
( |
| ) |
const |
|
override |
Definition at line 184 of file F04Trajectory.cc.
185{
186 auto values = new std::vector<G4AttValue>;
187
188 values->push_back
190
191 values->push_back
193
195
196 values->push_back
198
199 values->push_back
201
202 values->push_back
204
205 values->push_back
207
208 values->push_back
210
211#ifdef G4ATTDEBUG
213#endif
214 return values;
215}
int GetPointEntries() const override
const std::map< G4String, G4AttDef > * GetAttDefs() const override
◆ fpPointsContainer
◆ fTrackID
G4int F04Trajectory::fTrackID = 0 |
|
private |
◆ fParentID
G4int F04Trajectory::fParentID = 0 |
|
private |
◆ fPDGCharge
G4double F04Trajectory::fPDGCharge = 0. |
|
private |
◆ fPDGEncoding
G4int F04Trajectory::fPDGEncoding = 0 |
|
private |
◆ fParticleName
◆ fInitialMomentum
G4ThreeVector F04Trajectory::fInitialMomentum |
|
private |
The documentation for this class was generated from the following files: