#include <G4Step.hh>
Definition at line 76 of file G4Step.hh.
Definition at line 53 of file G4Step.cc.
56 fStepLength(0.), fpTrack(0),
58 fFirstStepInVolume(
false),
59 fLastStepInVolume(
false),
61 nSecondaryByLastStep(0), secondaryInCurrentStep(),
62 fpVectorOfAuxiliaryPointsPointer(0)
67 secondaryInCurrentStep =
new std::vector<CT>;
G4double fTotalEnergyDeposit
G4double fNonIonizingEnergyDeposit
Definition at line 71 of file G4Step.cc.
74 delete fpPreStepPoint;
75 delete fpPostStepPoint;
77 secondaryInCurrentStep->clear();
78 delete secondaryInCurrentStep;
80 if (fSecondary !=0 ) {
G4Step::G4Step |
( |
const G4Step & |
right | ) |
|
Definition at line 89 of file G4Step.cc.
93 fStepLength(right.fStepLength),
94 fpTrack(right.fpTrack),
95 fpSteppingControlFlag(right.fpSteppingControlFlag),
96 fFirstStepInVolume(right.fFirstStepInVolume),
97 fLastStepInVolume(right.fLastStepInVolume),
98 nSecondaryByLastStep(right.nSecondaryByLastStep),
99 secondaryInCurrentStep(right.secondaryInCurrentStep),
100 fpVectorOfAuxiliaryPointsPointer(right.fpVectorOfAuxiliaryPointsPointer)
102 if (right.fpPreStepPoint !=0) {
103 fpPreStepPoint =
new G4StepPoint(*(right.fpPreStepPoint));
107 if (right.fpPostStepPoint !=0) {
108 fpPostStepPoint =
new G4StepPoint(*(right.fpPostStepPoint));
113 if (right.fSecondary !=0) {
118 secondaryInCurrentStep =
new std::vector<CT>;
G4double fTotalEnergyDeposit
G4double fNonIonizingEnergyDeposit
std::vector< G4Track * > G4TrackVector
void G4Step::ClearFirstStepFlag |
( |
| ) |
|
void G4Step::ClearLastStepFlag |
( |
| ) |
|
void G4Step::CopyPostToPreStepPoint |
( |
| ) |
|
void G4Step::DeleteSecondaryVector |
( |
| ) |
|
G4double G4Step::GetDeltaEnergy |
( |
| ) |
const |
Definition at line 176 of file G4Step.cc.
184 "This method is obsolete and will be removed soon");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetKineticEnergy() const
Definition at line 159 of file G4Step.cc.
167 "This method is obsolete and will be removed soon");
G4ThreeVector GetMomentum() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double G4Step::GetNonIonizingEnergyDeposit |
( |
| ) |
const |
G4int G4Step::GetNumberOfSecondariesInCurrentStep |
( |
| ) |
const |
std::vector<G4ThreeVector>* G4Step::GetPointerToVectorOfAuxiliaryPoints |
( |
| ) |
const |
|
inline |
Definition at line 242 of file G4Step.hh.
243 return fpVectorOfAuxiliaryPointsPointer;
const std::vector< const G4Track * > * G4Step::GetSecondaryInCurrentStep |
( |
| ) |
const |
Definition at line 193 of file G4Step.cc.
196 secondaryInCurrentStep->clear();
197 G4int nSecondary = fSecondary->size();
198 for (
G4int i=nSecondaryByLastStep; i<nSecondary; i++) {
199 secondaryInCurrentStep->push_back((*fSecondary)[i]);
201 return secondaryInCurrentStep;
G4double G4Step::GetStepLength |
( |
| ) |
const |
G4double G4Step::GetTotalEnergyDeposit |
( |
| ) |
const |
G4Track* G4Step::GetTrack |
( |
| ) |
const |
G4bool G4Step::IsFirstStepInVolume |
( |
| ) |
const |
G4bool G4Step::IsLastStepInVolume |
( |
| ) |
const |
Definition at line 122 of file G4Step.cc.
128 fStepLength = right.fStepLength;
129 fpTrack = right.fpTrack;
130 fpSteppingControlFlag = right.fpSteppingControlFlag;
131 fFirstStepInVolume = right.fFirstStepInVolume;
132 fLastStepInVolume = right.fLastStepInVolume;
133 nSecondaryByLastStep = right.nSecondaryByLastStep;
134 secondaryInCurrentStep = right.secondaryInCurrentStep;
135 fpVectorOfAuxiliaryPointsPointer = right.fpVectorOfAuxiliaryPointsPointer;
137 if (fpPreStepPoint !=0 )
delete fpPreStepPoint;
138 if (right.fpPreStepPoint !=0) {
139 fpPreStepPoint =
new G4StepPoint(*(right.fpPreStepPoint));
143 if (fpPostStepPoint !=0 )
delete fpPostStepPoint;
144 if (right.fpPostStepPoint !=0) {
145 fpPostStepPoint =
new G4StepPoint(*(right.fpPostStepPoint));
149 if (right.fSecondary !=0) {
G4double fTotalEnergyDeposit
G4double fNonIonizingEnergyDeposit
std::vector< G4Track * > G4TrackVector
void G4Step::ResetNonIonizingEnergyDeposit |
( |
| ) |
|
void G4Step::ResetTotalEnergyDeposit |
( |
| ) |
|
void G4Step::SetFirstStepFlag |
( |
| ) |
|
void G4Step::SetLastStepFlag |
( |
| ) |
|
void G4Step::SetPointerToVectorOfAuxiliaryPoints |
( |
std::vector< G4ThreeVector > * |
theNewVectorPointer | ) |
|
|
inline |
Definition at line 239 of file G4Step.hh.
240 fpVectorOfAuxiliaryPointsPointer = theNewVectorPointer;
void G4Step::UpdateTrack |
( |
| ) |
|
G4double G4Step::fNonIonizingEnergyDeposit |
|
protected |
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/track/include/G4Step.hh
- source/geant4.10.03.p03/source/track/src/G4Step.cc