#include <Doxymodules_optical.h>
Definition at line 107 of file Doxymodules_optical.h.
◆ WLSTrajectoryPoint() [1/4]
WLSTrajectoryPoint::WLSTrajectoryPoint |
( |
| ) |
|
|
default |
◆ WLSTrajectoryPoint() [2/4]
WLSTrajectoryPoint::WLSTrajectoryPoint |
( |
const G4Track * |
aTrack | ) |
|
◆ WLSTrajectoryPoint() [3/4]
WLSTrajectoryPoint::WLSTrajectoryPoint |
( |
const G4Step * |
aStep | ) |
|
Definition at line 47 of file WLSTrajectoryPoint.cc.
49{
50 auto postStepPoint = aStep->GetPostStepPoint();
51 fTime = postStepPoint->GetGlobalTime();
54 if(postStepPoint->GetPhysicalVolume())
55 {
56 fVolumeName = postStepPoint->GetPhysicalVolume()->GetName();
57 }
58 else
59 {
61 }
62}
◆ WLSTrajectoryPoint() [4/4]
◆ ~WLSTrajectoryPoint()
WLSTrajectoryPoint::~WLSTrajectoryPoint |
( |
| ) |
|
|
overridedefault |
◆ operator new()
void * WLSTrajectoryPoint::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 80 of file WLSTrajectoryPoint.hh.
81{
85}
G4ThreadLocal G4Allocator< WLSTrajectoryPoint > * WLSTrajPointAllocator
◆ operator delete()
void WLSTrajectoryPoint::operator delete |
( |
void * |
aTrajectoryPoint | ) |
|
|
inline |
◆ operator==()
◆ GetTime()
G4double WLSTrajectoryPoint::GetTime |
( |
| ) |
const |
|
inline |
◆ GetMomentum()
const G4ThreeVector WLSTrajectoryPoint::GetMomentum |
( |
| ) |
const |
|
inline |
◆ GetStepStatus()
G4StepStatus WLSTrajectoryPoint::GetStepStatus |
( |
| ) |
const |
|
inline |
◆ GetVolumeName()
G4String WLSTrajectoryPoint::GetVolumeName |
( |
| ) |
const |
|
inline |
◆ GetAttDefs()
Definition at line 88 of file WLSTrajectoryPoint.cc.
89{
90 G4bool isNew;
91 std::map<G4String, G4AttDef>* store =
92 G4AttDefStore::GetInstance("TrajectoryPoint", isNew);
93 if(isNew)
94 {
96 (*store)[Pos] =
97 G4AttDef(Pos,
"Position",
"Physics",
"G4BestUnit",
"G4ThreeVector");
98
100 (*store)[Time] =
101 G4AttDef(Time,
"Time",
"Physics",
"G4BestUnit",
"G4double");
102
104 (*store)[Momentum] =
105 G4AttDef(Momentum,
"Momentum",
"Physics",
"G4BestUnit",
"G4ThreeVector");
106
108 (*store)[StepStatus] =
109 G4AttDef(StepStatus,
"StepStatus",
"Physics",
"",
"G4StepStatus");
110
112 (*store)[VolumeName] =
113 G4AttDef(VolumeName,
"VolumeName",
"Physics",
"",
"G4String");
114 }
115 return store;
116}
◆ CreateAttValues()
std::vector< G4AttValue > * WLSTrajectoryPoint::CreateAttValues |
( |
| ) |
const |
|
override |
Definition at line 120 of file WLSTrajectoryPoint.cc.
121{
122 auto values = new std::vector<G4AttValue>;
123
125 values->push_back(
129
130 return values;
131}
◆ fTime
G4double WLSTrajectoryPoint::fTime = 0. |
|
private |
◆ fMomentum
G4ThreeVector WLSTrajectoryPoint::fMomentum |
|
private |
◆ fStepStatus
G4StepStatus WLSTrajectoryPoint::fStepStatus = fUndefined |
|
private |
◆ fVolumeName
G4String WLSTrajectoryPoint::fVolumeName |
|
private |
The documentation for this class was generated from the following files: