Geant4-11
Public Types | Public Member Functions | Protected Attributes | Private Attributes
G4Step Class Reference

#include <G4Step.hh>

Public Types

using ProfilerConfig = G4ProfilerConfig< G4ProfileType::Step >
 

Public Member Functions

void AddNonIonizingEnergyDeposit (G4double value)
 
void AddTotalEnergyDeposit (G4double value)
 
void ClearFirstStepFlag ()
 
void ClearLastStepFlag ()
 
void CopyPostToPreStepPoint ()
 
G4Polyline * CreatePolyline () const
 
void DeleteSecondaryVector ()
 
 G4Step ()
 
 G4Step (const G4Step &)
 
G4SteppingControl GetControlFlag () const
 
G4double GetDeltaEnergy () const
 
G4ThreeVector GetDeltaMomentum () const
 
G4ThreeVector GetDeltaPosition () const
 
G4double GetDeltaTime () const
 
G4TrackVector * GetfSecondary ()
 
G4double GetNonIonizingEnergyDeposit () const
 
std::size_t GetNumberOfSecondariesInCurrentStep () const
 
std::vector< G4ThreeVector > * GetPointerToVectorOfAuxiliaryPoints () const
 
G4StepPoint * GetPostStepPoint () const
 
G4StepPoint * GetPreStepPoint () const
 
const G4TrackVector * GetSecondary () const
 
const std::vector< const G4Track * > * GetSecondaryInCurrentStep () const
 
G4double GetStepLength () const
 
G4double GetTotalEnergyDeposit () const
 
G4Track * GetTrack () const
 
void InitializeStep (G4Track *aValue)
 
G4bool IsFirstStepInVolume () const
 
G4bool IsLastStepInVolume () const
 
G4TrackVector * NewSecondaryVector ()
 
G4Step & operator= (const G4Step &)
 
void ResetNonIonizingEnergyDeposit ()
 
void ResetTotalEnergyDeposit ()
 
void SetControlFlag (G4SteppingControl StepControlFlag)
 
void SetFirstStepFlag ()
 
void SetLastStepFlag ()
 
void SetNonIonizingEnergyDeposit (G4double value)
 
void SetPointerToVectorOfAuxiliaryPoints (std::vector< G4ThreeVector > *vec)
 
void SetPostStepPoint (G4StepPoint *value)
 
void SetPreStepPoint (G4StepPoint *value)
 
void SetSecondary (G4TrackVector *value)
 
void SetStepLength (G4double value)
 
void SetTotalEnergyDeposit (G4double value)
 
void SetTrack (G4Track *value)
 
void UpdateTrack ()
 
 ~G4Step ()
 

Protected Attributes

G4double fNonIonizingEnergyDeposit = 0.0
 
G4double fTotalEnergyDeposit = 0.0
 

Private Attributes

G4bool fFirstStepInVolume = false
 
G4bool fLastStepInVolume = false
 
G4StepPoint * fpPostStepPoint = nullptr
 
G4StepPoint * fpPreStepPoint = nullptr
 
G4SteppingControl fpSteppingControlFlag = NormalCondition
 
G4Track * fpTrack = nullptr
 
std::vector< G4ThreeVector > * fpVectorOfAuxiliaryPointsPointer = nullptr
 
G4TrackVector * fSecondary = nullptr
 
G4double fStepLength = 0.0
 
std::size_t nSecondaryByLastStep = 0
 
std::vector< const G4Track * > * secondaryInCurrentStep = nullptr
 

Detailed Description

Definition at line 61 of file G4Step.hh.

Member Typedef Documentation

◆ ProfilerConfig

Definition at line 65 of file G4Step.hh.

Constructor & Destructor Documentation

◆ G4Step() [1/2]

G4Step::G4Step ( )

Definition at line 38 of file G4Step.cc.

39{
42
43 secondaryInCurrentStep = new std::vector<const G4Track*>;
44}
std::vector< const G4Track * > * secondaryInCurrentStep
Definition: G4Step.hh:203
G4StepPoint * fpPreStepPoint
Definition: G4Step.hh:182
G4StepPoint * fpPostStepPoint
Definition: G4Step.hh:183

References fpPostStepPoint, fpPreStepPoint, and secondaryInCurrentStep.

◆ ~G4Step()

G4Step::~G4Step ( )

Definition at line 47 of file G4Step.cc.

48{
49 delete fpPreStepPoint;
50 fpPreStepPoint = nullptr;
51 delete fpPostStepPoint;
52 fpPostStepPoint = nullptr;
53
56 secondaryInCurrentStep = nullptr;
57
58 if(fSecondary != nullptr)
59 {
60 fSecondary->clear();
61 delete fSecondary;
62 }
63 fSecondary = nullptr;
64}
G4TrackVector * fSecondary
Definition: G4Step.hh:197

References fpPostStepPoint, fpPreStepPoint, fSecondary, and secondaryInCurrentStep.

◆ G4Step() [2/2]

G4Step::G4Step ( const G4Step &  right)

Definition at line 67 of file G4Step.cc.

71 , fpTrack(right.fpTrack)
78{
79 if(right.fpPreStepPoint != nullptr)
80 {
82 }
83 else
84 {
86 }
87 if(right.fpPostStepPoint != nullptr)
88 {
90 }
91 else
92 {
94 }
95
96 if(right.fSecondary != nullptr)
97 {
98 fSecondary = new G4TrackVector(*(right.fSecondary));
99 }
100 else
101 {
103 }
104
105 // secondaryInCurrentStep is cleared
106 secondaryInCurrentStep = new std::vector<const G4Track*>;
107}
std::vector< G4Track * > G4TrackVector
std::vector< G4ThreeVector > * fpVectorOfAuxiliaryPointsPointer
Definition: G4Step.hh:205
std::size_t nSecondaryByLastStep
Definition: G4Step.hh:200
G4Track * fpTrack
Definition: G4Step.hh:188
G4double fStepLength
Definition: G4Step.hh:184
G4bool fLastStepInVolume
Definition: G4Step.hh:194
G4bool fFirstStepInVolume
Definition: G4Step.hh:193
G4double fNonIonizingEnergyDeposit
Definition: G4Step.hh:177
G4SteppingControl fpSteppingControlFlag
Definition: G4Step.hh:190
G4double fTotalEnergyDeposit
Definition: G4Step.hh:174

References fpPostStepPoint, fpPreStepPoint, fSecondary, and secondaryInCurrentStep.

Member Function Documentation

◆ AddNonIonizingEnergyDeposit()

void G4Step::AddNonIonizingEnergyDeposit ( G4double  value)

◆ AddTotalEnergyDeposit()

void G4Step::AddTotalEnergyDeposit ( G4double  value)

◆ ClearFirstStepFlag()

void G4Step::ClearFirstStepFlag ( )

◆ ClearLastStepFlag()

void G4Step::ClearLastStepFlag ( )

◆ CopyPostToPreStepPoint()

void G4Step::CopyPostToPreStepPoint ( )

◆ CreatePolyline()

G4Polyline * G4Step::CreatePolyline ( ) const

◆ DeleteSecondaryVector()

void G4Step::DeleteSecondaryVector ( )

◆ GetControlFlag()

G4SteppingControl G4Step::GetControlFlag ( ) const

◆ GetDeltaEnergy()

G4double G4Step::GetDeltaEnergy ( ) const

Definition at line 192 of file G4Step.cc.

193{
194 static G4ThreadLocal G4bool isFirstTime = true;
195 if(isFirstTime)
196 {
197 isFirstTime = false;
198#ifdef G4VERBOSE
199 G4Exception("G4Step::GetDeltaEnergy()", "Warning", JustWarning,
200 "This method is obsolete and will be removed soon");
201#endif
202 }
203
206}
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35
bool G4bool
Definition: G4Types.hh:86
G4double GetKineticEnergy() const
#define G4ThreadLocal
Definition: tls.hh:77

References fpPostStepPoint, fpPreStepPoint, G4Exception(), G4ThreadLocal, G4StepPoint::GetKineticEnergy(), and JustWarning.

Referenced by export_G4Step().

◆ GetDeltaMomentum()

G4ThreeVector G4Step::GetDeltaMomentum ( ) const

Definition at line 176 of file G4Step.cc.

177{
178 static G4ThreadLocal G4bool isFirstTime = true;
179 if(isFirstTime)
180 {
181 isFirstTime = false;
182#ifdef G4VERBOSE
183 G4Exception("G4Step::GetDeltaMomentum()", "Warning", JustWarning,
184 "This method is obsolete and will be removed soon");
185#endif
186 }
187
189}
G4ThreeVector GetMomentum() const

References fpPostStepPoint, fpPreStepPoint, G4Exception(), G4ThreadLocal, G4StepPoint::GetMomentum(), and JustWarning.

Referenced by export_G4Step().

◆ GetDeltaPosition()

G4ThreeVector G4Step::GetDeltaPosition ( ) const

◆ GetDeltaTime()

G4double G4Step::GetDeltaTime ( ) const

◆ GetfSecondary()

G4TrackVector * G4Step::GetfSecondary ( )

◆ GetNonIonizingEnergyDeposit()

G4double G4Step::GetNonIonizingEnergyDeposit ( ) const

◆ GetNumberOfSecondariesInCurrentStep()

std::size_t G4Step::GetNumberOfSecondariesInCurrentStep ( ) const

◆ GetPointerToVectorOfAuxiliaryPoints()

std::vector< G4ThreeVector > * G4Step::GetPointerToVectorOfAuxiliaryPoints ( ) const
inline

◆ GetPostStepPoint()

G4StepPoint * G4Step::GetPostStepPoint ( ) const

Referenced by G4VAtomDeexcitation::AlongStepDeexcitation(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4VMultipleScattering::AlongStepDoIt(), G4NuclearStopping::AlongStepDoIt(), G4AdjointForcedInteractionForGamma::AlongStepDoIt(), G4RichTrajectory::AppendStep(), G4SmoothTrajectory::AppendStep(), G4Trajectory::AppendStep(), G4BOptnForceFreeFlight::ApplyFinalStateBiasing(), G4DecayWithSpin::AtRestDoIt(), G4eplusAnnihilation::AtRestDoIt(), G4NIELCalculator::ComputeNIEL(), G4DNABrownianTransportation::ComputeStep(), G4VITSteppingVerbose::CopyState(), G4ImportanceProcess::CopyStep(), G4WeightCutOffProcess::CopyStep(), G4WeightWindowProcess::CopyStep(), G4ParallelWorldProcess::CopyStep(), G4ParallelWorldScoringProcess::CopyStep(), G4ScoreSplittingProcess::CopyStepStart(), G4AdjointCrossSurfChecker::CrossingAGivenRegisteredSurface(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4AdjointCrossSurfChecker::CrossingASphere(), G4SteppingManager::DefinePhysicalStepLength(), G4ITStepProcessor::DoDefinePhysicalStepLength(), G4ITStepProcessor::DoStepping(), G4ExceptionHandler::DumpTrackInfo(), export_G4Step(), G4ImportanceProcess::G4ImportanceProcess(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4RichTrajectoryPoint::G4RichTrajectoryPoint(), G4ScoreSplittingProcess::G4ScoreSplittingProcess(), G4SteppingManager::G4SteppingManager(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), G4Channeling::GetPost(), G4Scintillation::GetScintillationYieldByParticleType(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4ITStepProcessor::InvokeAtRestDoItProcs(), G4SteppingManager::InvokeAtRestDoItProcs(), G4SteppingManager::InvokePostStepDoItProcs(), G4ITStepProcessor::InvokePSDIP(), G4SteppingManager::InvokePSDIP(), G4UCNBoundaryProcess::InvokeSD(), G4OpBoundaryProcess::InvokeSD(), G4PSPassageCellCurrent::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4PSPassageTrackLength::IsPassed(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4ErrorPropagator::MakeOneStep(), G4ImportanceProcess::PostStepDoIt(), G4WeightCutOffProcess::PostStepDoIt(), G4WeightWindowProcess::PostStepDoIt(), G4ScoreSplittingProcess::PostStepDoIt(), G4Channeling::PostStepDoIt(), G4PhononReflection::PostStepDoIt(), G4PhononScattering::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4UCNAbsorption::PostStepDoIt(), G4UCNBoundaryProcess::PostStepDoIt(), G4UCNMultiScattering::PostStepDoIt(), G4MicroElecSurface::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4OpWLS2::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4ITSteppingVerbose::PostStepVerbose(), G4PSCellCharge::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4PSNofCollision::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSTrackCounter::ProcessHits(), G4PSVolumeFlux::ProcessHits(), G4ElectronIonPair::ResidualeChargePostStep(), G4ElectronIonPair::SampleIonsAlongStep(), G4GammaGeneralProcess::SelectedProcess(), G4ITStepProcessor::SetupMembers(), G4ITSteppingVerbose::ShowStep(), G4SteppingVerbose::ShowStep(), G4SteppingVerboseWithUnits::ShowStep(), G4ParallelWorldProcess::StartTracking(), G4ScoreSplittingProcess::StartTracking(), G4ITSteppingVerbose::StepInfo(), G4SteppingVerbose::StepInfo(), G4SteppingVerboseWithUnits::StepInfo(), G4ITSteppingVerbose::StepInfoForLeadingTrack(), G4SteppingManager::Stepping(), G4ParallelWorldProcess::SwitchMaterial(), G4Channeling::UpdateParameters(), G4ParticleChangeForOccurenceBiasing::UpdateStepForAlongStep(), G4ParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForLoss::UpdateStepForAlongStep(), G4ParticleChangeForMSC::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4VParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForGamma::UpdateStepForAtRest(), G4FastStep::UpdateStepForAtRest(), G4ParticleChange::UpdateStepForAtRest(), G4ParticleChangeForDecay::UpdateStepForAtRest(), G4VParticleChange::UpdateStepForAtRest(), G4ParticleChangeForOccurenceBiasing::UpdateStepForPostStep(), G4FastStep::UpdateStepForPostStep(), G4ParticleChange::UpdateStepForPostStep(), G4ParticleChangeForDecay::UpdateStepForPostStep(), G4ParticleChangeForGamma::UpdateStepForPostStep(), G4ParticleChangeForLoss::UpdateStepForPostStep(), G4ParticleChangeForMSC::UpdateStepForPostStep(), G4ParticleChangeForTransport::UpdateStepForPostStep(), G4VParticleChange::UpdateStepForPostStep(), G4AdjointSteppingAction::UserSteppingAction(), G4ParallelWorldScoringProcess::Verbose(), and G4ScoreSplittingProcess::Verbose().

◆ GetPreStepPoint()

G4StepPoint * G4Step::GetPreStepPoint ( ) const

Referenced by G4SDChargedFilter::Accept(), G4SDKineticEnergyFilter::Accept(), G4SDNeutralFilter::Accept(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4NuclearStopping::AlongStepDoIt(), G4ITTransportation::AlongStepDoIt(), G4CoupledTransportation::AlongStepDoIt(), G4Transportation::AlongStepDoIt(), G4RichTrajectory::AppendStep(), G4VReadOutGeometry::CheckROVolume(), G4VPrimitiveScorer::ComputeCurrentSolid(), G4VMscModel::ComputeGeomLimit(), G4DNABrownianTransportation::ComputeGeomLimit(), G4NIELCalculator::ComputeNIEL(), G4VPrimitiveScorer::ComputeSolid(), G4DNABrownianTransportation::ComputeStep(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4VITSteppingVerbose::CopyState(), G4ImportanceProcess::CopyStep(), G4WeightCutOffProcess::CopyStep(), G4WeightWindowProcess::CopyStep(), G4ParallelWorldProcess::CopyStep(), G4ParallelWorldScoringProcess::CopyStep(), G4ScoreSplittingProcess::CopyStepStart(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4AdjointCrossSurfChecker::CrossingASphere(), G4ExceptionHandler::DumpTrackInfo(), G4CellScoreComposer::EstimatorCalculation(), export_G4Step(), G4DNASmoluchowskiReactionModel::FindReaction(), G4VReadOutGeometry::FindROTouchable(), G4ImportanceProcess::G4ImportanceProcess(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4RichTrajectoryPoint::G4RichTrajectoryPoint(), G4ScoreSplittingProcess::G4ScoreSplittingProcess(), G4SteppingManager::G4SteppingManager(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), G4VPrimitiveScorer::GetIndex(), G4PSCellCharge3D::GetIndex(), G4PSCellFlux3D::GetIndex(), G4PSCylinderSurfaceCurrent3D::GetIndex(), G4PSCylinderSurfaceFlux3D::GetIndex(), G4PSDoseDeposit3D::GetIndex(), G4PSEnergyDeposit3D::GetIndex(), G4PSFlatSurfaceCurrent3D::GetIndex(), G4PSFlatSurfaceFlux3D::GetIndex(), G4PSMinKinEAtGeneration3D::GetIndex(), G4PSNofCollision3D::GetIndex(), G4PSNofSecondary3D::GetIndex(), G4PSNofStep3D::GetIndex(), G4PSPassageCellCurrent3D::GetIndex(), G4PSPassageCellFlux3D::GetIndex(), G4PSPassageTrackLength3D::GetIndex(), G4PSPopulation3D::GetIndex(), G4PSSphereSurfaceCurrent3D::GetIndex(), G4PSSphereSurfaceFlux3D::GetIndex(), G4PSStepChecker3D::GetIndex(), G4PSTermination3D::GetIndex(), G4PSTrackCounter3D::GetIndex(), G4PSTrackLength3D::GetIndex(), G4PSVolumeFlux3D::GetIndex(), G4NeutrinoElectronProcess::GetMeanFreePath(), G4ElNeutrinoNucleusProcess::GetMeanFreePath(), G4MuNeutrinoNucleusProcess::GetMeanFreePath(), G4Channeling::GetPre(), G4Scintillation::GetScintillationYieldByParticleType(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4VFastSimSensitiveDetector::Hit(), G4VGFlashSensitiveDetector::Hit(), G4ITStepProcessor::InitDefineStep(), G4PSPassageCellCurrent::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4PSPassageTrackLength::IsPassed(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), G4ImportanceProcess::PostStepDoIt(), G4ScoreSplittingProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4UCNBoundaryProcess::PostStepDoIt(), G4MicroElecSurface::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4VTransitionRadiation::PostStepDoIt(), G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength(), G4AdjointForcedInteractionForGamma::PostStepGetPhysicalInteractionLength(), G4PSCellCharge::ProcessHits(), G4PSCellFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSEnergyDeposit::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4PSMinKinEAtGeneration::ProcessHits(), G4PSNofCollision::ProcessHits(), G4PSNofSecondary::ProcessHits(), G4PSPassageCellCurrent::ProcessHits(), G4PSPassageCellFlux::ProcessHits(), G4PSPopulation::ProcessHits(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSTermination::ProcessHits(), G4PSTrackCounter::ProcessHits(), G4PSTrackLength::ProcessHits(), G4PSVolumeFlux::ProcessHits(), G4ErrorFreeTrajState::PropagateError(), G4ErrorFreeTrajState::PropagateErrorIoni(), G4BOptrForceCollision::ProposeNonPhysicsBiasingOperation(), G4TransportationLogger::ReportLoopingTrack(), G4ElectronIonPair::SampleIonsAlongStep(), G4ITStepProcessor::SetupMembers(), G4ITSteppingVerbose::ShowStep(), G4SteppingVerbose::ShowStep(), G4SteppingVerboseWithUnits::ShowStep(), G4EnergySplitter::SplitEnergyInVolumes(), G4ParallelWorldProcess::StartTracking(), G4ScoreSplittingProcess::StartTracking(), G4SteppingManager::Stepping(), G4Channeling::UpdateParameters(), G4ParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForLoss::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4VParticleChange::UpdateStepForAlongStep(), G4MSSteppingAction::UserSteppingAction(), G4ParallelWorldScoringProcess::Verbose(), and G4ScoreSplittingProcess::Verbose().

◆ GetSecondary()

const G4TrackVector * G4Step::GetSecondary ( ) const

◆ GetSecondaryInCurrentStep()

const std::vector< const G4Track * > * G4Step::GetSecondaryInCurrentStep ( ) const

Definition at line 209 of file G4Step.cc.

210{
211 secondaryInCurrentStep->clear();
212 G4int nSecondary = fSecondary->size();
213 for(G4int i = nSecondaryByLastStep; i < nSecondary; ++i)
214 {
215 secondaryInCurrentStep->push_back((*fSecondary)[i]);
216 }
218}
int G4int
Definition: G4Types.hh:85

References fSecondary, nSecondaryByLastStep, and secondaryInCurrentStep.

Referenced by G4NIELCalculator::RecoilEnergy(), and G4SteppingVerboseWithUnits::StepInfo().

◆ GetStepLength()

G4double G4Step::GetStepLength ( ) const

Referenced by G4VAtomDeexcitation::AlongStepDeexcitation(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4VEnergyLossProcess::AlongStepDoIt(), G4VMultipleScattering::AlongStepDoIt(), G4ErrorEnergyLoss::AlongStepDoIt(), G4BiasingProcessInterface::AlongStepDoIt(), G4NuclearStopping::AlongStepDoIt(), G4AdjointForcedInteractionForGamma::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4RayTrajectory::AppendStep(), G4NIELCalculator::ComputeNIEL(), G4ImportanceProcess::CopyStep(), G4WeightCutOffProcess::CopyStep(), G4WeightWindowProcess::CopyStep(), G4ParallelWorldProcess::CopyStep(), G4ParallelWorldScoringProcess::CopyStep(), G4ScoreSplittingProcess::CopyStepStart(), G4ITStepProcessor::DoStepping(), G4ExceptionHandler::DumpTrackInfo(), G4CellScoreComposer::EstimatorCalculation(), export_G4Step(), G4PSPassageCellFlux::IsPassed(), G4PSPassageTrackLength::IsPassed(), G4ImportanceProcess::PostStepDoIt(), G4WeightWindowProcess::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4DNABrownianTransportation::PostStepDoIt(), G4BiasingProcessInterface::PostStepDoIt(), G4VTransitionRadiation::PostStepDoIt(), G4MultiFunctionalDetector::ProcessHits(), G4PSCellFlux::ProcessHits(), G4PSNofStep::ProcessHits(), G4PSTrackLength::ProcessHits(), G4ErrorFreeTrajState::PropagateError(), G4ErrorFreeTrajState::PropagateErrorIoni(), G4ErrorFreeTrajState::PropagateErrorMSC(), G4TransportationLogger::ReportLoopingTrack(), G4EnergySplitter::SplitEnergyInVolumes(), G4ITSteppingVerbose::StepInfo(), G4SteppingVerbose::StepInfo(), G4SteppingVerboseWithUnits::StepInfo(), G4ITSteppingVerbose::StepInfoForLeadingTrack(), G4SteppingManager::Stepping(), G4SteppingVerbose::TrackingStarted(), G4SteppingVerboseWithUnits::TrackingStarted(), G4BOptnForceCommonTruncatedExp::UpdateForStep(), G4MSSteppingAction::UserSteppingAction(), G4ParallelWorldScoringProcess::Verbose(), G4ScoreSplittingProcess::Verbose(), and G4EmSaturation::VisibleEnergyDepositionAtAStep().

◆ GetTotalEnergyDeposit()

G4double G4Step::GetTotalEnergyDeposit ( ) const

◆ GetTrack()

G4Track * G4Step::GetTrack ( ) const

Referenced by G4SDParticleFilter::Accept(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4RichTrajectory::AppendStep(), G4DecayWithSpin::AtRestDoIt(), G4NIELCalculator::ComputeNIEL(), G4ImportanceProcess::CopyStep(), G4WeightCutOffProcess::CopyStep(), G4WeightWindowProcess::CopyStep(), G4ParallelWorldProcess::CopyStep(), G4ParallelWorldScoringProcess::CopyStep(), G4ScoreSplittingProcess::CopyStepStart(), export_G4Step(), G4RichTrajectoryPoint::G4RichTrajectoryPoint(), G4UCNBoundaryProcess::InvokeSD(), G4PSPassageCellCurrent::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4PSPassageTrackLength::IsPassed(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), G4PSCellCharge::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSMinKinEAtGeneration::ProcessHits(), G4PSNofSecondary::ProcessHits(), G4PSPopulation::ProcessHits(), G4PSTermination::ProcessHits(), G4ElectronIonPair::ResidualeChargePostStep(), G4ITSteppingVerbose::ShowStep(), G4SteppingVerbose::ShowStep(), G4SteppingVerboseWithUnits::ShowStep(), G4DecayWithSpin::Spin_Precession(), G4EnergySplitter::SplitEnergyInVolumes(), G4ErrorGeomVolumeTarget::TargetReached(), G4ParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForLoss::UpdateStepForAlongStep(), G4ParticleChangeForMSC::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4FastStep::UpdateStepForAtRest(), G4ParticleChange::UpdateStepForAtRest(), G4ParticleChangeForDecay::UpdateStepForAtRest(), G4FastStep::UpdateStepForPostStep(), G4ParticleChange::UpdateStepForPostStep(), G4ParticleChangeForGamma::UpdateStepForPostStep(), G4ParticleChangeForLoss::UpdateStepForPostStep(), G4ITReactionChange::UpdateStepInfo(), G4AdjointSteppingAction::UserSteppingAction(), G4ParallelWorldScoringProcess::Verbose(), G4ScoreSplittingProcess::Verbose(), and G4EmSaturation::VisibleEnergyDepositionAtAStep().

◆ InitializeStep()

void G4Step::InitializeStep ( G4Track *  aValue)

◆ IsFirstStepInVolume()

G4bool G4Step::IsFirstStepInVolume ( ) const

◆ IsLastStepInVolume()

G4bool G4Step::IsLastStepInVolume ( ) const

◆ NewSecondaryVector()

G4TrackVector * G4Step::NewSecondaryVector ( )

◆ operator=()

G4Step & G4Step::operator= ( const G4Step &  right)

Definition at line 110 of file G4Step.cc.

111{
112 if(this != &right)
113 {
116 fStepLength = right.fStepLength;
117 fpTrack = right.fpTrack;
124
125 if(fpPreStepPoint != nullptr)
126 {
127 delete fpPreStepPoint;
128 }
129 if(right.fpPreStepPoint != nullptr)
130 {
132 }
133 else
134 {
136 }
137 if(fpPostStepPoint != nullptr)
138 {
139 delete fpPostStepPoint;
140 }
141 if(right.fpPostStepPoint != nullptr)
142 {
144 }
145 else
146 {
148 }
149
150 if(fSecondary != nullptr)
151 {
152 fSecondary->clear();
153 delete fSecondary;
154 }
155 if(right.fSecondary != nullptr)
156 {
157 fSecondary = new G4TrackVector(*(right.fSecondary));
158 }
159 else
160 {
162 }
163
164 // secondaryInCurrentStep is not copied
165 if(secondaryInCurrentStep != nullptr)
166 {
167 secondaryInCurrentStep->clear();
169 }
170 secondaryInCurrentStep = new std::vector<const G4Track*>;
171 }
172 return *this;
173}

References fFirstStepInVolume, fLastStepInVolume, fNonIonizingEnergyDeposit, fpPostStepPoint, fpPreStepPoint, fpSteppingControlFlag, fpTrack, fpVectorOfAuxiliaryPointsPointer, fSecondary, fStepLength, fTotalEnergyDeposit, nSecondaryByLastStep, and secondaryInCurrentStep.

◆ ResetNonIonizingEnergyDeposit()

void G4Step::ResetNonIonizingEnergyDeposit ( )

◆ ResetTotalEnergyDeposit()

void G4Step::ResetTotalEnergyDeposit ( )

◆ SetControlFlag()

void G4Step::SetControlFlag ( G4SteppingControl  StepControlFlag)

◆ SetFirstStepFlag()

void G4Step::SetFirstStepFlag ( )

◆ SetLastStepFlag()

void G4Step::SetLastStepFlag ( )

◆ SetNonIonizingEnergyDeposit()

void G4Step::SetNonIonizingEnergyDeposit ( G4double  value)

◆ SetPointerToVectorOfAuxiliaryPoints()

void G4Step::SetPointerToVectorOfAuxiliaryPoints ( std::vector< G4ThreeVector > *  vec)
inline

◆ SetPostStepPoint()

void G4Step::SetPostStepPoint ( G4StepPoint *  value)

◆ SetPreStepPoint()

void G4Step::SetPreStepPoint ( G4StepPoint *  value)

◆ SetSecondary()

void G4Step::SetSecondary ( G4TrackVector *  value)

◆ SetStepLength()

void G4Step::SetStepLength ( G4double  value)

◆ SetTotalEnergyDeposit()

void G4Step::SetTotalEnergyDeposit ( G4double  value)

◆ SetTrack()

void G4Step::SetTrack ( G4Track *  value)

◆ UpdateTrack()

void G4Step::UpdateTrack ( )

Field Documentation

◆ fFirstStepInVolume

G4bool G4Step::fFirstStepInVolume = false
private

Definition at line 193 of file G4Step.hh.

Referenced by operator=().

◆ fLastStepInVolume

G4bool G4Step::fLastStepInVolume = false
private

Definition at line 194 of file G4Step.hh.

Referenced by operator=().

◆ fNonIonizingEnergyDeposit

G4double G4Step::fNonIonizingEnergyDeposit = 0.0
protected

Definition at line 177 of file G4Step.hh.

Referenced by operator=().

◆ fpPostStepPoint

G4StepPoint* G4Step::fpPostStepPoint = nullptr
private

Definition at line 183 of file G4Step.hh.

Referenced by G4Step(), GetDeltaEnergy(), GetDeltaMomentum(), operator=(), and ~G4Step().

◆ fpPreStepPoint

G4StepPoint* G4Step::fpPreStepPoint = nullptr
private

Definition at line 182 of file G4Step.hh.

Referenced by G4Step(), GetDeltaEnergy(), GetDeltaMomentum(), operator=(), and ~G4Step().

◆ fpSteppingControlFlag

G4SteppingControl G4Step::fpSteppingControlFlag = NormalCondition
private

Definition at line 190 of file G4Step.hh.

Referenced by operator=().

◆ fpTrack

G4Track* G4Step::fpTrack = nullptr
private

Definition at line 188 of file G4Step.hh.

Referenced by operator=().

◆ fpVectorOfAuxiliaryPointsPointer

std::vector<G4ThreeVector>* G4Step::fpVectorOfAuxiliaryPointsPointer = nullptr
private

Definition at line 205 of file G4Step.hh.

Referenced by operator=().

◆ fSecondary

G4TrackVector* G4Step::fSecondary = nullptr
private

Definition at line 197 of file G4Step.hh.

Referenced by G4Step(), GetSecondaryInCurrentStep(), operator=(), and ~G4Step().

◆ fStepLength

G4double G4Step::fStepLength = 0.0
private

Definition at line 184 of file G4Step.hh.

Referenced by operator=().

◆ fTotalEnergyDeposit

G4double G4Step::fTotalEnergyDeposit = 0.0
protected

Definition at line 174 of file G4Step.hh.

Referenced by operator=().

◆ nSecondaryByLastStep

std::size_t G4Step::nSecondaryByLastStep = 0
private

Definition at line 200 of file G4Step.hh.

Referenced by GetSecondaryInCurrentStep(), and operator=().

◆ secondaryInCurrentStep

std::vector<const G4Track*>* G4Step::secondaryInCurrentStep = nullptr
private

Definition at line 203 of file G4Step.hh.

Referenced by G4Step(), GetSecondaryInCurrentStep(), operator=(), and ~G4Step().


The documentation for this class was generated from the following files: