#include <G4SmoothTrajectoryPoint.hh>
Definition at line 48 of file G4SmoothTrajectoryPoint.hh.
◆ G4SmoothTrajectoryPoint() [1/4]
G4SmoothTrajectoryPoint::G4SmoothTrajectoryPoint |
( |
| ) |
|
|
default |
◆ G4SmoothTrajectoryPoint() [2/4]
◆ G4SmoothTrajectoryPoint() [3/4]
G4SmoothTrajectoryPoint::G4SmoothTrajectoryPoint |
( |
G4ThreeVector | pos | ) |
|
◆ ~G4SmoothTrajectoryPoint()
G4SmoothTrajectoryPoint::~G4SmoothTrajectoryPoint |
( |
| ) |
|
|
override |
◆ G4SmoothTrajectoryPoint() [4/4]
Definition at line 60 of file G4SmoothTrajectoryPoint.cc.
61 : fPosition(right.fPosition), fAuxiliaryPointVector(right.fAuxiliaryPointVector)
62{}
◆ CreateAttValues()
std::vector< G4AttValue > * G4SmoothTrajectoryPoint::CreateAttValues |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from G4VTrajectoryPoint.
Definition at line 81 of file G4SmoothTrajectoryPoint.cc.
82{
83 auto values = new std::vector<G4AttValue>;
84
85 if (fAuxiliaryPointVector != nullptr) {
86 for (const auto& iAux : *fAuxiliaryPointVector) {
88 }
89 }
90
92
93#ifdef G4ATTDEBUG
95#endif
96
97 return values;
98}
G4GLOB_DLL std::ostream G4cout
const std::map< G4String, G4AttDef > * GetAttDefs() const override
◆ GetAttDefs()
const std::map< G4String, G4AttDef > * G4SmoothTrajectoryPoint::GetAttDefs |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from G4VTrajectoryPoint.
Definition at line 66 of file G4SmoothTrajectoryPoint.cc.
67{
69 std::map<G4String, G4AttDef>* store =
71 if (isNew) {
73 (*store)[
Pos] =
G4AttDef(
Pos,
"Step Position",
"Physics",
"G4BestUnit",
"G4ThreeVector");
75 (*store)[Aux] =
76 G4AttDef(Aux,
"Auxiliary Point Position",
"Physics",
"G4BestUnit",
"G4ThreeVector");
77 }
78 return store;
79}
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
Referenced by CreateAttValues(), G4VisCommandList::SetNewValue(), and G4VisCommandSceneAddTrajectories::SetNewValue().
◆ GetAuxiliaryPoints()
const std::vector< G4ThreeVector > * G4SmoothTrajectoryPoint::GetAuxiliaryPoints |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetPosition()
const G4ThreeVector G4SmoothTrajectoryPoint::GetPosition |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ operator delete()
void G4SmoothTrajectoryPoint::operator delete |
( |
void * | aTrajectoryPoint | ) |
|
|
inline |
Definition at line 94 of file G4SmoothTrajectoryPoint.hh.
95{
97}
G4TRACKING_DLL G4Allocator< G4SmoothTrajectoryPoint > *& aSmoothTrajectoryPointAllocator()
◆ operator new()
void * G4SmoothTrajectoryPoint::operator new |
( |
size_t | | ) |
|
|
inline |
◆ operator=()
◆ operator==()
The documentation for this class was generated from the following files: