#include <G4RichTrajectory.hh>
Definition at line 65 of file G4RichTrajectory.hh.
G4RichTrajectory::G4RichTrajectory |
( |
| ) |
|
Definition at line 63 of file G4RichTrajectory.cc.
64 fpRichPointsContainer(0),
68 fFinalKineticEnergy(0.)
G4RichTrajectory::G4RichTrajectory |
( |
const G4Track * |
aTrack | ) |
|
Definition at line 72 of file G4RichTrajectory.cc.
G4int GetCreatorModelID() const
const G4VProcess * GetCreatorProcess() const
G4double GetKineticEnergy() const
std::vector< G4VTrajectoryPoint * > RichTrajectoryPointsContainer
const G4TouchableHandle & GetNextTouchableHandle() const
const G4TouchableHandle & GetTouchableHandle() const
Definition at line 97 of file G4RichTrajectory.cc.
100 fpInitialVolume = right.fpInitialVolume;
101 fpInitialNextVolume = right.fpInitialNextVolume;
102 fpCreatorProcess = right.fpCreatorProcess;
103 fCreatorModelID = right.fCreatorModelID;
104 fpFinalVolume = right.fpFinalVolume;
105 fpFinalNextVolume = right.fpFinalNextVolume;
106 fpEndingProcess = right.fpEndingProcess;
107 fFinalKineticEnergy = right.fFinalKineticEnergy;
109 for(
size_t i=0;i<right.fpRichPointsContainer->size();i++)
std::vector< G4VTrajectoryPoint * > RichTrajectoryPointsContainer
G4RichTrajectory::~G4RichTrajectory |
( |
| ) |
|
|
virtual |
Definition at line 117 of file G4RichTrajectory.cc.
119 if (fpRichPointsContainer) {
122 for(i=0;i<fpRichPointsContainer->size();i++){
123 delete (*fpRichPointsContainer)[i];
125 fpRichPointsContainer->clear();
126 delete fpRichPointsContainer;
void G4RichTrajectory::AppendStep |
( |
const G4Step * |
aStep | ) |
|
|
virtual |
Reimplemented from G4Trajectory.
Definition at line 130 of file G4RichTrajectory.cc.
141 fFinalKineticEnergy =
G4StepPoint * GetPreStepPoint() const
G4int GetCurrentStepNumber() const
const G4TouchableHandle & GetNextTouchableHandle() const
const G4TouchableHandle & GetTouchableHandle() const
G4double GetTotalEnergyDeposit() const
const G4VProcess * GetProcessDefinedStep() const
G4StepPoint * GetPostStepPoint() const
G4double GetKineticEnergy() const
G4Track * GetTrack() const
std::vector< G4AttValue > * G4RichTrajectory::CreateAttValues |
( |
| ) |
const |
|
virtual |
Reimplemented from G4Trajectory.
Definition at line 249 of file G4RichTrajectory.cc.
254 if (fpInitialVolume && fpInitialVolume->
GetVolume()) {
257 values->push_back(
G4AttValue(
"IVPath",
"None",
""));
260 if (fpInitialNextVolume && fpInitialNextVolume->
GetVolume()) {
261 values->push_back(
G4AttValue(
"INVPath",
Path(fpInitialNextVolume),
""));
263 values->push_back(
G4AttValue(
"INVPath",
"None",
""));
266 if (fpCreatorProcess) {
276 values->push_back(
G4AttValue(
"CMN",creatorModelName,
""));
278 values->push_back(
G4AttValue(
"CPN",
"None",
""));
279 values->push_back(
G4AttValue(
"CPTN",
"None",
""));
280 values->push_back(
G4AttValue(
"CMID",
"None",
""));
281 values->push_back(
G4AttValue(
"CMN",
"None",
""));
284 if (fpFinalVolume && fpFinalVolume->
GetVolume()) {
287 values->push_back(
G4AttValue(
"FVPath",
"None",
""));
290 if (fpFinalNextVolume && fpFinalNextVolume->
GetVolume()) {
291 values->push_back(
G4AttValue(
"FNVPath",
Path(fpFinalNextVolume),
""));
293 values->push_back(
G4AttValue(
"FNVPath",
"None",
""));
296 if (fpEndingProcess) {
301 values->push_back(
G4AttValue(
"EPN",
"None",
""));
302 values->push_back(
G4AttValue(
"EPTN",
"None",
""));
static const G4String & GetProcessTypeName(G4ProcessType)
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
static G4String ConvertToString(G4bool boolVal)
static const G4String & GetModelName(G4int)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4ProcessType GetProcessType() const
static G4String Path(const G4TouchableHandle &th)
G4GLOB_DLL std::ostream G4cout
virtual std::vector< G4AttValue > * CreateAttValues() const
const G4String & GetProcessName() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
void G4RichTrajectory::DrawTrajectory |
( |
| ) |
const |
|
virtual |
Reimplemented from G4Trajectory.
Definition at line 176 of file G4RichTrajectory.cc.
179 std::map<G4String,G4AttDef>* store
189 (*store)[ID] =
G4AttDef(ID,
"Initial Volume Path",
190 "Physics",
"",
"G4String");
193 (*store)[ID] =
G4AttDef(ID,
"Initial Next Volume Path",
194 "Physics",
"",
"G4String");
197 (*store)[ID] =
G4AttDef(ID,
"Creator Process Name",
198 "Physics",
"",
"G4String");
201 (*store)[ID] =
G4AttDef(ID,
"Creator Process Type Name",
202 "Physics",
"",
"G4String");
205 (*store)[ID] =
G4AttDef(ID,
"Creator Model ID",
206 "Physics",
"",
"G4int");
209 (*store)[ID] =
G4AttDef(ID,
"Creator Model Name",
210 "Physics",
"",
"G4String");
213 (*store)[ID] =
G4AttDef(ID,
"Final Volume Path",
214 "Physics",
"",
"G4String");
217 (*store)[ID] =
G4AttDef(ID,
"Final Next Volume Path",
218 "Physics",
"",
"G4String");
221 (*store)[ID] =
G4AttDef(ID,
"Ending Process Name",
222 "Physics",
"",
"G4String");
225 (*store)[ID] =
G4AttDef(ID,
"Ending Process Type Name",
226 "Physics",
"",
"G4String");
229 (*store)[ID] =
G4AttDef(ID,
"Final kinetic energy",
230 "Physics",
"G4BestUnit",
"G4double");
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
int G4RichTrajectory::GetPointEntries |
( |
| ) |
const |
|
inlinevirtual |
Reimplemented from G4Trajectory.
Definition at line 147 of file G4RichTrajectory.cc.
149 if(!secondTrajectory)
return;
153 for(
G4int i=1;i<ent;i++) {
155 fpRichPointsContainer->push_back((*(seco->fpRichPointsContainer))[i]);
158 delete (*seco->fpRichPointsContainer)[0];
159 seco->fpRichPointsContainer->clear();
int GetPointEntries() const
void G4RichTrajectory::operator delete |
( |
void * |
aRichTrajectory | ) |
|
|
inline |
Definition at line 123 of file G4RichTrajectory.hh.
G4TRACKING_DLL G4ThreadLocal G4Allocator< G4RichTrajectory > * aRichTrajectoryAllocator
void * G4RichTrajectory::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 116 of file G4RichTrajectory.hh.
G4TRACKING_DLL G4ThreadLocal G4Allocator< G4RichTrajectory > * aRichTrajectoryAllocator
void G4RichTrajectory::ShowTrajectory |
( |
std::ostream & |
os = G4cout | ) |
const |
|
virtual |
The documentation for this class was generated from the following files: