Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
G4Step Class Reference

#include <G4Step.hh>

Public Member Functions

 G4Step ()
 
 ~G4Step ()
 
 G4Step (const G4Step &)
 
G4Stepoperator= (const G4Step &)
 
G4TrackGetTrack () const
 
void SetTrack (G4Track *value)
 
G4StepPointGetPreStepPoint () const
 
void SetPreStepPoint (G4StepPoint *value)
 
G4StepPointGetPostStepPoint () const
 
void SetPostStepPoint (G4StepPoint *value)
 
G4double GetStepLength () const
 
void SetStepLength (G4double value)
 
G4double GetTotalEnergyDeposit () const
 
void SetTotalEnergyDeposit (G4double value)
 
G4double GetNonIonizingEnergyDeposit () const
 
void SetNonIonizingEnergyDeposit (G4double value)
 
G4SteppingControl GetControlFlag () const
 
void SetControlFlag (G4SteppingControl StepControlFlag)
 
void AddTotalEnergyDeposit (G4double value)
 
void ResetTotalEnergyDeposit ()
 
void AddNonIonizingEnergyDeposit (G4double value)
 
void ResetNonIonizingEnergyDeposit ()
 
G4bool IsFirstStepInVolume () const
 
G4bool IsLastStepInVolume () const
 
void SetFirstStepFlag ()
 
void ClearFirstStepFlag ()
 
void SetLastStepFlag ()
 
void ClearLastStepFlag ()
 
G4ThreeVector GetDeltaPosition () const
 
G4double GetDeltaTime () const
 
G4ThreeVector GetDeltaMomentum () const
 
G4double GetDeltaEnergy () const
 
void InitializeStep (G4Track *aValue)
 
void UpdateTrack ()
 
void CopyPostToPreStepPoint ()
 
G4PolylineCreatePolyline () const
 
const std::vector< const
G4Track * > * 
GetSecondaryInCurrentStep () const
 
const G4TrackVectorGetSecondary () const
 
G4TrackVectorGetfSecondary ()
 
G4TrackVectorNewSecondaryVector ()
 
void DeleteSecondaryVector ()
 
void SetSecondary (G4TrackVector *value)
 
void SetPointerToVectorOfAuxiliaryPoints (std::vector< G4ThreeVector > *theNewVectorPointer)
 
std::vector< G4ThreeVector > * GetPointerToVectorOfAuxiliaryPoints () const
 

Protected Attributes

G4double fTotalEnergyDeposit
 
G4double fNonIonizingEnergyDeposit
 

Detailed Description

Definition at line 76 of file G4Step.hh.

Constructor & Destructor Documentation

G4Step::G4Step ( )

Definition at line 53 of file G4Step.cc.

56  fStepLength(0.), fpTrack(0),
57  fpSteppingControlFlag(NormalCondition),
58  fFirstStepInVolume(false),
59  fLastStepInVolume(false),
60  fSecondary(0),
61  nSecondaryByLastStep(0), secondaryInCurrentStep(),
62  fpVectorOfAuxiliaryPointsPointer(0)
63 {
64  fpPreStepPoint = new G4StepPoint();
65  fpPostStepPoint = new G4StepPoint();
66 
67  secondaryInCurrentStep = new std::vector<CT>;
68 }
G4double fTotalEnergyDeposit
Definition: G4Step.hh:176
G4double fNonIonizingEnergyDeposit
Definition: G4Step.hh:179
G4Step::~G4Step ( )

Definition at line 71 of file G4Step.cc.

73 {
74  delete fpPreStepPoint;
75  delete fpPostStepPoint;
76 
77  secondaryInCurrentStep->clear();
78  delete secondaryInCurrentStep;
79 
80  if (fSecondary !=0 ) {
81  fSecondary->clear();
82  delete fSecondary;
83  }
84 }
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)
101 {
102  if (right.fpPreStepPoint !=0) {
103  fpPreStepPoint = new G4StepPoint(*(right.fpPreStepPoint));
104  } else {
105  fpPreStepPoint = new G4StepPoint();
106  }
107  if (right.fpPostStepPoint !=0) {
108  fpPostStepPoint = new G4StepPoint(*(right.fpPostStepPoint));
109  } else {
110  fpPostStepPoint = new G4StepPoint();
111  }
112 
113  if (right.fSecondary !=0) {
114  fSecondary = new G4TrackVector(*(right.fSecondary));
115  } else {
116  fSecondary = new G4TrackVector();
117  }
118  secondaryInCurrentStep = new std::vector<CT>;
119 }
G4double fTotalEnergyDeposit
Definition: G4Step.hh:176
G4double fNonIonizingEnergyDeposit
Definition: G4Step.hh:179
std::vector< G4Track * > G4TrackVector

Member Function Documentation

void G4Step::AddNonIonizingEnergyDeposit ( G4double  value)
void G4Step::AddTotalEnergyDeposit ( G4double  value)
void G4Step::ClearFirstStepFlag ( )
void G4Step::ClearLastStepFlag ( )
void G4Step::CopyPostToPreStepPoint ( )
G4Polyline* G4Step::CreatePolyline ( ) const
void G4Step::DeleteSecondaryVector ( )
G4SteppingControl G4Step::GetControlFlag ( ) const
G4double G4Step::GetDeltaEnergy ( ) const

Definition at line 176 of file G4Step.cc.

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

Referenced by export_G4Step().

178 {
179  static G4ThreadLocal G4bool isFirstTime = true;
180  if (isFirstTime) {
181  isFirstTime = false;
182 #ifdef G4VERBOSE
183  G4Exception( "G4Step::GetDeltaEnergy()","Warning", JustWarning,
184  "This method is obsolete and will be removed soon");
185 #endif
186  }
187 
188  return fpPostStepPoint->GetKineticEnergy()
189  - fpPreStepPoint->GetKineticEnergy();
190 }
#define G4ThreadLocal
Definition: tls.hh:52
bool G4bool
Definition: G4Types.hh:79
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4double GetKineticEnergy() const
G4ThreeVector G4Step::GetDeltaMomentum ( ) const

Definition at line 159 of file G4Step.cc.

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

Referenced by export_G4Step().

161 {
162  static G4ThreadLocal G4bool isFirstTime = true;
163  if (isFirstTime) {
164  isFirstTime = false;
165 #ifdef G4VERBOSE
166  G4Exception( "G4Step::GetDeltaMomentum()","Warning", JustWarning,
167  "This method is obsolete and will be removed soon");
168 #endif
169  }
170 
171  return fpPostStepPoint->GetMomentum()
172  - fpPreStepPoint->GetMomentum();
173 }
G4ThreeVector GetMomentum() const
#define G4ThreadLocal
Definition: tls.hh:52
bool G4bool
Definition: G4Types.hh:79
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4ThreeVector G4Step::GetDeltaPosition ( ) const
G4double G4Step::GetDeltaTime ( ) const
G4TrackVector* G4Step::GetfSecondary ( )
G4double G4Step::GetNonIonizingEnergyDeposit ( ) const
std::vector<G4ThreeVector>* G4Step::GetPointerToVectorOfAuxiliaryPoints ( ) const
inline

Definition at line 240 of file G4Step.hh.

Referenced by G4SmoothTrajectory::AppendStep().

240  {
241  return fpVectorOfAuxiliaryPointsPointer;
242  }
G4StepPoint* G4Step::GetPostStepPoint ( ) const

Referenced by HistoManager::AddTargetStep(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4NuclearStopping::AlongStepDoIt(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4eLowEnergyLoss::AlongStepDoIt(), G4VMultipleScattering::AlongStepDoIt(), G4VEnergyLossProcess::AlongStepDoIt(), RE01Trajectory::AppendStep(), G4RayTrajectory::AppendStep(), G4RichTrajectory::AppendStep(), G4SmoothTrajectory::AppendStep(), G4Trajectory::AppendStep(), RE04Trajectory::AppendStep(), G4DNABrownianTransportation::ComputeStep(), G4AdjointCrossSurfChecker::CrossingAGivenRegisteredSurface(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4AdjointCrossSurfChecker::CrossingASphere(), G4DecayWithSpin::DecayIt(), G4BOptnForceFreeFlight::DenyProcessPostStepDoIt(), G4ITStepProcessor::DoDefinePhysicalStepLength(), G4ITStepProcessor::DoStepping(), export_G4Step(), F04TrajectoryPoint::F04TrajectoryPoint(), G4ImportanceProcess::G4ImportanceProcess(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4RichTrajectoryPoint::G4RichTrajectoryPoint(), G4ScoreSplittingProcess::G4ScoreSplittingProcess(), G4SteppingManager::G4SteppingManager(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), G4Scintillation::GetScintillationYieldByParticleType(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4ITStepProcessor::InvokeAtRestDoItProcs(), G4ITStepProcessor::InvokePSDIP(), G4PSPassageTrackLength::IsPassed(), G4PSPassageCellCurrent::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4ErrorPropagator::MakeOneStep(), Par01EMShowerModel::Par01EMShowerModel(), Par01PionShowerModel::Par01PionShowerModel(), G4PhononScattering::PostStepDoIt(), G4PhononReflection::PostStepDoIt(), G4LowEnergyCompton::PostStepDoIt(), G4LowEnergyGammaConversion::PostStepDoIt(), G4LowEnergyPhotoElectric::PostStepDoIt(), G4LowEnergyPolarizedCompton::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ImportanceProcess::PostStepDoIt(), G4WeightCutOffProcess::PostStepDoIt(), G4WeightWindowProcess::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4ScoreSplittingProcess::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), eRositaTrackerSD::ProcessHits(), ExTGTrackerSD::ProcessHits(), LXeScintSD::ProcessHits(), ExN02TrackerSD::ProcessHits(), G4PSCellCharge::ProcessHits(), G4PSNofCollision::ProcessHits(), G4PSTrackCounter::ProcessHits(), ExP01TrackerSD::ProcessHits(), XAluminumElectrodeSensitivity::ProcessHits(), B2TrackerSD::ProcessHits(), DMXScintSD::ProcessHits(), DMXPmtSD::ProcessHits(), PhantomSD::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), WLSPhotonDetSD::ProcessHits_constStep(), LXePMTSD::ProcessHits_constStep(), G4ElectronIonPair::ResidualeChargePostStep(), G4ElectronIonPair::SampleIonsAlongStep(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4ITStepProcessor::SetupMembers(), G4SteppingVerbose::ShowStep(), G4ScoreSplittingProcess::StartTracking(), G4ParallelWorldProcess::StartTracking(), LXeSteppingVerbose::StepInfo(), F04SteppingVerbose::StepInfo(), WLSSteppingVerbose::StepInfo(), OpNoviceSteppingVerbose::StepInfo(), ExN04SteppingVerbose::StepInfo(), SteppingVerbose::StepInfo(), eRositaSteppingVerbose::StepInfo(), FCALSteppingVerbose::StepInfo(), PurgMagSteppingVerbose::StepInfo(), XrayFluoSteppingVerbose::StepInfo(), RE05SteppingVerbose::StepInfo(), ExN02SteppingVerbose::StepInfo(), ExP01SteppingVerbose::StepInfo(), F05SteppingVerbose::StepInfo(), Em10SteppingVerbose::StepInfo(), G4SteppingVerbose::StepInfo(), F01SteppingVerbose::StepInfo(), F02SteppingVerbose::StepInfo(), F03SteppingVerbose::StepInfo(), G4SteppingManager::Stepping(), G4ParticleChangeForOccurenceBiasing::UpdateStepForAlongStep(), G4ParticleChangeForLoss::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4ParticleChangeForMSC::UpdateStepForAlongStep(), G4ParticleChange::UpdateStepForAlongStep(), G4VParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForGamma::UpdateStepForAtRest(), G4ParticleChangeForDecay::UpdateStepForAtRest(), G4ParticleChange::UpdateStepForAtRest(), G4VParticleChange::UpdateStepForAtRest(), G4FastStep::UpdateStepForAtRest(), G4ParticleChangeForOccurenceBiasing::UpdateStepForPostStep(), G4ParticleChangeForGamma::UpdateStepForPostStep(), G4ParticleChangeForLoss::UpdateStepForPostStep(), G4ParticleChangeForMSC::UpdateStepForPostStep(), G4ParticleChangeForTransport::UpdateStepForPostStep(), G4ParticleChangeForDecay::UpdateStepForPostStep(), G4ParticleChange::UpdateStepForPostStep(), G4VParticleChange::UpdateStepForPostStep(), G4FastStep::UpdateStepForPostStep(), ExN04SteppingAction::UserSteppingAction(), RE05SteppingAction::UserSteppingAction(), RE01SteppingAction::UserSteppingAction(), CCalSteppingAction::UserSteppingAction(), RE04SteppingAction::UserSteppingAction(), F05SteppingAction::UserSteppingAction(), LXeSteppingAction::UserSteppingAction(), F04SteppingAction::UserSteppingAction(), XrayFluoSteppingAction::UserSteppingAction(), WLSSteppingAction::UserSteppingAction(), Em10SteppingAction::UserSteppingAction(), PurgMagSteppingAction::UserSteppingAction(), CexmcSteppingAction::UserSteppingAction(), DMXSteppingAction::UserSteppingAction(), G4AdjointSteppingAction::UserSteppingAction(), G4ScoreSplittingProcess::Verbose(), G4ParallelWorldScoringProcess::Verbose(), and WLSTrajectoryPoint::WLSTrajectoryPoint().

G4StepPoint* G4Step::GetPreStepPoint ( ) const

Referenced by G4SDChargedFilter::Accept(), G4SDNeutralFilter::Accept(), G4SDKineticEnergyFilter::Accept(), CML2ExpVoxels::add(), HistoManager::AddTargetStep(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4Transportation::AlongStepDoIt(), G4CoupledTransportation::AlongStepDoIt(), G4MonopoleTransportation::AlongStepDoIt(), G4NuclearStopping::AlongStepDoIt(), G4eLowEnergyLoss::AlongStepDoIt(), G4ITTransportation::AlongStepDoIt(), G4VMultipleScattering::AlongStepDoIt(), G4VEnergyLossProcess::AlongStepDoIt(), G4RayTrajectory::AppendStep(), G4RichTrajectory::AppendStep(), RE04Trajectory::AppendStep(), G4VReadOutGeometry::CheckROVolume(), G4VMscModel::ComputeGeomLimit(), G4DNABrownianTransportation::ComputeStep(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4WentzelVIRelModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4PSDoseDeposit::ComputeVolume(), G4PSPassageCellFlux::ComputeVolume(), G4PSCellFlux::ComputeVolume(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4AdjointCrossSurfChecker::CrossingASphere(), CCalVOrganization::DetectorLevel(), G4CellScoreComposer::EstimatorCalculation(), export_G4Step(), G4DNASmoluchowskiReactionModel::FindReaction(), G4VReadOutGeometry::FindROTouchable(), G4ImportanceProcess::G4ImportanceProcess(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4RichTrajectoryPoint::G4RichTrajectoryPoint(), G4ScoreSplittingProcess::G4ScoreSplittingProcess(), G4SteppingManager::G4SteppingManager(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), RE02PSEnergyDeposit::GetIndex(), G4PSNofSecondary3D::GetIndex(), RE02PSNofStep::GetIndex(), G4PSNofStep3D::GetIndex(), G4PSTermination3D::GetIndex(), G4PSPopulation3D::GetIndex(), G4PSStepChecker3D::GetIndex(), G4PSEnergyDeposit3D::GetIndex(), G4PSNofCollision3D::GetIndex(), G4PSPassageCellCurrent3D::GetIndex(), RE02PSPassageCellFlux::GetIndex(), G4PSDoseDeposit3D::GetIndex(), G4PSTrackCounter3D::GetIndex(), G4PSCellCharge3D::GetIndex(), G4PSMinKinEAtGeneration3D::GetIndex(), G4PSTrackLength3D::GetIndex(), G4PSPassageTrackLength3D::GetIndex(), G4PSPassageCellFlux3D::GetIndex(), G4VPrimitiveScorer::GetIndex(), RE02PSCellFlux::GetIndex(), CexmcTrackPointsInCalorimeter::GetIndex(), CexmcEnergyDepositInCalorimeter::GetIndex(), CexmcEnergyDepositInLeftRightSet::GetIndex(), G4PSCellFlux3D::GetIndex(), CexmcTrackPointsInLeftRightSet::GetIndex(), RE02PSFlatSurfaceCurrent::GetIndex(), RE02PSFlatSurfaceFlux::GetIndex(), G4PSCylinderSurfaceCurrent3D::GetIndex(), G4PSCylinderSurfaceFlux3D::GetIndex(), G4PSFlatSurfaceCurrent3D::GetIndex(), G4PSFlatSurfaceFlux3D::GetIndex(), G4PSSphereSurfaceCurrent3D::GetIndex(), G4PSSphereSurfaceFlux3D::GetIndex(), G4Scintillation::GetScintillationYieldByParticleType(), CCalHcalOrganization::GetUnitID(), CCalEcalOrganization::GetUnitID(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4VGFlashSensitiveDetector::Hit(), G4ITStepProcessor::InitDefineStep(), G4PSPassageTrackLength::IsPassed(), G4PSPassageCellCurrent::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), CCalVOrganization::Levels(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), RE06SteppingVerbose::NewStep(), Par01EMShowerModel::Par01EMShowerModel(), Par01PionShowerModel::Par01PionShowerModel(), G4VTransitionRadiation::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4ImportanceProcess::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4ScoreSplittingProcess::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength(), Par01CalorimeterSD::ProcessHits(), ExN04MuonSD::ProcessHits(), ExN04TrackerSD::ProcessHits(), RE05CalorimeterSD::ProcessHits(), RE05TrackerSD::ProcessHits(), RE05MuonSD::ProcessHits(), ExTGTrackerSD::ProcessHits(), B5HodoscopeSD::ProcessHits(), LXeScintSD::ProcessHits(), eRositaTrackerSD::ProcessHits(), G4HumanPhantomSD::ProcessHits(), B5HadCalorimeterSD::ProcessHits(), B5DriftChamberSD::ProcessHits(), RE01TrackerSD::ProcessHits(), ExGflashSensitiveDetector::ProcessHits(), B5EmCalorimeterSD::ProcessHits(), ExN02TrackerSD::ProcessHits(), F02CalorimeterSD::ProcessHits(), G4PSCellCharge::ProcessHits(), G4PSEnergyDeposit::ProcessHits(), G4PSDoseDeposit::ProcessHits(), HadrontherapyDetectorSD::ProcessHits(), G4PSNofCollision::ProcessHits(), G4PSTermination::ProcessHits(), G4PSTrackCounter::ProcessHits(), XAluminumElectrodeSensitivity::ProcessHits(), FCALTestbeamSetupSD::ProcessHits(), ExP01TrackerSD::ProcessHits(), F01CalorimeterSD::ProcessHits(), FCALHadModuleSD::ProcessHits(), F03CalorimeterSD::ProcessHits(), G4PSPopulation::ProcessHits(), G4PSMinKinEAtGeneration::ProcessHits(), FCALEMModuleSD::ProcessHits(), Em10CalorimeterSD::ProcessHits(), GammaRayTelTrackerSD::ProcessHits(), GammaRayTelAnticoincidenceSD::ProcessHits(), GammaRayTelCalorimeterSD::ProcessHits(), B2TrackerSD::ProcessHits(), CML2SDWithVoxels::ProcessHits(), G4PSPassageCellCurrent::ProcessHits(), CML2SDWithParticle::ProcessHits(), B4cCalorimeterSD::ProcessHits(), DMXScintSD::ProcessHits(), UltraPMTSD::ProcessHits(), PhantomSD::ProcessHits(), XrayFluoHPGeSD::ProcessHits(), G4PSNofSecondary::ProcessHits(), G4PSPassageCellFlux::ProcessHits(), G4PSTrackLength::ProcessHits(), G4PSCellFlux::ProcessHits(), RMC01SD::ProcessHits(), XrayFluoSD::ProcessHits(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), CexmcTrackPoints::ProcessHits(), G4ErrorFreeTrajState::PropagateError(), G4ElectronIonPair::SampleIonsAlongStep(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4ITStepProcessor::SetupMembers(), G4SteppingVerbose::ShowStep(), G4EnergySplitter::SplitEnergyInVolumes(), G4ScoreSplittingProcess::StartTracking(), G4ParallelWorldProcess::StartTracking(), G4SteppingManager::Stepping(), G4ParticleChangeForLoss::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4ParticleChange::UpdateStepForAlongStep(), G4VParticleChange::UpdateStepForAlongStep(), ExN04SteppingAction::UserSteppingAction(), RE01SteppingAction::UserSteppingAction(), RE05SteppingAction::UserSteppingAction(), exrdmSteppingAction::UserSteppingAction(), CCalSteppingAction::UserSteppingAction(), RE04SteppingAction::UserSteppingAction(), B4bSteppingAction::UserSteppingAction(), LXeSteppingAction::UserSteppingAction(), F04SteppingAction::UserSteppingAction(), B1SteppingAction::UserSteppingAction(), B4aSteppingAction::UserSteppingAction(), SteppingAction::UserSteppingAction(), G4MSSteppingAction::UserSteppingAction(), WLSSteppingAction::UserSteppingAction(), PurgMagSteppingAction::UserSteppingAction(), Em10SteppingAction::UserSteppingAction(), CexmcSteppingAction::UserSteppingAction(), DMXSteppingAction::UserSteppingAction(), G4ScoreSplittingProcess::Verbose(), and G4ParallelWorldScoringProcess::Verbose().

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

Definition at line 193 of file G4Step.cc.

Referenced by OpNoviceSteppingAction::UserSteppingAction().

195 {
196  secondaryInCurrentStep->clear();
197  G4int nSecondary = fSecondary->size();
198  for (G4int i=nSecondaryByLastStep; i<nSecondary; i++) {
199  secondaryInCurrentStep->push_back((*fSecondary)[i]);
200  }
201  return secondaryInCurrentStep;
202 }
int G4int
Definition: G4Types.hh:78
G4double G4Step::GetStepLength ( ) const

Referenced by HistoManager::AddTargetStep(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4ErrorEnergyLoss::AlongStepDoIt(), G4NuclearStopping::AlongStepDoIt(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4ContinuousGainOfEnergy::AlongStepDoIt(), G4eLowEnergyLoss::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4BiasingProcessInterface::AlongStepDoIt(), G4VMultipleScattering::AlongStepDoIt(), G4VEnergyLossProcess::AlongStepDoIt(), G4RayTrajectory::AppendStep(), SteppingAction::BirksAttenuation(), G4ITStepProcessor::DoStepping(), G4CellScoreComposer::EstimatorCalculation(), export_G4Step(), G4PSPassageTrackLength::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4VTransitionRadiation::PostStepDoIt(), G4DNABrownianTransportation::PostStepDoIt(), G4ImportanceProcess::PostStepDoIt(), G4WeightWindowProcess::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4BiasingProcessInterface::PostStepDoIt(), G4PSNofStep::ProcessHits(), F02CalorimeterSD::ProcessHits(), G4MultiFunctionalDetector::ProcessHits(), F01CalorimeterSD::ProcessHits(), F03CalorimeterSD::ProcessHits(), Em10CalorimeterSD::ProcessHits(), B4cCalorimeterSD::ProcessHits(), DMXScintSD::ProcessHits(), G4PSTrackLength::ProcessHits(), G4PSCellFlux::ProcessHits(), G4ErrorFreeTrajState::PropagateError(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4EnergySplitter::SplitEnergyInVolumes(), LXeSteppingVerbose::StepInfo(), F04SteppingVerbose::StepInfo(), WLSSteppingVerbose::StepInfo(), OpNoviceSteppingVerbose::StepInfo(), ExN04SteppingVerbose::StepInfo(), SteppingVerbose::StepInfo(), eRositaSteppingVerbose::StepInfo(), FCALSteppingVerbose::StepInfo(), PurgMagSteppingVerbose::StepInfo(), XrayFluoSteppingVerbose::StepInfo(), RE05SteppingVerbose::StepInfo(), ExN02SteppingVerbose::StepInfo(), ExP01SteppingVerbose::StepInfo(), F05SteppingVerbose::StepInfo(), G4SteppingVerbose::StepInfo(), Em10SteppingVerbose::StepInfo(), F01SteppingVerbose::StepInfo(), F03SteppingVerbose::StepInfo(), F02SteppingVerbose::StepInfo(), G4SteppingManager::Stepping(), F04SteppingVerbose::TrackingStarted(), LXeSteppingVerbose::TrackingStarted(), WLSSteppingVerbose::TrackingStarted(), OpNoviceSteppingVerbose::TrackingStarted(), ExN04SteppingVerbose::TrackingStarted(), SteppingVerbose::TrackingStarted(), FCALSteppingVerbose::TrackingStarted(), eRositaSteppingVerbose::TrackingStarted(), XrayFluoSteppingVerbose::TrackingStarted(), PurgMagSteppingVerbose::TrackingStarted(), RE05SteppingVerbose::TrackingStarted(), ExN02SteppingVerbose::TrackingStarted(), ExP01SteppingVerbose::TrackingStarted(), F05SteppingVerbose::TrackingStarted(), Em10SteppingVerbose::TrackingStarted(), G4SteppingVerbose::TrackingStarted(), F03SteppingVerbose::TrackingStarted(), F01SteppingVerbose::TrackingStarted(), F02SteppingVerbose::TrackingStarted(), G4BOptnForceCommonTruncatedExp::UpdateForStep(), B4bSteppingAction::UserSteppingAction(), B4aSteppingAction::UserSteppingAction(), G4MSSteppingAction::UserSteppingAction(), SteppingAction::UserSteppingAction(), CexmcSteppingAction::UserSteppingAction(), G4ScoreSplittingProcess::Verbose(), G4ParallelWorldScoringProcess::Verbose(), and G4EmSaturation::VisibleEnergyDeposition().

G4double G4Step::GetTotalEnergyDeposit ( ) const

Referenced by CML2ExpVoxels::add(), CML2Convergence::add(), HistoManager::AddTargetStep(), G4RichTrajectory::AppendStep(), SteppingAction::BirksAttenuation(), export_G4Step(), G4Scintillation::GetScintillationYieldByParticleType(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), G4ScoreSplittingProcess::PostStepDoIt(), G4Scintillation::PostStepDoIt(), Par01CalorimeterSD::ProcessHits(), ExN04TrackerSD::ProcessHits(), ExN04MuonSD::ProcessHits(), RE05CalorimeterSD::ProcessHits(), RE05MuonSD::ProcessHits(), RE05TrackerSD::ProcessHits(), LXeScintSD::ProcessHits(), B5HodoscopeSD::ProcessHits(), G4HumanPhantomSD::ProcessHits(), ExTGTrackerSD::ProcessHits(), ExGflashSensitiveDetector::ProcessHits(), RE01TrackerSD::ProcessHits(), B5HadCalorimeterSD::ProcessHits(), RE01CalorimeterSD::ProcessHits(), SensitiveDetector::ProcessHits(), B5EmCalorimeterSD::ProcessHits(), ExN02TrackerSD::ProcessHits(), F02CalorimeterSD::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSEnergyDeposit::ProcessHits(), FCALTestbeamSetupSD::ProcessHits(), G4MultiFunctionalDetector::ProcessHits(), ExP01TrackerSD::ProcessHits(), F03CalorimeterSD::ProcessHits(), FCALHadModuleSD::ProcessHits(), F01CalorimeterSD::ProcessHits(), FCALEMModuleSD::ProcessHits(), Em10CalorimeterSD::ProcessHits(), GammaRayTelAnticoincidenceSD::ProcessHits(), GammaRayTelCalorimeterSD::ProcessHits(), GammaRayTelTrackerSD::ProcessHits(), CML2SDWithVoxels::ProcessHits(), B2TrackerSD::ProcessHits(), B4cCalorimeterSD::ProcessHits(), DMXScintSD::ProcessHits(), TargetSD::ProcessHits(), PhantomSD::ProcessHits(), XrayFluoHPGeSD::ProcessHits(), RMC01SD::ProcessHits(), XrayFluoSD::ProcessHits(), CexmcSimpleEnergyDeposit::ProcessHits(), G4SteppingVerbose::ShowStep(), G4EnergySplitter::SplitEnergyInVolumes(), LXeSteppingVerbose::StepInfo(), OpNoviceSteppingVerbose::StepInfo(), ExN04SteppingVerbose::StepInfo(), SteppingVerbose::StepInfo(), eRositaSteppingVerbose::StepInfo(), FCALSteppingVerbose::StepInfo(), XrayFluoSteppingVerbose::StepInfo(), PurgMagSteppingVerbose::StepInfo(), ExN02SteppingVerbose::StepInfo(), RE05SteppingVerbose::StepInfo(), ExP01SteppingVerbose::StepInfo(), F05SteppingVerbose::StepInfo(), Em10SteppingVerbose::StepInfo(), G4SteppingVerbose::StepInfo(), F02SteppingVerbose::StepInfo(), F03SteppingVerbose::StepInfo(), F01SteppingVerbose::StepInfo(), F04SteppingVerbose::TrackingStarted(), LXeSteppingVerbose::TrackingStarted(), OpNoviceSteppingVerbose::TrackingStarted(), ExN04SteppingVerbose::TrackingStarted(), SteppingVerbose::TrackingStarted(), eRositaSteppingVerbose::TrackingStarted(), FCALSteppingVerbose::TrackingStarted(), XrayFluoSteppingVerbose::TrackingStarted(), PurgMagSteppingVerbose::TrackingStarted(), ExN02SteppingVerbose::TrackingStarted(), RE05SteppingVerbose::TrackingStarted(), ExP01SteppingVerbose::TrackingStarted(), F05SteppingVerbose::TrackingStarted(), G4SteppingVerbose::TrackingStarted(), Em10SteppingVerbose::TrackingStarted(), F02SteppingVerbose::TrackingStarted(), F01SteppingVerbose::TrackingStarted(), F03SteppingVerbose::TrackingStarted(), exrdmSteppingAction::UserSteppingAction(), CCalSteppingAction::UserSteppingAction(), FCALSteppingAction::UserSteppingAction(), B4bSteppingAction::UserSteppingAction(), B1SteppingAction::UserSteppingAction(), B4aSteppingAction::UserSteppingAction(), SteppingAction::UserSteppingAction(), Em10SteppingAction::UserSteppingAction(), G4ScoreSplittingProcess::Verbose(), G4ParallelWorldScoringProcess::Verbose(), and G4EmSaturation::VisibleEnergyDeposition().

G4Track* G4Step::GetTrack ( ) const

Referenced by CexmcTrackPointsFilter::Accept(), G4SDParticleFilter::Accept(), CML2ExpVoxels::add(), HistoManager::AddEnergy(), HistoManager::AddTargetStep(), G4VAtomDeexcitation::AlongStepDeexcitation(), G4RichTrajectory::AppendStep(), SteppingAction::BirksAttenuation(), G4DecayWithSpin::DecayIt(), export_G4Step(), G4RichTrajectoryPoint::G4RichTrajectoryPoint(), CexmcTrackPoints::GetTrackId(), G4PSPassageTrackLength::IsPassed(), G4PSPassageCellCurrent::IsPassed(), G4PSPassageCellFlux::IsPassed(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), ExTGTrackerSD::ProcessHits(), eRositaTrackerSD::ProcessHits(), RE01TrackerSD::ProcessHits(), B5DriftChamberSD::ProcessHits(), RE01CalorimeterSD::ProcessHits(), ExN02TrackerSD::ProcessHits(), G4PSCellCharge::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSTermination::ProcessHits(), ExP01TrackerSD::ProcessHits(), G4PSPopulation::ProcessHits(), G4PSMinKinEAtGeneration::ProcessHits(), Em10CalorimeterSD::ProcessHits(), B2TrackerSD::ProcessHits(), CML2SDWithParticle::ProcessHits(), B4cCalorimeterSD::ProcessHits(), DMXScintSD::ProcessHits(), UltraPMTSD::ProcessHits(), CheckVolumeSD::ProcessHits(), G4PSNofSecondary::ProcessHits(), RMC01SD::ProcessHits(), CexmcTrackPoints::ProcessHits(), WLSPhotonDetSD::ProcessHits_constStep(), LXePMTSD::ProcessHits_constStep(), G4ElectronIonPair::ResidualeChargePostStep(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4SteppingVerbose::ShowStep(), G4EnergySplitter::SplitEnergyInVolumes(), G4ErrorGeomVolumeTarget::TargetReached(), G4ParticleChangeForLoss::UpdateStepForAlongStep(), G4ParticleChangeForMSC::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4ParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForDecay::UpdateStepForAtRest(), G4ParticleChange::UpdateStepForAtRest(), G4FastStep::UpdateStepForAtRest(), G4ParticleChangeForGamma::UpdateStepForPostStep(), G4ParticleChangeForLoss::UpdateStepForPostStep(), G4ParticleChange::UpdateStepForPostStep(), G4FastStep::UpdateStepForPostStep(), G4ITReactionChange::UpdateStepInfo(), ExN04SteppingAction::UserSteppingAction(), RE05SteppingAction::UserSteppingAction(), RE01SteppingAction::UserSteppingAction(), exrdmSteppingAction::UserSteppingAction(), OpNoviceSteppingAction::UserSteppingAction(), FCALSteppingAction::UserSteppingAction(), RE04SteppingAction::UserSteppingAction(), F04SteppingAction::UserSteppingAction(), F05SteppingAction::UserSteppingAction(), LXeSteppingAction::UserSteppingAction(), B4bSteppingAction::UserSteppingAction(), B4aSteppingAction::UserSteppingAction(), SteppingAction::UserSteppingAction(), XrayFluoSteppingAction::UserSteppingAction(), WLSSteppingAction::UserSteppingAction(), PurgMagSteppingAction::UserSteppingAction(), Em10SteppingAction::UserSteppingAction(), HadrontherapySteppingAction::UserSteppingAction(), CexmcSteppingAction::UserSteppingAction(), DMXSteppingAction::UserSteppingAction(), IORTSteppingAction::UserSteppingAction(), XrayTelSteppingAction::UserSteppingAction(), G4AdjointSteppingAction::UserSteppingAction(), G4ScoreSplittingProcess::Verbose(), G4ParallelWorldScoringProcess::Verbose(), and G4EmSaturation::VisibleEnergyDeposition().

void G4Step::InitializeStep ( G4Track aValue)
G4bool G4Step::IsFirstStepInVolume ( ) const
G4bool G4Step::IsLastStepInVolume ( ) const
G4TrackVector* G4Step::NewSecondaryVector ( )
G4Step & G4Step::operator= ( const G4Step right)

Definition at line 122 of file G4Step.cc.

References fNonIonizingEnergyDeposit, and fTotalEnergyDeposit.

124 {
125  if (this != &right){
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;
136 
137  if (fpPreStepPoint !=0 ) delete fpPreStepPoint;
138  if (right.fpPreStepPoint !=0) {
139  fpPreStepPoint = new G4StepPoint(*(right.fpPreStepPoint));
140  } else {
141  fpPreStepPoint = new G4StepPoint();
142  }
143  if (fpPostStepPoint !=0 ) delete fpPostStepPoint;
144  if (right.fpPostStepPoint !=0) {
145  fpPostStepPoint = new G4StepPoint(*(right.fpPostStepPoint));
146  } else {
147  fpPostStepPoint = new G4StepPoint();
148  }
149  if (right.fSecondary !=0) {
150  fSecondary = new G4TrackVector(*(right.fSecondary));
151  } else {
152  fSecondary = new G4TrackVector();
153  }
154  }
155  return *this;
156 }
G4double fTotalEnergyDeposit
Definition: G4Step.hh:176
G4double fNonIonizingEnergyDeposit
Definition: G4Step.hh:179
std::vector< G4Track * > G4TrackVector
void G4Step::ResetNonIonizingEnergyDeposit ( )
void G4Step::ResetTotalEnergyDeposit ( )
void G4Step::SetControlFlag ( G4SteppingControl  StepControlFlag)
void G4Step::SetFirstStepFlag ( )
void G4Step::SetLastStepFlag ( )
void G4Step::SetNonIonizingEnergyDeposit ( G4double  value)
void G4Step::SetPointerToVectorOfAuxiliaryPoints ( std::vector< G4ThreeVector > *  theNewVectorPointer)
inline

Definition at line 237 of file G4Step.hh.

Referenced by G4ITStepProcessor::InitDefineStep(), G4SteppingManager::Stepping(), and G4ParticleChangeForTransport::UpdateStepForAlongStep().

237  {
238  fpVectorOfAuxiliaryPointsPointer = theNewVectorPointer;
239  }
void G4Step::SetPostStepPoint ( G4StepPoint value)
void G4Step::SetPreStepPoint ( G4StepPoint value)
void G4Step::SetSecondary ( G4TrackVector value)
void G4Step::SetStepLength ( G4double  value)
void G4Step::SetTotalEnergyDeposit ( G4double  value)
void G4Step::SetTrack ( G4Track value)
void G4Step::UpdateTrack ( )

Field Documentation

G4double G4Step::fNonIonizingEnergyDeposit
protected

Definition at line 179 of file G4Step.hh.

Referenced by operator=().

G4double G4Step::fTotalEnergyDeposit
protected

Definition at line 176 of file G4Step.hh.

Referenced by operator=().


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