|
| G4ParticleChangeForTransport () |
|
virtual | ~G4ParticleChangeForTransport () |
|
virtual G4Step * | UpdateStepForAlongStep (G4Step *Step) |
|
virtual G4Step * | UpdateStepForAtRest (G4Step *Step) |
|
virtual G4Step * | UpdateStepForPostStep (G4Step *Step) |
|
virtual void | Initialize (const G4Track &) |
|
const G4TouchableHandle & | GetTouchableHandle () const |
|
void | SetTouchableHandle (const G4TouchableHandle &fTouchable) |
|
G4Material * | GetMaterialInTouchable () const |
|
void | SetMaterialInTouchable (G4Material *fMaterial) |
|
const G4MaterialCutsCouple * | GetMaterialCutsCoupleInTouchable () const |
|
void | SetMaterialCutsCoupleInTouchable (const G4MaterialCutsCouple *fMaterialCutsCouple) |
|
G4VSensitiveDetector * | GetSensitiveDetectorInTouchable () const |
|
void | SetSensitiveDetectorInTouchable (G4VSensitiveDetector *fSensitiveDetector) |
|
G4bool | GetMomentumChanged () const |
|
void | SetMomentumChanged (G4bool b) |
|
virtual void | DumpInfo () const |
|
void | SetPointerToVectorOfAuxiliaryPoints (std::vector< G4ThreeVector > *theNewVectorPointer) |
|
std::vector< G4ThreeVector > * | GetPointerToVectorOfAuxiliaryPoints () const |
|
Public Member Functions inherited from G4ParticleChange |
| G4ParticleChange () |
|
virtual | ~G4ParticleChange () |
|
G4bool | operator== (const G4ParticleChange &right) const |
|
G4bool | operator!= (const G4ParticleChange &right) const |
|
const G4ThreeVector * | GetMomentumDirection () const |
|
void | ProposeMomentumDirection (G4double Px, G4double Py, G4double Pz) |
|
void | ProposeMomentumDirection (const G4ThreeVector &Pfinal) |
|
const G4ThreeVector * | GetPolarization () const |
|
void | ProposePolarization (G4double Px, G4double Py, G4double Pz) |
|
void | ProposePolarization (const G4ThreeVector &finalPoralization) |
|
G4double | GetEnergy () const |
|
void | ProposeEnergy (G4double finalEnergy) |
|
G4double | GetVelocity () const |
|
void | ProposeVelocity (G4double finalVelocity) |
|
G4double | GetProperTime () const |
|
void | ProposeProperTime (G4double finalProperTime) |
|
const G4ThreeVector * | GetPosition () const |
|
void | ProposePosition (G4double x, G4double y, G4double z) |
|
void | ProposePosition (const G4ThreeVector &finalPosition) |
|
void | ProposeGlobalTime (G4double t) |
|
void | ProposeLocalTime (G4double t) |
|
G4double | GetGlobalTime (G4double timeDelay=0.0) const |
|
G4double | GetLocalTime (G4double timeDelay=0.0) const |
|
G4double | GetMass () const |
|
void | ProposeMass (G4double finalMass) |
|
G4double | GetCharge () const |
|
void | ProposeCharge (G4double finalCharge) |
|
G4double | GetMagneticMoment () const |
|
void | ProposeMagneticMoment (G4double finalMagneticMoment) |
|
G4ThreeVector | GetGlobalPosition (const G4ThreeVector &displacement) const |
|
G4ThreeVector | CalcMomentum (G4double energy, G4ThreeVector direction, G4double mass) const |
|
void | AddSecondary (G4Track *aSecondary) |
|
void | AddSecondary (G4DynamicParticle *aSecondary, G4bool IsGoodForTracking=false) |
|
void | AddSecondary (G4DynamicParticle *aSecondary, G4ThreeVector position, G4bool IsGoodForTracking=false) |
|
void | AddSecondary (G4DynamicParticle *aSecondary, G4double time, G4bool IsGoodForTracking=false) |
|
virtual G4bool | CheckIt (const G4Track &) |
|
Public Member Functions inherited from G4VParticleChange |
| G4VParticleChange () |
|
virtual | ~G4VParticleChange () |
|
G4bool | operator== (const G4VParticleChange &right) const |
|
G4bool | operator!= (const G4VParticleChange &right) const |
|
G4double | GetTrueStepLength () const |
|
void | ProposeTrueStepLength (G4double truePathLength) |
|
G4double | GetLocalEnergyDeposit () const |
|
void | ProposeLocalEnergyDeposit (G4double anEnergyPart) |
|
G4double | GetNonIonizingEnergyDeposit () const |
|
void | ProposeNonIonizingEnergyDeposit (G4double anEnergyPart) |
|
G4TrackStatus | GetTrackStatus () const |
|
void | ProposeTrackStatus (G4TrackStatus status) |
|
G4SteppingControl | GetSteppingControl () const |
|
void | ProposeSteppingControl (G4SteppingControl StepControlFlag) |
|
G4bool | GetFirstStepInVolume () const |
|
G4bool | GetLastStepInVolume () const |
|
void | ProposeFirstStepInVolume (G4bool flag) |
|
void | ProposeLastStepInVolume (G4bool flag) |
|
void | Clear () |
|
void | SetNumberOfSecondaries (G4int totSecondaries) |
|
G4int | GetNumberOfSecondaries () const |
|
G4Track * | GetSecondary (G4int anIndex) const |
|
void | AddSecondary (G4Track *aSecondary) |
|
G4double | GetWeight () const |
|
G4double | GetParentWeight () const |
|
void | ProposeWeight (G4double finalWeight) |
|
void | ProposeParentWeight (G4double finalWeight) |
|
void | SetSecondaryWeightByProcess (G4bool) |
|
G4bool | IsSecondaryWeightSetByProcess () const |
|
void | SetParentWeightByProcess (G4bool) |
|
G4bool | IsParentWeightSetByProcess () const |
|
void | SetVerboseLevel (G4int vLevel) |
|
G4int | GetVerboseLevel () const |
|
void | ClearDebugFlag () |
|
void | SetDebugFlag () |
|
G4bool | GetDebugFlag () const |
|
G4Step * G4ParticleChangeForTransport::UpdateStepForAlongStep |
( |
G4Step * |
Step | ) |
|
|
virtual |
Reimplemented from G4ParticleChange.
Definition at line 131 of file G4ParticleChangeForTransport.cc.
References G4StepPoint::AddGlobalTime(), G4StepPoint::AddLocalTime(), G4StepPoint::AddPolarization(), G4StepPoint::AddPosition(), G4StepPoint::AddProperTime(), G4ParticleChange::CalcMomentum(), G4ParticleChange::CheckIt(), G4VParticleChange::debugFlag, energy(), G4Track::GetDynamicParticle(), G4StepPoint::GetKineticEnergy(), G4StepPoint::GetLocalTime(), G4DynamicParticle::GetMass(), G4StepPoint::GetMomentum(), G4StepPoint::GetPolarization(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4StepPoint::GetProperTime(), G4Step::GetTrack(), G4ParticleChange::isVelocityChanged, CLHEP::Hep3Vector::mag(), G4Step::SetControlFlag(), G4StepPoint::SetKineticEnergy(), G4StepPoint::SetMomentumDirection(), G4Step::SetPointerToVectorOfAuxiliaryPoints(), G4StepPoint::SetVelocity(), G4ParticleChange::theEnergyChange, G4ParticleChange::theMomentumDirectionChange, G4ParticleChange::thePolarizationChange, G4ParticleChange::thePositionChange, G4ParticleChange::theProperTimeChange, G4VParticleChange::theSteppingControlFlag, G4ParticleChange::theTimeChange, and G4ParticleChange::theVelocityChange.
135 pStep->SetPointerToVectorOfAuxiliaryPoints(fpVectorOfAuxiliaryPointsPointer);
151 G4StepPoint* pPreStepPoint = pStep->GetPreStepPoint();
152 G4StepPoint* pPostStepPoint = pStep->GetPostStepPoint();
153 G4Track* aTrack = pStep->GetTrack();
163 if (isMomentumChanged) {
174 if( tMomentum > 0. ){
175 G4double inv_Momentum= 1.0 / tMomentum;
176 direction= pMomentum * inv_Momentum;
void AddGlobalTime(const G4double aValue)
G4double theProperTimeChange
void AddPosition(const G4ThreeVector &aValue)
const G4DynamicParticle * GetDynamicParticle() const
G4ThreeVector GetMomentum() const
G4ThreeVector CalcMomentum(G4double energy, G4ThreeVector direction, G4double mass) const
void AddLocalTime(const G4double aValue)
G4double GetLocalTime() const
void AddPolarization(const G4ThreeVector &aValue)
void SetMomentumDirection(const G4ThreeVector &aValue)
G4ThreeVector thePositionChange
G4ThreeVector thePolarizationChange
double precision function energy(A, Z)
const G4ThreeVector & GetPosition() const
G4SteppingControl theSteppingControlFlag
virtual G4bool CheckIt(const G4Track &)
G4ThreeVector theMomentumDirectionChange
void SetVelocity(G4double v)
G4double theVelocityChange
G4double GetProperTime() const
G4double GetKineticEnergy() const
void SetKineticEnergy(const G4double aValue)
const G4ThreeVector & GetPolarization() const
void AddProperTime(const G4double aValue)