Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4StepPoint Class Reference

#include <G4StepPoint.hh>

Public Member Functions

 G4StepPoint ()
 
 ~G4StepPoint ()
 
 G4StepPoint (const G4StepPoint &)
 
G4StepPointoperator= (const G4StepPoint &)
 
const G4ThreeVectorGetPosition () const
 
void SetPosition (const G4ThreeVector &aValue)
 
void AddPosition (const G4ThreeVector &aValue)
 
G4double GetLocalTime () const
 
void SetLocalTime (const G4double aValue)
 
void AddLocalTime (const G4double aValue)
 
G4double GetGlobalTime () const
 
void SetGlobalTime (const G4double aValue)
 
void AddGlobalTime (const G4double aValue)
 
G4double GetProperTime () const
 
void SetProperTime (const G4double aValue)
 
void AddProperTime (const G4double aValue)
 
const G4ThreeVectorGetMomentumDirection () const
 
void SetMomentumDirection (const G4ThreeVector &aValue)
 
void AddMomentumDirection (const G4ThreeVector &aValue)
 
G4ThreeVector GetMomentum () const
 
G4double GetTotalEnergy () const
 
G4double GetKineticEnergy () const
 
void SetKineticEnergy (const G4double aValue)
 
void AddKineticEnergy (const G4double aValue)
 
G4double GetVelocity () const
 
void SetVelocity (G4double v)
 
G4double GetBeta () const
 
G4double GetGamma () const
 
G4VPhysicalVolumeGetPhysicalVolume () const
 
const G4VTouchableGetTouchable () const
 
const G4TouchableHandleGetTouchableHandle () const
 
void SetTouchableHandle (const G4TouchableHandle &apValue)
 
G4MaterialGetMaterial () const
 
void SetMaterial (G4Material *)
 
const G4MaterialCutsCoupleGetMaterialCutsCouple () const
 
void SetMaterialCutsCouple (const G4MaterialCutsCouple *)
 
G4VSensitiveDetectorGetSensitiveDetector () const
 
void SetSensitiveDetector (G4VSensitiveDetector *)
 
G4double GetSafety () const
 
void SetSafety (const G4double aValue)
 
const G4ThreeVectorGetPolarization () const
 
void SetPolarization (const G4ThreeVector &aValue)
 
void AddPolarization (const G4ThreeVector &aValue)
 
G4StepStatus GetStepStatus () const
 
void SetStepStatus (const G4StepStatus aValue)
 
const G4VProcessGetProcessDefinedStep () const
 
void SetProcessDefinedStep (const G4VProcess *aValue)
 
G4double GetMass () const
 
void SetMass (G4double value)
 
G4double GetCharge () const
 
void SetCharge (G4double value)
 
G4double GetMagneticMoment () const
 
void SetMagneticMoment (G4double value)
 
void SetWeight (G4double aValue)
 
G4double GetWeight () const
 

Detailed Description

Definition at line 68 of file G4StepPoint.hh.

Constructor & Destructor Documentation

◆ G4StepPoint() [1/2]

G4StepPoint::G4StepPoint ( )

Definition at line 48 of file G4StepPoint.cc.

50 : fGlobalTime(0.), fLocalTime(0.), fProperTime(0.),
51 fKineticEnergy(0.), fVelocity(0.), fpTouchable(0), fpMaterial(0),
52 fpMaterialCutsCouple(0), fpSensitiveDetector(0), fSafety(0.),
53 fStepStatus(fUndefined),fpProcessDefinedStep(0),
54 fMass(0.), fCharge(0.), fMagneticMoment(0.),
55 fWeight(0.)
56{
57}
@ fUndefined
Definition: G4StepStatus.hh:66

◆ ~G4StepPoint()

G4StepPoint::~G4StepPoint ( )
inline

Definition at line 79 of file G4StepPoint.hh.

79{}

◆ G4StepPoint() [2/2]

G4StepPoint::G4StepPoint ( const G4StepPoint right)

Definition at line 60 of file G4StepPoint.cc.

60 :
61//////////////////////////
62 fPosition(right.fPosition),
63 fGlobalTime(right.fGlobalTime),
64 fLocalTime(right.fLocalTime),
65 fProperTime(right.fProperTime),
66 fMomentumDirection(right.fMomentumDirection),
67 fKineticEnergy(right.fKineticEnergy),
68 fVelocity(right.fVelocity),
69 fpTouchable(right.fpTouchable),
70 fpMaterial(right.fpMaterial),
71 fpMaterialCutsCouple(right.fpMaterialCutsCouple),
72 fpSensitiveDetector(right.fpSensitiveDetector),
73 fSafety(right.fSafety),
74 fPolarization(right.fPolarization),
75 fStepStatus(right.fStepStatus),
76 fpProcessDefinedStep(right.fpProcessDefinedStep),
77 fMass(right.fMass),
78 fCharge(right.fCharge),
79 fMagneticMoment(right.fMagneticMoment),
80 fWeight(right.fWeight)
81{
82}

Member Function Documentation

◆ AddGlobalTime()

◆ AddKineticEnergy()

void G4StepPoint::AddKineticEnergy ( const G4double  aValue)

◆ AddLocalTime()

◆ AddMomentumDirection()

void G4StepPoint::AddMomentumDirection ( const G4ThreeVector aValue)

◆ AddPolarization()

◆ AddPosition()

◆ AddProperTime()

◆ GetBeta()

G4double G4StepPoint::GetBeta ( ) const

◆ GetCharge()

◆ GetGamma()

G4double G4StepPoint::GetGamma ( ) const

◆ GetGlobalTime()

◆ GetKineticEnergy()

◆ GetLocalTime()

◆ GetMagneticMoment()

G4double G4StepPoint::GetMagneticMoment ( ) const

◆ GetMass()

G4double G4StepPoint::GetMass ( ) const

◆ GetMaterial()

◆ GetMaterialCutsCouple()

const G4MaterialCutsCouple * G4StepPoint::GetMaterialCutsCouple ( ) const

◆ GetMomentum()

◆ GetMomentumDirection()

◆ GetPhysicalVolume()

◆ GetPolarization()

◆ GetPosition()

const G4ThreeVector & G4StepPoint::GetPosition ( ) const

Referenced by G4VAtomDeexcitation::AlongStepDeexcitation(), G4VEnergyLossProcess::AlongStepDoIt(), G4VMultipleScattering::AlongStepDoIt(), G4SmoothTrajectory::AppendStep(), G4ITStepProcessor::CalculateSafety(), G4VMscModel::ComputeGeomLimit(), G4AdjointCrossSurfChecker::CrossingAGivenRegisteredSurface(), G4AdjointCrossSurfChecker::CrossingASphere(), G4DecayWithSpin::DecayIt(), G4ITStepProcessor::DoStepping(), G4DNASmoluchowskiReactionModel::FindReaction(), G4VReadOutGeometry::FindROTouchable(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4ScoreSplittingProcess::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4OpWLS::PostStepDoIt(), G4VTransitionRadiation::PostStepDoIt(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4ErrorFreeTrajState::PropagateError(), G4ElectronIonPair::SampleIonsAlongStep(), G4VEnergyLossProcess::SampleSubCutSecondaries(), G4SteppingVerbose::ShowStep(), G4SteppingManager::Stepping(), G4ParticleChange::UpdateStepForAlongStep(), G4ParticleChangeForTransport::UpdateStepForAlongStep(), G4ParallelWorldScoringProcess::Verbose(), and G4ScoreSplittingProcess::Verbose().

◆ GetProcessDefinedStep()

◆ GetProperTime()

◆ GetSafety()

◆ GetSensitiveDetector()

◆ GetStepStatus()

◆ GetTotalEnergy()

G4double G4StepPoint::GetTotalEnergy ( ) const

◆ GetTouchable()

const G4VTouchable * G4StepPoint::GetTouchable ( ) const

Referenced by G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), 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(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4ImportanceProcess::PostStepDoIt(), G4WeightCutOffProcess::PostStepDoIt(), G4WeightWindowProcess::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4PSCellFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4PSPassageCellFlux::ProcessHits(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4ParallelWorldScoringProcess::Verbose(), and G4ScoreSplittingProcess::Verbose().

◆ GetTouchableHandle()

◆ GetVelocity()

◆ GetWeight()

◆ operator=()

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

Definition at line 85 of file G4StepPoint.cc.

86{
87 if (this != &right) {
88 fPosition = right.fPosition;
89 fGlobalTime = right.fGlobalTime;
90 fLocalTime = right.fLocalTime;
91 fProperTime = right.fProperTime;
92 fMomentumDirection = right.fMomentumDirection;
93 fKineticEnergy = right.fKineticEnergy;
94 fVelocity = right.fVelocity;
95 fpTouchable = right.fpTouchable;
96 fpMaterial = right.fpMaterial;
97 fpMaterialCutsCouple = right.fpMaterialCutsCouple;
98 fpSensitiveDetector = right.fpSensitiveDetector;
99 fSafety = right.fSafety;
100 fPolarization = right.fPolarization;
101 fStepStatus = right.fStepStatus;
102 fpProcessDefinedStep = right.fpProcessDefinedStep;
103 fMass = right.fMass;
104 fCharge = right.fCharge;
105 fMagneticMoment = right.fMagneticMoment;
106 fWeight = right.fWeight;
107 }
108 return *this;
109}

◆ SetCharge()

◆ SetGlobalTime()

◆ SetKineticEnergy()

◆ SetLocalTime()

◆ SetMagneticMoment()

◆ SetMass()

◆ SetMaterial()

void G4StepPoint::SetMaterial ( G4Material )

◆ SetMaterialCutsCouple()

void G4StepPoint::SetMaterialCutsCouple ( const G4MaterialCutsCouple )

◆ SetMomentumDirection()

◆ SetPolarization()

◆ SetPosition()

◆ SetProcessDefinedStep()

◆ SetProperTime()

◆ SetSafety()

◆ SetSensitiveDetector()

◆ SetStepStatus()

◆ SetTouchableHandle()

◆ SetVelocity()

◆ SetWeight()


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